
2.
router bgp as-number
3.
address-family
{
ipv4
|
ipv6
}
unicast
4.
table-policy
policy-name
5.
commit
DETAILED STEPS
Purpose
Command 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/RP0/CPU0:router(config)# router bgp 120.6
Step 2
Specifies either the IPv4 or IPv6 address family and enters
address family configuration submode.
address-family
{
ipv4
|
ipv6
}
unicast
Example:
Step 3
To see a list of all the possible keywords and arguments for
this command, use the CLI help (?).
RP/0/RP0/CPU0:router(config-bgp)# address-family
ipv4 unicast
Applies the specified policy to routes being installed into
the routing table.
table-policy
policy-name
Example:
Step 4
RP/0/RP0/CPU0:router(config-bgp-af)# table-policy
tbl-plcy-A
commit
Step 5
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
Purpose
Command or Action
configure
Step 1
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
61
Implementing BGP
Setting BGP Administrative Distance