Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-107
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Step 6
address-family {ipv4 | ipv6} unicast
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf)#
address-family ipv4 unicast
Enters VPN address family configuration mode.
Step 7
network {ip-address/prefix-length | ip-address
mask}
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-af)#
network 172.16.5.5
Originates a network prefix in the address family table in
the VRF context.
Step 8
aggregate-address address/mask-length
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-af)#
aggregate-address 10.0.0.0/24
Configures aggregation in the VRF address family context
to summarize routing information to reduce the state
maintained in the core. This summarization introduces
some inefficiency in the PE edge, because an additional
lookup is required to determine the ultimate next hop for a
packet. When configured, a summary prefix is advertised
instead of a set of component prefixes, which are more
specifics of the aggregate. The PE advertises only one label
for the aggregate. Because component prefixes could have
different next hops to CEs, an additional lookup has to be
performed during data forwarding.
Step 9
exit
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-af)# exit
Exits the current configuration mode.
Step 10
neighbor ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf)# neighbor
10.0.0.0
Configures a CE neighbor. The ip-address argument must
be a private address.
Step 11
remote-as as-number
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-nbr)#
remote-as 2
Configures the remote AS for the CE neighbor.
Step 12
password {clear | encrypted} password
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-nbr)#
password encrypted 234xyz
Enable Message Digest 5 (MD5) authentication on a TCP
connection between two BGP neighbors.
Step 13
ebgp-multihop [ttl-value]
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-nbr)#
ebgp-multihop 55
Configures the CE neighbor to accept and attempt BGP
connections to external peers residing on networks that are
not directly connected.
Command or Action Purpose