Configuration Examples for Point to Point Layer 2 Services
Configuration Examples for Point to Point Layer 2 Services
In the following example, two traffic classes are created and their match criteria are defined. For the first
traffic class called class1, ACL 101 is used as the match criterion. For the second traffic class called class2,
ACL 102 is used as the match criterion. Packets are checked against the contents of these ACLs to determine
if they belong to the class.
This section includes the following configuration examples:
L2VPN Interface Configuration: Example
This example shows how to configure an L2VPN interface:
configure
interface TenGigE 0/0/0/0.1 l2transport
encapsulation dot1q 1
end
Point-to-Point Cross-connect Configuration: Examples
This section includes configuration examples for both static and dynamic p2p cross-connects.
Static Configuration
This example shows how to configure a static point-to-point cross-connect:
configure
l2vpn
xconnect group vlan_grp_1
p2p vlan1
interworking ipv4
interface TenGigE 0/0/0/0.1
neighbor 2.2.2.2 pw-id 2000
Dynamic Configuration
This example shows how to configure a dynamic point-to-point cross-connect:
configure
l2vpn
xconnect group vlan_grp_1
commit
Inter-AS: Example
This example shows how to set up an AC to AC cross-connect from AC1 to AC2:
router-id Loopback0
interface Loopback0
ipv4 address 127.0.0.1 255.255.255.0
Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x
30
mpls static label local 699 remote 890
commit
p2p vlan1
interface TenGigE 0/0/0/0.1
neighbor 2.2.1.1 pw-id 1
Implementing Point to Point Layer 2 services