PurposeCommand or Action
Specifies either the IPv4 or IPv6 address family and enters
address family configuration submode.
address-family { ipv4 | ipv6 } unicast
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
address-family ipv4 unicast
Step 5
To see a list of all the possible keywords and arguments for
this command, use the CLI help (?).
Assigns a weight to all routes learned through the neighbor.
weight weight-value
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
weight 41150
Step 6
commit
Step 7
Tuning the BGP Best-Path Calculation
Perform this task to change the default BGP best-path calculation behavior.
SUMMARY STEPS
1.
configure
2.
router bgp as-number
3.
bgp bestpath med missing-as-worst
4.
bgp bestpath med always
5.
bgp bestpath med confed
6.
bgp bestpath as-path ignore
7.
bgp bestpath compare-routerid
8.
commit
DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Specifies the autonomous system number and enters the BGP
configuration mode, allowing you to configure the BGP
routing process.
router bgp as-number
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 126
Step 2
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
84 OL-30423-03
Implementing BGP
Tuning the BGP Best-Path Calculation