Cisco NCS 5500 Series Configuration Manual page 115

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

Advertisement

Implementing BGP
SUMMARY STEPS
1. configure
2. router bgp as-number
3. bgp router-id ip-address
4. vrf vrf-name
5. rd { as-number : nn | ip-address : nn | auto }
6. Do one of the following:
DETAILED STEPS
Step 1
configure
Step 2
router bgp as-number
Example:
RP/0/RP0/CPU0:router(config)# router bgp 120
Enters BGP configuration mode allowing you to configure the BGP routing process.
Step 3
bgp router-id ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp)# bgp router-id 10.0.0.0
Configures a fixed router ID for the BGP-speaking router.
Step 4
vrf vrf-name
Example:
RP/0/RP0/CPU0:router(config-bgp)# vrf vrf_pe
Configures a VRF instance.
Step 5
rd { as-number : nn | ip-address : nn | auto }
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf)# rd 345:567
Configures the route distinguisher.
Use the auto keyword if you want the router to automatically assign a unique RD to the VRF.
Automatic assignment of RDs is possible only if a router ID is configured using the bgp router-id command in router
configuration mode. This allows you to configure a globally unique router ID that can be used for automatic RD generation.
The router ID for the VRF does not need to be globally unique, and using the VRF router ID would be incorrect for
automatic RD generation. Having a single router ID also helps in checkpointing RD information for BGP graceful restart,
because it is expected to be stable across reboots.
• end
• commit
BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x
Configuring a VPN Routing and Forwarding Instance in BGP
105

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents