IPI-BGP-INSTANCE
Configure no external fail over
Use this attribute to reset a BGP session immediately, if the interface used for BGP connection goes down.
Attribute Name: no-external-fail-over
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
</no-external-fail-over><!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
no bgp fast-external-failover
Configure no best path tie break
Use this attribute to always select a preferred older route even when the bestpathCompareRouterId attribute is configured
Attribute Name: no-best-path-tie-break
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
</no-best-path-tie-break><!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
no bgp bestpath tie-break-on-age
Configure inbound route filter enable
Use this attribute to enable the MPLS (Multiprotocol Label Switching) VPN/BGP inbound route filter. This attribute is used to control the installation of routing information into the BGP table. When a router runs MPLS VPN/BGP PE, it exchanges routing information with a routing distinguisher. By default, routing information that does not match the configured routing distinguisher value is not installed. When the local box has two VRFs where each routing distinguisher value is 10:100 and 20:200, routing information with routing distinguisher 10:200 is not installed into BGP table.
Attribute Name: inbound-route-filter-enable
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
</inbound-route-filter-enable><!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
no bgp inbound-route-filter
Configure no client route reflection
Use this attribute to configure routers as route reflectors. Route reflectors are used when all Interior Border Gateway Protocol (iBGP) speakers are not fully meshed. If the clients are fully meshed the route reflector is not required
Attribute Name: no-client-route-reflection
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
</no-client-route-reflection><!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
no bgp client-to-client reflection
Configure med type
Use this attribute to specify two MED (Multi Exit Discriminator) attributes, confed and missing-as-worst. The confed attribute enables MED comparison along paths learned from confederation peers. The MEDs are compared only if there is no external Autonomous System (an AS not within the confederation) in the path. If there is an external autonomous system in the path, the MED comparison is not made. The missing-as-worst to consider a missing MED attribute in a path as having a value of infinity, making the path without a MED value the least desirable path. If missing-as-worst is disabled, the missing MED is assigned the value of 0,making the path with the missing MED attribute the best path.
Attribute Name: med-type
Attribute Type: bits (confed|missing-as-worst|remove-recv-med|remove-send-med)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<med-type>3</med-type> <!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp bestpath med (confed) missing-as-worst
Configure bgp as
Use this attribute to specify two MED (Multi Exit Discriminator) attributes, confed and missing-as-worst. The confed attribute enables MED comparison along paths learned from confederation peers. The MEDs are compared only if there is no external Autonomous System (an AS not within the confederation) in the path. If there is an external autonomous system in the path, the MED comparison is not made. The missing-as-worst to consider a missing MED attribute in a path as having a value of infinity, making the path without a MED value the least desirable path. If missing-as-worst is disabled, the missing MED is assigned the value of 0,making the path with the missing MED attribute the best path.
Attribute Name: med-type
Attribute Type: bits (confed|missing-as-worst|remove-recv-med|remove-send-med)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<med-type>3</med-type> <!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp bestpath med (missing-as-worst) confed
Configure source ip prefix
Use this attribute to set the administrative distance for ip source prefix.
Attribute Name: source-ip-prefix
Attribute Type: string
Attribute Name: distance
Attribute Type: uint8
Attribute Range: 1-255
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<administrative-distance> <!-- operation="delete"-->
<source-ip-prefix>A.B.C.D/M</source-ip-prefix>
<config>
<source-ip-prefix>A.B.C.D/M</source-ip-prefix>
<distance>1</distance>
</config>
</administrative-distance>
</bgp-instance>
</bgp>
Command Syntax
distance <1-255> A.B.C.D/M
Configure access list name
Use this attribute to define an administrative distance along with ip source prefix and access list name.
Attribute Name: access-list-name
Attribute Type: string
Attribute Name: distance
Attribute Type: uint8
Attribute Range: 1-255
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<administrative-distance>
<source-ip-prefix>A.B.C.D/M</source-ip-prefix>
<config>
<source-ip-prefix>A.B.C.D/M</source-ip-prefix>
<distance>1</distance>
</config>
<access-list-name>WORD</access-list-name>
</administrative-distance>
</bgp-instance>
</bgp>
Command Syntax
distance <1-255> A.B.C.D/M WORD
Configure router id
Use this attribute to manually configure a fixed router ID as a BGP router identifier. When this attribute is used to configure a fixed router ID, the current router identifier is overridden and the peers are reset.
Attribute Name: router-id
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<router-id>A.B.C.D</router-id> <!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp router-id A.B.C.D
Configure cluster id
Use this attribute to configure the cluster ID if the BGP cluster has more than one route reflector. A cluster includes route reflectors and its clients. Usually, each cluster is identified by the router ID of its single route reflector but to increase redundancy sometimes a cluster may have more than one route reflector. All router reflectors in such a cluster are then identified by a cluster ID. The clusterId attribute is used to configure the 4 byte cluster ID for clusters with more than one route reflectors in an IPv4 address format.
Attribute Name: cluster-id
Attribute Type: union
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<cluster-id>BGP_CLUSTER_ID_T</cluster-id>
</bgp-instance>
</bgp>
Command Syntax
bgp cluster-id (A.B.C.D|<1-4294967295>)
Configure local preference
Use this attribute to change the default local preference value. Local preference indicates the preferred path when there are multiple paths to the same destination. The path having a higher preference is preferred. The preference is sent to all routers and access servers in the local autonomous system.
Attribute Name: local-preference
Attribute Type: uint32
Default Value: 100
Attribute Range: 0-4294967295
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<local-preference>0</local-preference> <!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp default local-preference <0-4294967295>
Configure graceful shutdown
Use this attribute to gracefully shut down all BGP IPv4 sessions under this router. The BGP graceful shutdown feature reduces packet loss during maintenance activity.
Attribute Name: graceful-shutdown
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
</graceful-shutdown><!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp g-shut
Configure graceful shutdown capable
Use this attribute to enable the graceful shutdown capability at the router level and make available the graceful-shutdown related attributes at the router and BGP neighbor levels.
Attribute Name: graceful-shutdown-capable
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
</graceful-shutdown-capable><!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp g-shut-capable
Configure graceful shutdown local preference
Use this attribute to set the local preference of the router to use during graceful shutdown. The local preference value indicates the preferred path when there are multiple paths to the same destination in a single routing database. The path with a higher preference value is the preferred one. The preferred path is sent to all routers and access servers in the local autonomous system.
Attribute Name: graceful-shutdown-local-preference
Attribute Type: uint32
Default Value: 0
Attribute Range: 0-4294967295
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<graceful-shutdown-local-preference>0</graceful-shutdown-local-preference> <!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp g-shut-local-preference <0-4294967295>
Configure log neighbor changes
Use this attribute to enable logging of status change messages without turning on debug bgp attributes. Product has many logging services for neighbor status, including debug bgp fsm and debug bgp events. However, these attributes cause system performance degradation. If you need to log neighbor status changes only, IP Infusion Inc. recommends turning off all debug attributes and using the setLogNbrChanges attribute instead.
Attribute Name: log-neighbor-changes
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
</log-neighbor-changes><!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp log-neighbor-changes
Configure scan interval
Use this attribute to configure scanning intervals of BGP routers. This interval is the period after which router checks the validity of the routes in its database. To disable BGP scanning, set the scan-time interval to 0 seconds.
Attribute Name: scan-interval
Attribute Type: uint32
Default Value: 60
Attribute Range: 0-60
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<scan-interval>0</scan-interval> <!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp scan-time <0-60>
Configure best path dont compare originator
Use this attribute to change the default bestpath selection by not comparing an originator-ID for an identical EBGP path
Attribute Name: best-path-dont-compare-originator
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
</best-path-dont-compare-originator><!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp bestpath dont-compare-originator-id
Configure enable deterministic med
Use this attribute to compare the Multi Exit Discriminator (MED) variable when choosing among routes advertised by different peers in the same autonomous system. MED is compared after BGP attributes weight, local preference, AS-path and origin have been compared and are equal. For a correct comparison result, enable this attribute on all routers in a local AS. After enabling this attribute, all paths for the same prefix are grouped together and arranged according to their MED value. Based on this comparison, the best path is then chosen. This attribute compares MED variable when choosing routes advertised by different peers in the same AS, to compare MED, when choosing routes from neighbors in different ASs use the compareMed attribute. When the deterministicMed attribute is set, routes from the same AS are grouped together, and the best routes of each group are compared.
Attribute Name: enable-deterministic-med
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
</enable-deterministic-med><!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp deterministic-med
Configure enforce first as for ebgp
Use this attribute to enforce the first AS for eBGP routes. This attribute specifies that any updates received from an external neighbor that do not have the neighbors configured Autonomous System (AS) at the beginning of the AS_PATH in the received update must be denied. Enabling this feature adds to the security of the BGP network by not allowing traffic from unauthorized systems.
Attribute Name: enforce-first-as-for-ebgp
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
</enforce-first-as-for-ebgp><!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp enforce-first-as
Configure local as count
Use this attribute to set the number of times the local-AS (Autonomous System) is to be prepended.
Attribute Name: local-as-count
Attribute Type: uint8
Attribute Range: 2-64
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<local-as-count>2</local-as-count> <!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp as-local-count <2-64>
Configure multi path relax
Use this attribute to relax the same AS-Path requirement so any candidate eBGP AS-Path with the same AS-path length might be used for eBGP load-balancing. This feature does not load-balance between eBGP and iBGP paths. Normally eBGP load-balancing requires the candidate routes to be equal-cost paths with identical BGP attributes having the same weight, Local-Pref, AS-Path (both the AS numbers and the AS pathlength), origin, MED, and different next-hop.
Attribute Name: multi-path-relax
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
</multi-path-relax><!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp bestpath as-path multipath-relax
Configure enable mpls nexthop tracking
Use this attribute to enable mpls nexthop address tracking. MPLS Nexthop address tracking is an event-driven notification system that monitors the status of LSP installed in the NSM and reports changes that affect internal BGP (iBGP) or external BGP (eBGP) prefixes directly to theBGP process. This improves the overall BGP convergence time, by allowing BGP to respond rapidly to nexthop changes for FTN installed in the NSM. If MPLS nexthop tracking is enabled after certain routes are learned, the registration of all nexthops for selected BGP routes is done after the mpls nexthop tracking feature is enabled. If MPLS nexthop tracking is disabled, and if there are still some selected BGP routes, BGP de-registers the nexthops of all selected BGP routes from NSM.
Attribute Name: enable-mpls-nexthop-tracking
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
</enable-mpls-nexthop-tracking><!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
mpls-nexthop-tracking
Configure ignore aigp for bestpath
Use this config to ignore aigp attr in BGP best-path selection alogorithm.
Attribute Name: ignore-aigp-for-bestpath
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
</ignore-aigp-for-bestpath><!-- operation="delete"-->
</bgp-instance>
</bgp>
Command Syntax
bgp bestpath aigp ignore
Configure identifier
Use this attribute to specify a BGP confederation identifier
Attribute Name: identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<confederation>
<config>
<identifier>1</identifier> <!-- operation="delete"-->
</config>
</confederation>
</bgp-instance>
</bgp>
Command Syntax
bgp confederation identifier <1-4294967295>
Configure peer as number
Use this attribute to specify peer AS number in BGP confederation
Attribute Name: peer-as-number
Attribute Type: uint32
Attribute Range: 1-4294967295
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<confederation>
<config>
<peer-as-number>1</peer-as-number> <!-- operation="delete"-->
</config>
</confederation>
</bgp-instance>
</bgp>
Command Syntax
bgp confederation peers .<1-4294967295>
Configure enable graceful restart
Use this attribute to enable BGP graceful-restart capabilities. The restart-time parameter is used for setting the maximum time that a graceful-restart neighbor waits to come back up after a restart. This value is applied to all neighbors unless you explicitly override it by configuring the corresponding value on the neighbor. The stalepath-time parameter is used to set the maximum time to preserve stale paths from a gracefully restarted neighbor. All stalepaths, unless reinstated by the neighbor after a re-establishment, will be deleted at the expiration of this timer.
Attribute Name: enable-graceful-restart
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<graceful-restart>
<config>
</enable-graceful-restart><!-- operation="delete"-->
</config>
</graceful-restart>
</bgp-instance>
</bgp>
Command Syntax
bgp graceful-restart
Configure restart time
Use this attribute to enable BGP graceful-restart capabilities. The restart-time parameter is used for setting the maximum time that a graceful-restart neighbor waits to come back up after a restart. This value is applied to all neighbors unless you explicitly override it by configuring the corresponding value on the neighbor.
Attribute Name: restart-time
Attribute Type: uint32
Default Value: 90
Attribute Range: 1-3600
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<graceful-restart>
<config>
<restart-time>1</restart-time> <!-- operation="delete"-->
</config>
</graceful-restart>
</bgp-instance>
</bgp>
Command Syntax
bgp graceful-restart restart-time <1-3600>
Configure stale path max retention time
Use this attribute to enable BGP graceful-restart capabilities. The stalepath-time parameter is used to set the maximum time to preserve stale paths from a gracefully restarted neighbor. All stalepaths, unless reinstated by the neighbor after a re-establishment, will be deleted at the expiration of this timer.
Attribute Name: stale-path-max-retention-time
Attribute Type: uint32
Default Value: 360
Attribute Range: 1-3600
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<graceful-restart>
<config>
<stale-path-max-retention-time>1</stale-path-max-retention-time> <!-- operation="delete"-->
</config>
</graceful-restart>
</bgp-instance>
</bgp>
Command Syntax
bgp graceful-restart stalepath-time <1-3600>
Configure route selection max defer time
Use this attribute to specify the update-delay value for a graceful-restart capable router. The update-delay value is the maximum time a graceful-restart capable router, which is restarting, will defer route-selection and advertisements to all its graceful-restart capable neighbors. This maximum time starts from the instance the first neighbor attains established state after restart. The restarting router prematurely terminates this timer when end-of-rib markers are received from all its graceful-restart capable neighbors.
Attribute Name: route-selection-max-defer-time
Attribute Type: uint32
Default Value: 120
Attribute Range: 1-3600
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<graceful-restart>
<config>
<route-selection-max-defer-time>1</route-selection-max-defer-time> <!-- operation="delete"-->
</config>
</graceful-restart>
</bgp-instance>
</bgp>
Command Syntax
bgp update-delay <1-3600>
Configure graceful reset
Use this attribute to enable BGP graceful-restart capabilities. The restart-time parameter is used for setting the maximum time that a graceful-restart neighbor waits to come back up after a restart. This value is applied to all neighbors unless you explicitly override it by configuring the corresponding value on the neighbor.
Attribute Name: graceful-reset
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<graceful-restart>
<config>
</graceful-reset><!-- operation="delete"-->
</config>
</graceful-restart>
</bgp-instance>
</bgp>
Command Syntax
bgp graceful-restart graceful-reset
Configure keep alive
Use this attribute to globally set or reset the keepalive values for all the neighbors
Attribute Name: keep-alive
Attribute Type: uint16
Attribute Range: 0-65535
Attribute Name: hold-time
Attribute Type: uint16
Attribute Range: 0-65535
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<timers>
<config>
<hold-time>0</hold-time>
<keep-alive>0</keep-alive>
</config>
</timers>
</bgp-instance>
</bgp>
Command Syntax
timers bgp <0-65535> <0-65535>
Configure always compare med
Use this attribute to compare the Multi Exit Discriminator (MED) for paths from neighbors in different autonomous systems. Multi Exit Discriminator (MED) is used in best path selection by BGP. MED is compared after BGP attributes weight, local preference, AS-path and origin have been compared and are equal. MED comparison is done only among paths from the same autonomous system (AS). Use compareMed attribute to allow comparison of MEDs from different ASs. The MED parameter is used to select the best path. A path with lower MED is preferred.
Attribute Name: always-compare-med
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<route-selection>
<config>
</always-compare-med><!-- operation="delete"-->
</config>
</route-selection>
</bgp-instance>
</bgp>
Command Syntax
bgp always-compare-med
Configure ignore as path length
Use this attribute to prevent the router from considering the autonomous system (AS) path length as a factor in the algorithm for choosing a best path route.
Attribute Name: ignore-as-path-length
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<route-selection>
<config>
</ignore-as-path-length><!-- operation="delete"-->
</config>
</route-selection>
</bgp-instance>
</bgp>
Command Syntax
bgp bestpath as-path ignore
Configure best path compare confed
Use this attribute to allow comparing of the confederation AS path length. This attribute specifies that the AS confederation path length must be used when available in the BGP best path decision process. It is effective only when bestpathAspath attribute has not been used.
Attribute Name: best-path-compare-confed
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<route-selection>
<config>
</best-path-compare-confed><!-- operation="delete"-->
</config>
</route-selection>
</bgp-instance>
</bgp>
Command Syntax
bgp bestpath compare-confed-aspath
Configure external compare router id
Use this attribute to compare router IDs for identical eBGP paths. When comparing similar routes from peers, the BGP router does not consider the router ID of the routes. By default, it selects the first received route. Use this attribute to include router ID in the selection process; similar routes are compared and the route with the lowest router ID is selected. The router IS is the highest IP address on the router, with preference given to loopback addresses. Router ID can be manually set by using the routerIpAddr attribute.
Attribute Name: external-compare-router-id
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<route-selection>
<config>
</external-compare-router-id><!-- operation="delete"-->
</config>
</route-selection>
</bgp-instance>
</bgp>
Command Syntax
bgp bestpath compare-routerid
Configure all routes
Use this attribute to allocate label to all the advertised routes
This command is supported when following feature are enabled bgp lu feature
Attribute Name: all-routes
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<allocate-label>
<config>
</all-routes><!-- operation="delete"-->
</config>
</allocate-label>
</bgp-instance>
</bgp>
Command Syntax
allocate-label all
Configure route map name
Use this attribute to allocate label to those advertised routes that match route-map.
This command is supported when following feature are enabled bgp lu feature
Attribute Name: route-map-name
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<allocate-label>
<config>
<route-map-name>WORD</route-map-name> <!-- operation="delete"-->
</config>
</allocate-label>
</bgp-instance>
</bgp>
Command Syntax
allocate-label route-map WORD