Configuration Examples For Implementing Bgp; Enabling Bgp: Example - Cisco NCS 6000 Series Configuration Manual

Ios xr release 6.4.x
Hide thumbs Also See for NCS 6000 Series:
Table of Contents

Advertisement

Implementing BGP
Command or Action
Step 3
address-family {ipv4 | ipv6} unicast
Example:
RP/0/RP0/CPU0:router(config-vrf)#address-family
ipv6 unicast
Step 4
Use one of these options:
• import from default-vrf route-policy
route-policy-name [advertise-as-vpn]
• export to default-vrf route-policy
route-policy-name
Example:
RP/0/RP0/CPU0:router(config-vrf-af)#import from
default-vrf route-policy rpl_dynamic_route_import
or
RP/0/RP0/CPU0:router(config-vrf-af)#export to
default-vrf route-policy rpl_dynamic_route_export
Step 5
commit
What to do next
These show bgp command output displays information from the dynamic route leaking configuration:
• Use the show bgp prefix command to display the source-RD and the source-VRF for imported paths,
• Use the show bgp imported-routes command to display IPv4 unicast and IPv6 unicast address-families

Configuration Examples for Implementing BGP

This section provides the following configuration examples:

Enabling BGP: Example

The following shows how to enable BGP.
prefix-set static
end-set
including the cases when IPv4 or IPv6 unicast prefixes have imported paths.
under the default-VRF.
2020::/64,
2012::/64,
10.10.0.0/16,
10.2.0.0/24
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
Configuration Examples for Implementing BGP
Purpose
Enters VRF address-family configuration mode.
Imports routes from default-VRF to non-default VRF or
from non-default VRF to default-VRF.
• import from default-vrf—configures import from
default-VRF to non-default-VRF.
If the advertise-as-vpn option is configured, the paths
imported from the default-VRF to the non-default-VRF
are advertised to the PEs as well as to the CEs. If the
advertise-as-vpn option is not configured, the paths
imported from the default-VRF to the non-default-VRF
are not advertised to the PE. However, the paths are
still advertised to the CEs.
• export to default-vrf—configures import from
non-default-VRF to default VRF. The paths imported
from the default-VRF are advertised to other PEs.
89

Advertisement

Table of Contents
loading

Table of Contents