Cisco NCS 5500 Series Configuration Manual page 47

Bgp configuration ios xr
Hide thumbs Also See for NCS 5500 Series:
Table of Contents

Advertisement

Implementing BGP
Places the router in neighbor group configuration mode.
Step 6
remote-as as-number
Example:
RP/0/RP0/CPU0:router(config-bgp-nbrgrp)# remote-as 2002
Creates a neighbor and assigns a remote autonomous system number to it.
Step 7
address-family { ipv4 | ipv6 } unicast
Example:
RP/0/RP0/CPU0:router(config-bgp-nbrgrp)# address-family ipv4 unicast
Specifies either an IPv4 or IPv6 address family unicast and enters address family configuration submode.
To see a list of all the possible keywords and arguments for this command, use the CLI help (?).
Step 8
route-policy route-policy-name { in | out }
Example:
RP/0/RP0/CPU0:router(config-bgp-nbrgrp-af)# route-policy drop-as-1234 in
(Optional) Applies the specified policy to inbound IPv4 unicast routes.
Step 9
exit
Example:
RP/0/RP0/CPU0:router(config-bgp-nbrgrp-af)# exit
Exits the current configuration mode.
Step 10
exit
Example:
RP/0/RP0/CPU0:router(config-bgp-nbrgrp)# exit
Exits the current configuration mode.
Step 11
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.
Step 12
use neighbor-group group-name
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)# use neighbor-group nbr-grp-A
(Optional) Specifies that the BGP neighbor inherit configuration from the specified neighbor group.
Step 13
remote-as as-number
BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x
Configure BGP Neighbor Group and Neighbors
37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents