How does set metric-type internal (bgp) work?

i can't realise how the command "set metric-type internal " to work.
bgp announce to ebgp use the igp next-hop metric as the med.
the igp means only isis?
does ospf use it ?
will you tell me how to use it ? give me an example . thinks

Hi,
This command can be used into two different contexts:
1- Redistribution into ISIS
When you are redistributing routes into ISIS, you have the choice to set the metric-type as internal (between 0 and 64) or external (between 65 and 128)
Internal metric are always prefer over external metric
2- Set the MED to reflect IGP cost to the NH on eBGP updates
You are receiving an iBGP update and before sending it to your eBGP peers, you want the MED for that prefix set to your IGP cost to the iBGP peer announcing this prefix.
In this case the IGP can be anything.
This command is not necessary if you are redistributing the route into BGP directly instead of receiving them from iBGP. In such case, the MED reflects by default the IGP cost of the redistributed prefix.
HTH
Laurent.

Similar Messages

  • How to set security type for lenovo working with hotspot?

    How to set wireless security type for lenovo laptop working with hotspot?
    Since I can connect with the other laptops except this brand.

    //add related mutip-part to combine parts
    MimeMultipart multipart = new MimeMultipart("related");
    //attach a pdf
    messageBodyPart = new MimeBodyPart();
    fds = new FileDataSource("h:/something.pdf");
    messageBodyPart.setDataHandler(new DataHandler(fds));
    messageBodyPart.setFileName(fds.getName());
    multipart.addBodyPart(messageBodyPart);
    //add multipart to the message
    message.setContent(multipart);
    //send message
    Transport.send(message);

  • How does the Concurrent Access License (CAL) work.

    Description from Google: How does the Concurrent Access License (CAL) work? Xcelsius Engage Server CALs allow for concurrent live data updates inside Xcelsius dashboards. Every time an end-user triggers a Web service inside an Xcelsius dashboard to retrieve live data, a CAL is consumed for a period of 5 minutes. For that period, in a five CAL deployment for example, there will be only four CALs left for consumption. A five CAL deployment could support up to 25 users and additional CALs can be added to support a larger deployment.
    My question is as follows:
    How a five CAL deployment could support up to 25 users and what does it mean. In the first line it is saying that each CAL for a web service is consumed for a period of 5 minutes and how come it can support 25 users concurrently. Did it mean 25 web service connections inside a swf flash file or 25 different users to access a single web service through swf flash.

    The "Set cost controls" concurrent program is used in R12 to mass update the cost control fields on item costs.
    The cost control region is found by going to Cost management >Item costs > Item Costs
    The concurrent program lets you specify which items /costs should be updated by using various parameters such as cost type, item range, category range etc.
    And you can specify the source for the new cost control data and the new value for the fields.
    Hope this answers your question,
    Sandeep Gandhi

  • How to set field type choice using csom (c#)

    I have a field type: Choice (menu to choose from) which is not multichoice. How do I set a value?
    I have found code for multiple choice but it doesn't seem to work for single choice.

    Hi,
    The following code snippet for your reference:
    newListItem["ChoiceFieldName"] = "ChoiceValue";
    newListItem.Update();
    clientContext.Load(newListItem);
    clientContext.ExecuteQuery();
    If you are assigning a Value which is not in the Choice Column, You need to create a choice value then assign it to the item.
    More information is here:
    http://sharepoint.stackexchange.com/questions/124999/how-to-set-field-type-choice-using-csom-c
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How does RFC adapter with EO/EOIO work? Kindly help!

    Hi Experts,
            How does a sender or receiver RFC adapter works when QOS is EO or EOIO (Async)? In other words, for EOIO, are the messages are queued? How does this queueing work? Does it use FIFO logic? where do we specify the max limit of messages that can be queued?
    Also what is the significance of 'Initial connection' and 'maximum connections' in communication channel? I have given the default value 1 for both. What should be the ideal value and why?
    In my Async RFC - XI scenario sometimes XI is able to receive the messages but sometimes it doesnot even though the sender system is UP and running.
    I cannot see any messages in SXMB_MONI even though the sender has sent the messade.
    Why RFC adapter is behaving like this? What could be the issue?
    Kindly help!

    EOIO: How does this queueing work? Does it use FIFO logic?
    >> yes it uses FIFO logic in EOIO.
    Also what is the significance of 'Initial connection' and 'maximum connections' in communication channel? I have given the default value 1 for both. What should be the ideal value and why?
    >>>noof rfc connections we are using for connecting to XI to RFC minmum is 1 maximum is 50 bydefault. you increase this value by changing the default setting.
    How does RFC adapter with EO/EOIO work? Kindly help!
    Posted: Mar 21, 2007 4:15 AM 
    Hi Experts,
    How does a sender or receiver RFC adapter works when QOS is EO or EOIO (Async)? In other words, for EOIO, are the messages are queued? How does this queueing work? Does it use FIFO logic? where do we specify the max limit of messages that can be queued?
    Also what is the significance of 'Initial connection' and 'maximum connections' in communication channel? I have given the default value 1 for both. What should be the ideal value and why?
    Why RFC adapter is behaving like this? What could be the issue?
    >>check ur sender RFC adapter. chekc whether data is sent from RFC . see logs in R/3.

  • How to set a PDF to expire (Working Script)

    Here is a little script I made up the other night. You can use it to allow a PDF to be opened only until a set date. I use this for when my employees go to service a customer. I want them to be able to see the customer's information, but only for 24 to 48 hours.<br /><br />CheckExpiration()<br /><br />function CheckExpiration()<br />{<br />/*-----START EDIT-----*/<br />var LastDay = 21<br />var LastMonth = 3<br />var LastYear = 2008<br />/*-----END EDIT-------*/<br /><br />/* DO NOT EDIT PAST HERE !!! */<br />var today = new Date();<br />var myDate=new Date();<br />LastMonth = LastMonth - 1<br />myDate.setFullYear(LastYear,LastMonth,LastDay);<br /><br />if (myDate<today)<br />  {<br />    this.closeDoc(1);<br />    app.alert("This files has expired.",1,0,"Expired");<br />  }<br />}

    Here's a slightly different method, but it works..... (and, there is certainly no 'work around' for anyone to get data you don't want them to get!)
    <br />
    <br />It uses the Action on Open (sorry, I don't know the 'official' name of this - I'll describe it below..) in the pdf to send the user to a server checking mechanism (in this case, a date checker - but you could do the same thing with lots of stuff...)
    <br />
    <br />Here's how I set it up and it works great!
    <br />
    <br />1. Start a new document that you can get a form field into (don't use LiveDesign for this - that's too fancy... - just make a document in Word that says ______ then print to pdf to get a nice simple pdf that you can edit directly in Acrobat)
    <br />
    <br />2. Do a 'Run Form Field Recognition' and Acrobat will find the blank as a field.
    <br />
    <br />3. Edit this field to have a "key" name (my example, I will use "today" which tells me this is the day that my document starts).
    <br />
    <br />4. Under the 'Options' tab, make a Default Value of today's date (this will be the 'test against' date - for my example I'm showing how to expire a document in 30 days from creation date, but you could use anything you like - it is simple to modify!)
    <br />
    <br />5. From the 'Format' tab, use the Select format category of Date. Use a date format you like (my example uses mm/dd/yyyy) Note that this MUST match the server side code described later).
    <br />
    <br />6. For a 'live' document, you may want to go to the General tab and make the field Hidden as well as other things to not see the 'false' page, but that is outside the scope of this example.
    <br />
    <br />OK, now on to setting up the document to automatically send this info to your server for testing...
    <br />
    <br />1. Go to the 'Pages' view (click on the icon at the top left)
    <br />2. right-click on the page, select Page Properties.
    <br />3. Under the 'Actions' tab, select "Page Open" and "Submit a form" from the drop down boxes.
    <br />4. Enter a URL to your web page (see below) that does the checking (like http://mytestdomain.com/Scripts/checkexpiredate.php so it is easy to remember)
    <br />5. Check the HTML radio button.
    <br />6. Check the 'Only these...' button and then 'Select fields'. Make sure your "key" field is checked as well as the 'Include Selected' button (sometimes, for me, these weren't - I don't know why, so check it!)
    <br />
    <br />Now, on to the server side...
    <br />
    <br />Here's the code that goes into the php server file;
    <br />
    <br /><?php<br />$day = date("d");<br />$month = date("m");<br />$year = date("Y");<br />$today = substr($_REQUEST["today"],3,2);<br />$tomonth = substr($_REQUEST["today"],0,2);<br />$toyear = substr($_REQUEST["today"],6,4);<br />  $tsp = mktime(0, 0, 0, $month, $day, $year);<br />  $tsd = mktime(0, 0, 0, $tomonth, $today, $toyear);<br />  $xdays = ($tsp - $tsd)/(24*60*60);  // as calculated from dates<br />$maxdays = 30; //set this to whatever your 'expire from today' date is<br />if ($xdays >= $maxdays)<br /> //do what you like to tell the user it is expired<br />else<br /> //show the info you want them to see<br />?>
    <br />
    <br />i (the info shown (or not) is outside the scope of this message, this is just a 'one way to make this work' example. In my system, I use a program called fpdf [http://fpdf.org] to create the pdf from 'scratch', building it to show the reader what I want them to see - whether it is a "Sorry, this is expired" document, or the data that they came for if the time hasn't expired.)
    <br />
    <br />THAT'S IT!!! It works great and you can use it to do tons of stuff - just set the "key" on the original document and make the server code check whatever it is you want!
    <br />
    <br />Pretty cool, I think! (and, it only took me, a novice programmer, about 3 hours to figure it all out!)
    <br />
    <br />Best of success with it - enjoy!

  • I download itext  for convert jsp to PDF. How to set content type for PDF.

    I download itext for convert jsp to PDF. How to set content type for PDF. I try
    <%@ page contentType = "application/pdf;charset=TIS-620" %>
    , but the page does not PDF.
    Thank.

    PDF files are usually binary files, JSPs are not well-suited for binary content.
    (If you download the result of your JSP you'll see that it is not a valid PDF file; it will have probably a lot of whitespace and linefeeds, that will choke your PDF reader.). The first few characters must be
    "%PDF-" without whitespace.
    You can try using PDF files encoded as text - check if you can use text-encoded PDFs in iText.
    Try using a Servlet instead.

  • How does the search functon/input box work?

    How does the search functon/input box work?
    Hi
    my level is beginner
    there is a search box on the upper right hand on this page
    frames in gey ?
    how does this work.
    does this search in the database?
    if i would want to create this in an application
    what can i do ?
    are there CF examples??

    Thanks
    search against a database : Are there a function of Cf ta
    tags/code to do this? is this CFquery / and Cfoutput?
    or
    do a Verity search of a collection. How is this dont by? CF
    submit a search to an external search engine like Google.
    oh, is this when a page has a search and when the user types in
    there text in the input box it automatically goes to the google
    search. any articles on how to do this in CF
    Thanks

  • How does one get the Satellite to work in Google Maps ?

    How does one get the Satellite to work in google maps ?

    I am experiencing exactly the same issue - iMac, 10.6.8.  Thanks for reporting it - I thought I was going nuts.  What happens from here?  Does Apple watch these postings?  Do we just hope that they find the bug themselves?  Is there a vehicle for reporting bugs directly to Apple?
    Thanks in advance.

  • How to set up the internal camara to chat

    how to set up the internal camara for video chating

    click on FaceTime and follow the instructions on screen.  If you want to video chat with non Mac users, you might try Skype.

  • How does creative cloud for Enterprises licensing works?

    how does creative cloud for Enterprises licensing works? witch is the method of verification of keys?
    how does it works with active directory?

    There is no difference please be aware that each login is provided with two activations however.  If you wish to have a computer at both work and home activated though that is perfectly fine as long as your employer is ok with using company software at home.

  • HT4061 How does the find my phone app work?

    How does the find my phone app work?

    Welcome to Apple Support Communities
    The Find my iPhone app allows you to track all your devices with Find my iPhone (iPad, iPod or Mac) turned on. To enable Find my iPhone, open Settings > iCloud and turn on "Find my iPhone", so you will be able to track your iPhone through the application.

  • I've misplaced my 4S. How does the 'find my phone' feature work?  Thx

    I've misplaced my 4S. How does the 'find my phone' feature work?  Thx

    If your iphone is on and you turned on the find my iphone feature on the iphone itself, then youc an go to icloud.com and see if you can locate it.

  • How does the Web AS Cache refresh work?

    Hi,
    How does the Web AS Cache refresh work?
    I search a guide for Information about this.
    Can anybody help me?
    Thanks.
    Regards.
    Stefan

    hi stefan...
    Cache is nothing but a buffer kinda where all the recently accessed data r stored.
    so sometimes even after making changes u access the page the old data/page is displayed...
    so Web AS cache works as a normal refresh deleting all the recently accessed data/pages...
    it clears or frees ur memory so tht no irrelevant data is obtained...
    for further details, refer to google search... " Web AS Cache Refresh in SAP-Xi"
    /message/514186#514186 [original link is broken] (dont go at the topic name)
    regards..
    vishal
    Message was edited by: vishal prabhakar

  • How to set task type of a task in MS Project using excel vba code.

    Hello Gurus,
    I am generating MS Project files(.mpp) files form excel data. An excel macro in the excel file will read the excel data and will generate the .mpp file. It is working fine. now i want to set the task type of all the tasks to "Fixed work" from excel
    vba code.
    How to use the property PjTaskFixedType in setting the task type??
    refer below links
    http://msdn.microsoft.com/en-us/library/office/ff861713.aspx
    http://msdn.microsoft.com/en-us/library/office/ff864157.aspx
    Can someone help me in setting task type property from excel vba.
    I have attached my sample code used to generate the mpp file. It is not the complete code but you will get an idea from it.
    Set pjApp = CreateObject("MSProject.Application")
    pjApp.FileNew
    Set newproj = pjApp.ActiveProject
    newproj.Tasks.Add (task_name)
    newproj.Tasks(mpp_row_number).Start = task_start_date
    newproj.Tasks(mpp_row_number).Finish = task_end_date
    newproj.Tasks(mpp_row_number).ResourceNames = resource_name
    pjApp.FileSaveAs mpp_file_save_path & mpp_file_name & ".mpp"
    pjApp.FileClose
    pjApp.Quit
    Any help is appreciated.

    Hi Syamku,
    A simple example that sets the task type:
    ActiveProject.Tasks(2).Type = pjFixedDuration
    ActiveProject.Tasks(3).Type = pjFixedUnits
    ActiveProject.Tasks(4).Type = pjFixedWork
    http://msdn.microsoft.com/en-us/library/office/ff860469(v=office.15).aspx
    Hope this helps

Maybe you are looking for

  • Need to assign follow up activities to Service Quotations

    Hi All, can any one give me soluton on Need to assign follow up activities to Service Quotations (Create Service Quotation type "ZAV"...transaction code VA21. Need quotes to print out 90 days before service is due again in the following year. Thanks

  • Use of ethernet port stopped working

    I use my Airport Express to connect to my existing wireless network (an Airport Extreme Base Station). For over a year I've been using the ethernet port on the express to connect to my Playstation 2 so I can play video games over the internet and it'

  • Bug in Sytem 9.0 HBR

    Hi All, I was trying to select a runtime prompt in HBR, which is a number. when I select it for the first time it allows me to run it. when I try the second it was giving me an error,however if I use double quotes, it runs properly. did anyone face s

  • Eliminating Leading Zeros for Input

    Hello, I am very new to the world of Netweaver Portals and Web Dynpro, so please have some patience. I have created an application in Web Dynpro which will display the Stock Requirements for a Material.  Everything is working fine with the exception

  • Problem opening elements 9 organizer..it says "Runtime Error!" . How do you overcome?

    On going problem. When I try to go to "Organize" in Elements 9 I get a window saying: Microsoft Visual C++Runtime Library Runtime Error! Program: C:/Program File... The application has requested the Runtime to terminate it in an unusual way. Please c