Implementing BGP
2. router bgp as-number
3. address-family { ipv4 | ipv6 } unicast
4. table-policy policy-name
5. commit
DETAILED STEPS
Command or Action
Step 1
configure
Step 2
router bgp as-number
Example:
RP/0/RP0/CPU0:router(config)# router bgp 120.6
Step 3
address-family { ipv4 | ipv6 } unicast
Example:
RP/0/RP0/CPU0:router(config-bgp)# address-family
ipv4 unicast
Step 4
table-policy policy-name
Example:
RP/0/RP0/CPU0:router(config-bgp-af)# table-policy
tbl-plcy-A
Step 5
commit
Setting BGP Administrative Distance
Perform this task to specify the use of administrative distances that can be used to prefer one class of route
over another.
SUMMARY STEPS
1. configure
2. router bgp as-number
3. address-family { ipv4 | ipv6 } unicast
4. distance bgp external-distance internal-distance local-distance
5. commit
DETAILED STEPS
Command or Action
Step 1
configure
Purpose
Specifies the autonomous system number and enters the
BGP configuration mode, allowing you to configure the
BGP routing process.
Specifies either the IPv4 or IPv6 address family and enters
address family configuration submode.
To see a list of all the possible keywords and arguments for
this command, use the CLI help (?).
Applies the specified policy to routes being installed into
the routing table.
Purpose
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
Setting BGP Administrative Distance
61