Cisco NCS 5500 Series Configuration Manual page 15

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

Advertisement

Implementing BGP
Example:
RP/0/RP0/CPU0:router(config)# route-policy drop-as-1234
RP/0/RP0/CPU0:router(config-rpl)# if as-path passes-through '1234' then
RP/0/RP0/CPU0:router(config-rpl)# apply check-communities
RP/0/RP0/CPU0:router(config-rpl)# else
RP/0/RP0/CPU0:router(config-rpl)# pass
RP/0/RP0/CPU0:router(config-rpl)# endif
(Optional) Creates a route policy and enters route policy configuration mode, where you can define the route policy.
Step 3
end-policy
Example:
RP/0/RP0/CPU0:router(config-rpl)# end-policy
(Optional) Ends the definition of a route policy and exits route policy configuration mode.
Step 4
commit
Step 5
configure
Step 6
router bgp as-number
Example:
RP/0/RP0/CPU0:router(config)# router bgp 120
Specifies the BGP AS number and enters the BGP configuration mode, allowing you to configure the BGP routing
process.
Step 7
bgp router-id ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp)# bgp router-id 192.168.70.24
Configures the local router with a specified router ID.
Step 8
address-family { ipv4 | ipv6 } unicast
Example:
RP/0/RP0/CPU0:router(config-bgp)# address-family ipv4 unicast
Specifies either the IPv4 or IPv6 address family 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 9
exit
Example:
RP/0/RP0/CPU0:router(config-bgp-af)# exit
Exits the current configuration mode.
Step 10
neighbor ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp)# neighbor 172.168.40.24
BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x
Enable BGP Routing
5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents