Cisco Cisco Packet Data Gateway (PDG)

Seite von 453
BGP MPLS VPNs   
▀  VPN-Related CLI Commands 
 
 
▄  ASR 5000 System Administration Guide, StarOS Release 18 
322 
   
VPN-Related CLI Commands  
VPN-related features and functions are supported across several CLI command modes. The following tables identify 
commands associated with configuration and monitoring of VPN-related functions. 
For detailed information regarding the use of the commands listed below, see the Command Line Interface Reference
Table 41.  VPN-Related Configuration Commands 
CLI Mode
 
Command
 
Description
 
BGP Address-Family 
(IPv4/IPv6) 
Configuration Mode 
neighbor ip_address activate
 
Enables the exchange of routing information with a peer router. 
BGP Address-Family 
(IPv4/IPv6) 
Configuration Mode 
neighbor ip_address send 
community { both | extended | 
standard }
 
Sends the community attributes to a peer router (neighbor). 
BGP Address-Family 
(IPv4/IPv6) 
Configuration Mode 
redistribute connected
 
Redistributes routes into BGP from another protocol as BGP 
neighbors. 
BGP Address-Family 
(VPNv4) 
Configuration Mode 
neighbor ip_address activate
 
Enables the exchange of routing information with a peer router. 
BGP Address-Family 
(VPNv4) 
Configuration Mode 
neighbor ip_address send 
community { both | extended | 
standard }
 
Sends the extended-community attribute to a peer router. In 
VPN, route-distinguisher and route-target are encoded in the 
BGP extended-community. This command enables sending of 
BGP routes with extended community to a neighbor. 
BGP Address-Family 
(VRF) Configuration 
Mode 
neighbor ip_address activate
 
Enables the exchange of routing information with a peer router. 
BGP Address-Family 
(VRF) Configuration 
Mode 
neighbor ip_address send 
community { both | extended | 
standard }
 
Sends the extended-community attribute to a peer router. In 
VPN, route-distinguisher and route-target are encoded in the 
BGP extended-community. This command enables sending of 
BGP routes with extended community to a neighbor. 
BGP Address-Family 
(VRF) Configuration 
Mode 
redistribute connected
 
Redistributes routes into BGP from another protocol as BGP 
neighbors. 
BGP Configuration 
Mode 
address-family { ipv4 vrf 
vrf_name | vpnv4 }
 
Enables the exchange of IPv4 VRF routing information. There 
is a different mode for each address-family. 
BGP Configuration 
Mode 
address-family { ipv6 vrf 
vrf_name | vpnv6 }
 
Configures a VPNv6 address family and IPv6 VRF routing in 
BGP. 
BGP Configuration 
Mode 
ip vrf vrf_name
 
Adds a VRF to BGP and switches to the VRF Configuration 
mode to allow configuration of BGP attributes for the VRF.