20-9
Cisco 10000 Series Router Software Configuration Guide
OL-2226-23
Chapter 20 Configuring L2 Virtual Private Networks
NSF and SSO—L2VPN
Configuration Examples of NSF/SSO—Layer 2 VPN
Example 20-1
illustrates how to configure AToM NSF on two PE routers:
Example 20-1 Ethernet to VLAN Interworking with AToM NSF
Note
NSF must be enabled for routing protocols. You can use either the
cisco
or
ietf
option.
Example 20-1
has the
ietf
option because it is a standard option, whereas
cisco
is proprietary option.
PE1
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 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
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