Specifies The Ipv4 Address And Subnet Mask For The Interface; Ipv4-Address Specifies The Ip Address Of The Interface; Subnet-Mask Specifies The Subnet Mask Of The Interface; Step 2 - Cisco CRS Configuration Manual

Ios xr virtual private network
Hide thumbs Also See for CRS:
Table of Contents

Advertisement

Configuring L3VPN over GRE

Step 2

vrf vrf-name
Example:
RP/0/RP0/CPU0:router(config)# vrf vpn1
Configures a VRF instance.
Step 3
address-family { ipv4 | ipv6 } unicast
Example:
RP/0/RP0/CPU0:router(config-vrf)# address-family { ipv4 | ipv6 } unicast
Specifies either the IPv4 or IPv6 address family and enters address family configuration submode.
Step 4
import route-target [ as-number:nn | ip-address:nn ]
Example:
RP/0/RP0/CPU0:router(config-vrf)# import route-target 2:1
Specifies a list of route target (RT) extended communities. Only prefixes that are associated with the specified import
route target extended communities are imported into the VRF.
Step 5
export route-target [ as-number:nn | ip-address:nn ]
Example:
RP/0/RP0/CPU0:router(config-vrf)# export route-target 1:1
Specifies a list of route target extended communities. Export route target communities are associated with prefixes when
they are advertised to remote PEs. The remote PEs import them into VRFs which have import RTs that match these
exported route target communities.
Step 6
interface type interface-path-id
Example:
RP/0/RP0/CPU0:router(config)# interface TenGigE0/2/0/0.1
Enters interface configuration mode and configures an interface.
Step 7
vrf vrf-name
Example:
RP/0/RP0/CPU0:router(config-if)# vrf vpn1
Configures a VRF instance.
Step 8
ipv4 address ipv4-address subnet-mask
Example:
RP/0/RP0/CPU0:router(config-if)# ipv4 address 150.1.1.1 255.255.255.0

Specifies the IPv4 address and subnet mask for the interface.

• ipv4-address specifies the IP address of the interface.

• subnet-mask specifies the subnet mask of the interface.

Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x
258
Implementing MPLS Layer 3 VPNs

Advertisement

Table of Contents
loading

Table of Contents