PurposeCommand or Action
Exits the current configuration mode.exit
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-af)# exit
Step 9
Configures a CE neighbor. The ip-address argument must be a
private address.
neighbor ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf)#
neighbor 10.0.0.0
Step 10
Configures the remote AS for the CE neighbor.
remote-as as-number
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-nbr)#
remote-as 2
Step 11
Enable Message Digest 5 (MD5) authentication on a TCP
connection between two BGP neighbors.
password { clear | encrypted } password
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-nbr)#
password encrypted 234xyz
Step 12
Configures the CE neighbor to accept and attempt BGP connections
to external peers residing on networks that are not directly
connected.
ebgp-multihop [ ttl-value ]
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-nbr)#
ebgp-multihop 55
Step 13
Specifies either an IPv4 or IPv6 address family unicast and enters
address family configuration submode.
Do one of the following:
Step 14
•
address-family { ipv4 | ipv6 } unicast
To see a list of all the possible keywords and arguments for this
command, use the CLI help (?).
•
address-family {ipv4 {unicast |
labeled-unicast} | ipv6 unicast}
Example:
RP/0/RP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Configures the site-of-origin (SoO) extended community. Routes
that are learned from this CE neighbor are tagged with the SoO
site-of-origin [ as-number : nn | ip-address : nn ]
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-nbr-af)#
site-of-origin 234:111
Step 15
extended community before being advertised to the rest of the PEs.
SoO is frequently used to detect loops when as-override is
configured on the PE router. If the prefix is looped back to the
same site, the PE detects this and does not send the update to the
CE.
BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x
112
Implementing BGP
Configuring a VPN Routing and Forwarding Instance in BGP