Reference Guide

Disable redistributed routes
OS10(conf-router-bgp-af)# no redistribute ospf route-map ospf-to-bgp
Enable redistributed routes
OS10(conf-router-bgp-af)# redistribute ospf
Additional paths
The add-path command is disabled by default.
1 Assign an AS number in CONFIGURATION mode.
router bgp as-number
2 Enter Address Family mode in ROUTER-BGP mode.
address-family {[ipv4 | ipv6] [unicast])
3 Allow the advertisement of multiple paths for the same address prex without the new paths replacing any previous ones in ROUTER-
BGP-NEIGHBOR-AF mode (2 to 64).
add-path [both | received | send] count
4 Enter a neighbor and IP address (A.B.C.D) in ROUTER-BGP mode.
neighbor ip-address
5 Enter Address Family mode in ROUTER-NEIGHBOR mode.
address-family {[ipv4 | ipv6] [unicast])
6 Allow the specied neighbor to send or receive multiple path advertisements in ROUTER-BGP mode. The count parameter controls
the number of paths that are advertised — not the number of paths received.
add-path [both | received | send] count
Enable additional paths
OS10(config)# router bgp 102
OS10(conf-router-bgp-102)# address-family ipv4 unicast
OS10(conf-router-bgpv4-af)# add-path send 2
OS10(conf-router-bgpv4-af)# exit
OS10(conf-router-bgp-102)# neighbor 32.1.1.2
OS10(conf-router-neighbor)# address-family ipv4 unicast
OS10(conf-router-bgp-neighbor-af)# add-path both 3
MED attributes
OS10 uses the MULTI_EXIT_DISC or MED attribute when comparing EBGP paths from the same AS. MED comparison is not performed in
paths from neighbors with dierent AS numbers.
1 Enable MED comparison in the paths from neighbors with dierent AS in ROUTER-BGP mode.
always-compare-med
2 Change the best path MED selection in ROUTER-BGP mode.
bestpath med {confed | missing-as-best}
confed—Selects the best path MED comparison of paths learned from BGP confederations.
missing-as-bestTreats a path missing an MED as the most preferred one.
missing-as-worstTreats a path missing an MED as the least preferred one.
3 Save the conguration.
do commit
212
Layer 3