
4.
network
{
ip-address
/
prefix-length
|
ip-address mask
}
backdoor
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
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
Configures the local router to originate and advertise the
specified network.
network
{
ip-address
/
prefix-length
|
ip-address mask
}
backdoor
Example:
Step 4
RP/0/RP0/CPU0:router(config-bgp-af)# network
172.20.0.0/16
commit
Step 5
Configuring Aggregate Addresses
Perform this task to create aggregate entries in a BGP routing table.
SUMMARY STEPS
1.
configure
2.
router bgp as-number
3.
address-family
{
ipv4
|
ipv6
}
unicast
4.
aggregate-address
address/mask-length
[
as-set
] [
as-confed-set
] [
summary-only
] [
route-policy
route-policy-name
]
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
56
Implementing BGP
Configuring Aggregate Addresses