Implementing BGP on Cisco IOS XR Software
How to Implement BGP on CiscoIOS XR Software
RC-117
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Step6 exit
Example:
RP/0/RP0/CPU0:router(config-bgp-af)# exit
Exits the current configuration mode.
Step7 neighbor ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Places the router in neighbor configuration mode for BGP
routing and configures the neighbor IP address as a BGP
peer.
Step8 remote-as as-number
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)# remote-as
2002
Creates a neighbor and assigns a remote autonomous
system number to it.
Step9 address-family {ipv4 unicast | ipv4 multicast |
ipv4 labeled-unicast | ipv4 tunnel | ipv6
unicast | ipv6 multicast | ipv6 labeled-unicast
| vpnv4 unicast | vpnv6 unicast}
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)#
address-family ipv4 unicast
Enters neighbor address family configuration mode for the
specified address family.
Step10 route-policy route-policy-name {in | out}
Example:
RP/0/RP0/CPU0:router(config-bgp-af)#
route-policy pe_ce_out_policy out
Specifies a routing policy for an outbound route. The policy
can be used to filter routes or modify route attributes.
Step11 exit
Example:
RP/0/RP0/CPU0:router(config-bgp-af)# exit
Exits the current configuration mode.
Step12 address-family ipv4 mdt
Example:
RP/0/RP0/CPU0:router(config-bgp)#
address-family ipv4 mdt
Specifies the multicast distribution tree (MDT) address
family.
Command or Action Purpose