Chapter 20
Configuring L2 Virtual Private Networks
Configuration Examples of NSF/SSO—Layer 2 VPN
Example 20-1
Example 20-1 Ethernet to VLAN Interworking with AToM NSF
PE1
ip cef
!
redundancy
mode sso
!
mpls ldp graceful-restart
mpls ip
mpls label protocol ldp
mpls ldp router-id Loopback0 force
mpls ldp advertise-tags
!
pseudowire-class atom-eth
encapsulation mpls
interworking ethernet
!
interface Loopback0
ip address 10.8.8.8 255.255.255.255
!
interface FastEthernet1/1/0
xconnect 10.9.9.9 123 encap mpls pw-class
atom_eth
interface POS6/1/0
ip address 10.1.1.1 255.255.255.0
mpls ip
mpls label protocol ldp
clock source internal
crc 32
!
interface Loopback0
ip address 10.8.8.8 255.255.255.255
no shutdown
!
router ospf 10
nsf ietf
network 10.8.8.8 0.0.0.0 area 0
network 19.1.1.1 0.0.0.0 area 0
NSF must be enabled for routing protocols. You can use either the cisco or ietf option.
Note
has the ietf option because it is a standard option, whereas cisco is proprietary option.
OL-2226-23
illustrates how to configure AToM NSF on two PE routers:
PE2
ip cef
!
redundancy
mode sso
!
mpls ldp graceful-restart
mpls ip
mpls label protocol ldp
mpls ldp router-id Loopback0 force
mpls ldp advertise-tags
!
pseudowire-class atom-eth
encapsulation mpls
interworking eth
!
interface Loopback0
ip address 10.9.9.9 255.255.255.255
!
interface FastEthernet3/0/0
ip route-cache cef
!
interface FastEthernet3/0/0.3
encapsulation dot1Q 10
xconnect 10.8.8.8 123 encap mpls pw-class
atom_eth
interface POS1/0/0
ip address 10.1.1.2 255.255.255.0
mpls ip
mpls label protocol ldp
clock source internal
crc 32
!
interface Loopback0
ip address 10.9.9.9 255.255.255.255
!
router ospf 10
nsf ietf
network 10.9.9.9 0.0.0.0 area 0
network 10.1.1.2 0.0.0.0 area 0
Cisco 10000 Series Router Software Configuration Guide
NSF and SSO—L2VPN
Example 20-1
20-9