L2VPN Pseudowire Switching

Similar documents
Generic Routing Encapsulation Tunnel IP Source and Destination VRF Membership

Configuring Route Maps to Control the Distribution of MPLS Labels Between Routers in an MPLS VPN

BGP Enforce the First Autonomous System Path

PPPoE Session Recovery After Reload

IS-IS Incremental SPF

Suppress BGP Advertisement for Inactive Routes

Logging to Local Nonvolatile Storage (ATA Disk)

MPLS MTU Command Changes

OSPF Incremental SPF

Configuring an Intermediate IP Multicast Helper Between Broadcast-Only Networks

OSPF RFC 3623 Graceful Restart Helper Mode

QoS Child Service Policy for Priority Class

MPLS VPN: VRF Selection Based on Source IP Address

DHCP Option 82 Support for Routed Bridge Encapsulation

Per IP Subscriber DHCP Triggered RADIUS Accounting

DHCP ODAP Server Support

DHCP Lease Limit per ATM/RBE Unnumbered Interface

Configuring the Cisco IOS DHCP Relay Agent

MPLS VPN OSPF and Sham-Link Support

Configuring MPLS Multi-VRF (VRF-lite)

DHCP Relay MPLS VPN Support

Contextual Configuration Diff Utility

Modified LNS Dead-Cache Handling

VPDN Group Session Limiting

IP SLAs Random Scheduler

Configuring Multiple Basic Service Set Identifiers and Microsoft WPS IE SSIDL

PPPoE Client DDR Idle Timer

VPDN LNS Address Checking

BECN and FECN Marking for Frame Relay over MPLS

Frame Relay Conditional Debug Support

PPP/MLP MRRU Negotiation Configuration

RADIUS Tunnel Preference for Load Balancing and Fail-Over

Route Processor Redundancy Plus (RPR+)

AToM Static Pseudowire Provisioning

This feature was introduced. This feature was integrated into Cisco IOS Release 12.2(27)SBA.

Protocol-Independent MAC ACL Filtering on the Cisco Series Internet Router

ISSU and SSO DHCP High Availability Features

RADIUS NAS-IP-Address Attribute Configurability

Extended NAS-Port-Type and NAS-Port Support

SSG Service Profile Caching

IMA Dynamic Bandwidth

PPPoE Session Limits per NAS Port

BGP Support for the L2VPN Address Family

VPLS Autodiscovery: BGP Based

Configuring Virtual Interfaces

Autosense of MUX/SNAP Encapsulation and PPPoA/PPPoE on ATM PVCs

Cisco Smart Business Communications System Teleworker Set Up

AToM Graceful Restart

Using Application Level Gateways with NAT

PPPoE Service Selection

ATM VP Average Traffic Rate

Configuring Token Ring LAN Emulation for Multiprotocol over ATM

RADIUS Logical Line ID

Cisco Unity Express Voic System User s Guide

Corporate Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA USA

Maintenance Checklists for Cisco Unity VPIM Networking (with Microsoft Exchange)

Troubleshooting ISA with Session Monitoring and Distributed Conditional Debugging

Packet Classification Using the Frame Relay DLCI Number

Installing IEC Rack Mounting Brackets on the ONS SDH Shelf Assembly

MPLS Traffic Engineering Fast Reroute Link Protection

Applying the Tunnel Template on the Home Agent

PPPoE Agent Remote-ID and DSL Line Characteristics Enhancement

LAN Emulation Overview

Application Firewall Instant Message Traffic Enforcement

This module was first published on May 2, 2005, and last updated on May 2, 2005.

Cisco Voice Applications OID MIB

Exclusive Configuration Change Access and Access Session Locking

Release Notes for Cisco Security Agent for Cisco Unified MeetingPlace Release 6.0(7)

Wireless LAN Overview

BGP Support for the L2VPN Address Family

IP Event Dampening. Feature History for the IP Event Dampening feature

RSVP Message Authentication

Cisco Software Licensing Information for Cisco Unified Communications 500 Series for Small Business

MPLS Traffic Engineering (TE) Scalability Enhancements

Low Latency Queueing with Priority Percentage Support

Cisco Unified MeetingPlace for Microsoft Office Communicator

Cisco Aironet Directional Antenna (AIR-ANT-SE-WiFi-D)

MPLS LDP Autoconfiguration

MPLS VPN Inter-AS Option AB

Cisco 806, Cisco 820 Series, Cisco 830 Series, SOHO 70 Series and SOHO 90 Series Routers ROM Monitor Download Procedures

Cisco Unified Mobile Communicator 3.0 User Portal Guide

Wireless LAN Error Messages

Cisco Report Server Readme

Chunk Validation During Scheduler Heapcheck

Configuring ISA Accounting

MPLS VPN over mgre. Finding Feature Information. Last Updated: November 1, 2012

Site Preparation and Network Communications Requirements

QoS: Color-Aware Policer

Configuration Partitioning

IEEE 802.1ah on Provider Backbone Bridges

IS-IS Support for an IS-IS Instance per VRF for IP

Cisco Aironet 1500 Series Access Point Large Pole Mounting Kit Instructions

Cisco 10-Gigabit Fibre Channel X2 Transceiver Module Installation Note

IPsec Anti-Replay Window: Expanding and Disabling

Support of Provisionable QoS for Signaling Traffic

Configuring Virtual Private LAN Services

MPLS VPN--Inter-AS Option AB

Installation Notes for Catalyst 3750-E and Catalyst 3560-E Switch Fan Modules

BGP Next Hop Unchanged

BGP Event-Based VPN Import

Transcription:

L2VPN Pseudowire Switching First Published: April 20, 2005 Last Updated: February 19, 2007 This feature module explains how to configure L2VPN Pseudowire Switching, which extends layer 2 virtual private network (L2VPN) pseudowires across an interautonomous system (inter-as) boundary or across two separate multiprotocol label switching (MPLS) networks. History for the L2VPN Pseudowire Switching Feature Release 12.0(31)S 12.2(28)SB 12.2(33)SRB Modification L2VPN Pseudowire Switching for Any Transport over MPLS (AToM) was introduced on the Cisco 12000 series routers. This feature was integrated into Cisco IOS Release 12.2(28)SB for the Cisco 7200 and 7301 series routers. This feature was integrated into Cisco IOS Release 12.2(33)SRB. Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required. Contents Prerequisites for L2VPN Pseudowire Switching, page 2 Restrictions for L2VPN Pseudowire Switching, page 2 Information About L2VPN Pseudowire Switching, page 2 How to Configure L2VPN Pseudowire Switching, page 4 Configuration Examples for L2VPN Pseudowire Switching, page 6 Americas Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA 2005 2007 Cisco Systems, Inc. All rights reserved.

Prerequisites for L2VPN Pseudowire Switching L2VPN Pseudowire Switching Additional References, page 12 Command Reference, page 13 Prerequisites for L2VPN Pseudowire Switching For the Cisco 12000 series routers, the L2VPN Pseudowire Switching feature for AToM is supported on the following engines: E2 E3 E4+ E5 E6 For engines that do not support this feature, the packets are punted to the software and forwarded through the slow path. Note Engines E1 and E4 do not support L2VPN Pseudowire Switching, even in the slow path. Restrictions for L2VPN Pseudowire Switching L2VPN Pseudowire Switching is supported with AToM. Only static, on-box provisioning is supported. Sequencing numbers in AToM packets are not processed by L2VPN Pseudowire Switching. The feature blindly passes the sequencing data through the xconnect packet paths, a process that is called transparent sequencing. The endpoint PE-CE connections enforce the sequencing. You can ping the adjacent next-hop PE router. End-to-end LSP pings are not supported. Do not configure IP or Ethernet interworking on a router where L2VPN Pseudowire Switching is enabled. Instead, configure interworking on the routers at the edge PEs of the network. The control word negotiation results must match. If either segment does not negotiate the control word, the control word is disabled for both segments. AToM Graceful Restart is negotiated independently on each pseudowire segment. If there is a transient loss of the LDP session between two AToM PE routers, packets continue to flow. Per-pseudowire quality of service (QoS) is not supported. Traffic Engineering (TE) tunnel selection is supported. Attachment circuit interworking is not supported. Information About L2VPN Pseudowire Switching To configure the L2VPN Pseudowire Switching feature, you should understand the following concepts: How L2VPN Pseudowire Switching Works, page 3 How Packets Are Manipulated at the L2VPN Pseudowire Switching Aggregation Point, page 3 2

L2VPN Pseudowire Switching Information About L2VPN Pseudowire Switching How L2VPN Pseudowire Switching Works L2VPN Pseudowire Switching allows the user to extend L2VPN pseudowires across an inter-as boundary or across two separate MPLS networks, as shown in Figure 1 and Figure 2. L2VPN Pseudowire Switching connects two or more contiguous pseudowire segments to form an end-to-end multihop pseudowire. This end-to-end pseudowire functions as a single point-to-point pseudowire. As shown in Figure 2, L2VPN Pseudowire Switching enables you to keep the IP addresses of the edge PE routers private across inter-as boundaries. You can use the IP address of the autonomous system boundary routers (ASBRs) and treat them as pseudowire aggregation (PE-agg) routers. The ASBRs join the pseudowires of the two domains. L2VPN Pseudowire Switching also enables you to keep different administrative or provisioning domains to manage the end-to-end service. At the boundaries of these networks, PE-agg routers delineate the management responsibilities. Figure 1 L2VPN Pseudowire Switching in an Intra-AS Topology MPLS PW MPLS PW CE1 PE1 PE-A gg PE2 CE2 MPLS Pseudowire MPLS Pseudowire Network Network End-to-End Layer 2 Service 127912 Figure 2 L2VPN Pseudowire Switching in an Inter-AS Topology Service Provider ABC Autonomous System 1 Service Provider XYZ Autonomous System 2 MPLS PW MPLS PW CE1 PE1 PE-agg1 PE-agg2 PE2 CE2 MPLS Pseudowire MPLS Pseudowire Network Network End-to-End Layer 2 Service 127913 How Packets Are Manipulated at the L2VPN Pseudowire Switching Aggregation Point Switching AToM packets between two AToM pseudowires is the same as switching any MPLS packet. The MPLS switching data path switches AToM packets between two AToM pseudowires. The following list explains exceptions: The outgoing virtual circuit (VC) label replaces the incoming VC label in the packet. New Internal Gateway Protocol (IGP) labels and Layer 2 encapsulation are added. 3

How to Configure L2VPN Pseudowire Switching L2VPN Pseudowire Switching The incoming VC label time-to-live (TTL) field is decremented by one and copied to the outgoing VC label TTL field. The incoming VC label EXP value is copied to the outgoing VC label EXP field. The outgoing VC label Bottom of Stack S bit in the outgoing VC label is set to1. AToM control word processing is not performed at the L2VPN Pseudowire Switching aggregation point. Sequence numbers are not validated. Use the Router Alert label for LSP Ping; do not require control word inspection to determine an LSP Ping packet. How to Configure L2VPN Pseudowire Switching Use the following procedure to configure L2VPN Pseudowire Switching on each of the PE-agg routers. Prerequisites This procedure assumes that you have configured basic AToM L2VPNs. This procedure does not explain how to configure basic AToM L2VPNs that transport Layer 2 packets over an MPLS backbone. For information on the basic configuration, see Any Transport over MPLS. For inter-autonomous configurations, ASBRs require a labeled interface. Restrictions SUMMARY STEPS In this configuration, you are limited to two neighbor commands after entering the l2 vfi command. 1. enable 2. configure terminal 3. l2 vfi name point-to-point 4. neighbor ip-address vcid encapsulation mpls pw-class pw-class-name 5. exit 6. exit 7. show mpls l2transport vc [vcid [vc-id vc-id-min vc-id-max]] [interface name [local-circuit-id]] [destination ip-address name] [detail] 8. show vfi [vfi-name] 9. ping [protocol] [tag] {host-name system-address} 4

L2VPN Pseudowire Switching How to Configure L2VPN Pseudowire Switching DETAILED STEPS Step 1 Step 2 Command or Action enable Example: Router> enable configure terminal Purpose Enables privileged EXEC mode. Enter your password if prompted. Enters global configuration mode. Step 3 Example: Router# configure terminal l2 vfi name point-to-point Example: Router(config)# l2 vfi atomtunnel point-to-point Step 4 neighbor ip-address vcid encapsulation mpls pw-class pw-class-name Step 5 Example: Router(config-vfi)# neighbor 10.0.0.1 100 pw-class mpls exit Creates a point-to-point Layer 2 virtual forwarding interface (VFI) and enters VFI configuration mode. Sets up an emulated VC. Specify the IP address and the VC ID of the remote router. Also specify the pseudowire class to use for the emulated VC. Note Only two neighbor commands are allowed for each l2 vfi point-to-point command. Exits VFI configuration mode. Step 6 Example: Router(config-vfi)# exit exit Exits global configuration mode. Example: Router(config)# exit Step 7s show mpls l2transport vc [vcid [vc-id [vc-id-min vc-id-max]] [interface name [local-circuit-id]] [destination ip-address name] [detail] Verifies that the L2VPN Pseudowire Switching session has been established. Step 8 Example: Router# show mpls l2transport vc show vfi [vfi-name] Verifies that a point-to-point VFI has been established. Example: Router# show vfi atomtunnel Step 9 ping [protocol] [tag] {host-name system-address} When issued from the CE routers, this command verifies end-to-end connectivity. Example: Router# ping 10.1.1.1 5

Configuration Examples for L2VPN Pseudowire Switching L2VPN Pseudowire Switching Examples The following example displays the output of the show mpls l2transport vc command: Router# show mpls l2transport vc Local intf Local circuit Dest address VC ID Status ------------- -------------------------- --------------- ----- ---- MPLS PW 10.0.1.1:100 10.0.1.1 100 UP MPLS PW 10.0.1.1:100 10.0.1.1 100 UP The following example displays the output of the show vfi command: Router# show vfi VFI name: test, type: point-to-point Neighbors connected via pseudowires: Router ID Pseudowire ID 10.0.1.1 100 10.0.1.1 100 Configuration Examples for L2VPN Pseudowire Switching This section provides the following configuration example: L2VPN Pseudowire Switching in an Inter-AS Configuration: Example, page 6 L2VPN Pseudowire Switching in an Inter-AS Configuration: Example Two separate autonomous systems are able to pass L2VPN packets, because the two PE-agg routers have been configured with L2VPN Pseudowire Switching. This example configuration is shown in Figure 3. 6

L2VPN Pseudowire Switching Configuration Examples for L2VPN Pseudowire Switching Figure 3 L2VPN Pseudowire Switching in an Inter-Autonomous Sytem AS 65016 AS 65017 172.16.255.3 172.17.255.3 172.16.255.2 172.17.255.2 A-P1 172.16.0.4/30 172.17.0.4/30 B-P1.1.2.1.2 S0/0 S0/0 S0/0 S0/0 S1/0 S1/0.2.1.2 S1/0 PE-agg1 PE-agg2 S1/0.2 172.16.255.1.1 172.16.0.0/30 S1/0 192.168.0.0/30 172.17.0.0/30 S1/0 172.17.255.1.1 e0/0 PE1 PE2 e0/0 e0/0.1.2 e0/0 CE1 10.0.0.0/30 10.0.0.0/30 CE2 135250 7

Configuration Examples for L2VPN Pseudowire Switching L2VPN Pseudowire Switching PE-agg-1 version 12.0 service timestamps debug uptime service timestamps log uptime service password-encryption hostname [pe-agg1] boot-start-marker boot-end-marker enable secret 5 $1$Q0Bb$32sIU82pHRgyddWaeB4zs/ ip subnet-zero ip cef no ip domain-lookup mpls label protocol ldp pseudowire-class SW-PW encapsulation mpls l2 vfi PW-SWITCH-1 point-to-point neighbor 172.17.255.3 100 pw-class SW-PW neighbor 172.16.255.1 16 pw-class SW-PW interface Loopback0 ip address 172.16.255.3 255.255.255.255 interface Serial0/0 ip address 172.16.0.6 255.255.255.252 mpls ip interface Serial1/0 ip address 192.168.0.1 255.255.255.252 mpls bgp forwarding router ospf 16 log-adjacency-changes network 172.16.0.0 0.0.255.255 area 0 router bgp 65016 no synchronization bgp log-neighbor-changes network 172.16.255.3 mask 255.255.255.255 neighbor 192.168.0.2 remote-as 65017 neighbor 192.168.0.2 send-label no auto-summary ip classless control-plane line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 login no cns aaa enable end PE-agg-2 version 12.0 service timestamps debug uptime service timestamps log uptime service password-encryption hostname [pe-agg2] boot-start-marker boot-end-marker enable secret 5 $1$32jd$zQRfxXzjstr4llV9DcWf7/ ip subnet-zero ip cef no ip domain-lookup mpls label protocol ldp pseudowire-class SW-PW encapsulation mpls l2 vfi PW-SWITCH-1 point-to-point neighbor 172.16.255.3 100 pw-class SW-PW neighbor 172.17.255.1 17 pw-class SW-PW interface Loopback0 ip address 172.17.255.3 255.255.255.255 interface Serial0/0 ip address 172.17.0.6 255.255.255.252 mpls ip interface Serial1/0 ip address 192.168.0.2 255.255.255.252 mpls bgp forwarding router ospf 17 log-adjacency-changes network 172.17.0.0 0.0.255.255 area 0 router bgp 65017 no synchronization bgp log-neighbor-changes network 172.17.255.3 mask 255.255.255.255 neighbor 192.168.0.1 remote-as 65016 neighbor 192.168.0.1 send-label no auto-summary ip classless control-plane line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 login no cns aaa enable end 8

L2VPN Pseudowire Switching Configuration Examples for L2VPN Pseudowire Switching A-P1 version 12.0 service timestamps debug uptime service timestamps log uptime service password-encryption hostname [a-p1] boot-start-marker boot-end-marker enable secret 5 $1$eiUn$rTMnZiYnJxtMTpO0NKpQQ/ ip subnet-zero ip cef no ip domain-lookup mpls label protocol ldp interface Loopback0 ip address 172.16.255.2 255.255.255.255 interface Serial0/0 ip address 172.16.0.5 255.255.255.252 mpls ip interface Serial1/0 ip address 172.16.0.2 255.255.255.252 mpls ip router ospf 16 log-adjacency-changes network 172.16.0.0 0.0.255.255 area 0 ip classless control-plane line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 login no cns aaa enable end B-P1 version 12.0 service timestamps debug uptime service timestamps log uptime service password-encryption hostname [b-p1] boot-start-marker boot-end-marker enable secret 5 $1$svU/$2JmJZ/5gxlW4nVXVniIJe1 ip subnet-zero ip cef no ip domain-lookup mpls label protocol ldp interface Loopback0 ip address 172.17.255.2 255.255.255.255 interface Serial0/0 ip address 172.17.0.5 255.255.255.252 mpls ip interface Serial1/0 ip address 172.17.0.2 255.255.255.252 mpls ip router ospf 17 log-adjacency-changes network 172.17.0.0 0.0.255.255 area 0 ip classless control-plane line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 login no cns aaa enable end 9

Configuration Examples for L2VPN Pseudowire Switching L2VPN Pseudowire Switching PE1 version 12.0 service timestamps debug uptime service timestamps log uptime service password-encryption hostname [pe1] boot-start-marker boot-end-marker enable secret 5 $1$9z8F$2A1/YLc6NB6d.WLQXF0Bz1 ip subnet-zero ip cef no ip domain-lookup mpls label protocol ldp pseudowire-class ETH-PW encapsulation mpls interface Loopback0 ip address 172.16.255.1 255.255.255.255 interface Ethernet0/0 no ip address no cdp enable xconnect 172.16.255.3 16 pw-class ETH-PW interface Serial1/0 ip address 172.16.0.1 255.255.255.252 mpls ip router ospf 16 log-adjacency-changes network 172.16.0.0 0.0.255.255 area 0 ip classless control-plane line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 login no cns aaa enable end PE2 version 12.0 service timestamps debug uptime service timestamps log uptime service password-encryption hostname [pe2] boot-start-marker boot-end-marker enable secret 5 $1$rT.V$8Z6Dy/r8/eaRdx2TR/O5r/ ip subnet-zero ip cef no ip domain-lookup mpls label protocol ldp pseudowire-class ETH-PW encapsulation mpls interface Loopback0 ip address 172.17.255.1 255.255.255.255 interface Ethernet0/0 no ip address no cdp enable xconnect 172.17.255.3 17 pw-class ETH-PW interface Serial1/0 ip address 172.17.0.1 255.255.255.252 mpls ip router ospf 17 log-adjacency-changes network 172.17.0.0 0.0.255.255 area 0 ip classless control-plane line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 login no cns aaa enable end 10

L2VPN Pseudowire Switching Configuration Examples for L2VPN Pseudowire Switching CE1 version 12.0 service timestamps debug uptime service timestamps log uptime service password-encryption hostname [ce1] boot-start-marker boot-end-marker enable secret 5 $1$o9N6$LSrxHufTn0vjCY0nW8hQX. ip subnet-zero ip cef no ip domain-lookup interface Ethernet0/0 ip address 10.0.0.1 255.255.255.252 ip classless control-plane line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 login no cns aaa enable end CE2 version 12.0 service timestamps debug uptime service timestamps log uptime service password-encryption hostname [ce2] boot-start-marker boot-end-marker enable secret 5 $1$YHo6$LQ4z5PdrF5B9dnL75Xvvm1 ip subnet-zero ip cef no ip domain-lookup interface Ethernet0/0 ip address 10.0.0.2 255.255.255.252 ip classless control-plane line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 login no cns aaa enable end 11

Additional References L2VPN Pseudowire Switching Additional References The following sections provide references related to L2VPN Pseudowire Switching. Related Documents Related Topic Any Transport over MPLS Pseudowire redundancy High availability for AToM L2VPN interworking Layer 2 local switching PWE3 MIB Packet sequencing Document Title Any Transport over MPLS L2VPN Pseudowire Redundancy AToM Graceful Restart L2VPN Interworking Layer 2 Local Switching Pseudowire Emulation Edge-to-Edge MIBs for Ethernet and Frame Relay Services Any Transport over MPLS (AToM) Sequencing Support Standards Standard draft-ietf-pwe3-control-protocol-14.txt draft-martini-pwe3-pw-switching-01.txt Title Pseudowire Setup and Maintenance using LDP Pseudo Wire Switching MIBs MIB CISCO-IETF-PW-MIB CISCO-IETF-PW-MPLS-MIB CISCO-IETF-PW-ENET-MIB CISCO-IETF-PW-FR-MIB MIBs Link To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs RFCs RFCs Title None 12

L2VPN Pseudowire Switching Command Reference Technical Assistance Description The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. If you have a valid service contract but do not have a user ID or password, you can register on Cisco.com. Link http://www.cisco.com/techsupport Command Reference This section documents modified commands only. l2 vfi point-to-point neighbor (L2VPN Pseudowire Switching) show vfi 13

l2 vfi point-to-point L2VPN Pseudowire Switching l2 vfi point-to-point To establish a point-to-point Layer 2 virtual forwarding interface (VFI) between two separate networks, use the l2 vfi point-to-point command in global configuration mode. To disable the connection, use the no form of this command. l2 vfi name point-to-point no l2 vfi name point-to-point Syntax Description name Name of the connection between the two networks. Command Default Point-to-point Layer 2 virtual forwarding interfaces are not created. Command Modes Global configuration Command History Release 12.0(31)S 12.2(28)SB 12.2(33)SRB Modification This command was introduced. This command was integrated into Cisco IOS Release 12.2(28)SB. This command was integrated into Cisco IOS Release 12.2(33)SRB. Usage Guidelines If you disable L2VPN Pseudowire Switching with the no l2 vfi point-to-point command, the virtual circuits (VCs) are deleted. Examples The following example establishes a point-to-point Layer 2 VFI: Router(config)# l2 vfi atomvfi point-to-point Related Commands Command Description neighbor (L2VPN Establishes the two routers with which to form a connection. Pseudowire Switching) 14

L2VPN Pseudowire Switching neighbor (L2VPN Pseudowire Switching) neighbor (L2VPN Pseudowire Switching) To specify the routers that should form a point-to-point Layer 2 virtual forwarding interface (VFI) connection, use the neighbor command in L2 VFI point-to-point configuration mode. To disconnect the routers, use the no form of this command. neighbor ip-address vc-id {encapsulation mpls pw-class pw-class-name} no neighbor ip-address vc-id {encapsulation mpls pw-class pw-class-name} Syntax Description ip-address vc-id encapsulation mpls pw-class pw-class-name IP address of the VFI neighbor. Virtual circuit (VC) identifier. Encapsulation type. Pseudowire type. Name of the pseudowire you created when you established the pseudowire class. Command Default Routers do not form a point-to-point Layer 2 VFI connection. Command Modes L2 VFI point-to-point configuration Command History Release 12.0(31)S 12.2(28)SB 12.2(33)SRB Modification This command was introduced. This command was integrated into Cisco IOS Release 12.2(28)SB. This command was integrated into Cisco IOS Release 12.2(33)SRB. Usage Guidelines A maximum of two neighbor commands are allowed when you issue an l2 vfi point-to-point command. Examples The following example is a typical configuration of a Layer 2 VFI connection: Router(config)# l2 vfi atom point-to-point Router(config-vfi)# neighbor 10.10.10.10 1 encapsulation mpls Related Commands Command l2 vfi point-to-point Description Establishes a point-to-point Layer 2 VFI between two separate networks. 15

show vfi L2VPN Pseudowire Switching show vfi To display information related to the virtual forwarding instance (VFI), use the show vfi command in privileged EXEC mode. show vfi vfi-name Syntax Description vfi-name (Optional) Name of the VFI. Command Modes Privileged EXEC Command History Release 12.0(31)S 12.2(28)SB 12.2(33)SRA 12.2(33)SRB Modification This command was introduced. This command was integrated into Cisco IOS Release 12.2(28)SB. This command was extended to show VPN ID information. This command was updated to display VPLS Autodiscovery information. Examples This example shows an example of VFI status. The VC ID in the output represents the VPN ID; the VC is identified by the combination of the destination address and the VC ID. Router# show vfi VPLS-2 VFI name: VPLS-2, state: up VPN ID: 100 Local attachment circuits: Vlan2 Neighbors connected via pseudowires: Peer Address VC ID Split-horizon 10.1.1.1 2 Y 10.1.1.2 2 Y 10.2.2.3 2 N Table 1 explains the fields displayed in the output. Table 1 show vfi Command Field Descriptions Field VFI name state Local attachment circuits Peer Address VC ID Split-horizon Description The name assigned to the VFI The status of the VFI (up or down) The interface or VLAN assigned to the VFI The IP address of the peer router The VC ID assigned to the pseudowire Whether split horizon is enabled (Y) or disabled (N) 16

L2VPN Pseudowire Switching show vfi For the VPLS Autodiscovery feature, the command output of the show vfi command includes autodiscovery information. Router# show vfi Legend: RT= Route-target, S=Split-horizon, Y=Yes, N=No VFI name: VPLS1, state: up, type: multipoint VPN ID: 10, VPLS-ID: 9:10 RD: 9:10, RT: 10.10.10.10:150 Local attachment circuits: Ethernet0/0.2 Neighbors connected via pseudowires: Peer Address VC ID Discovered Router ID S 10.7.7.1 10 10.7.7.1 Y 10.7.7.2 10 10.1.1.2 Y 10.7.7.3 10 10.1.1.3 Y 10.7.7.4 10 10.1.1.4 Y 10.7.7.5 10 - Y VFI name: VPLS2 state: up, type: multipoint VPN ID: 11, VPLS-ID: 10.9.9.9:2345 RD: 10:11, RT: 10.4.4.4:151 Local attachment circuits: Ethernet0/0.3 Neighbors connected via pseudowires: Peer Address VC ID Discovered Router ID S 10.7.7.1 11 10.7.7.1 Y 10.7.7.2 11 10.1.1.5 Y Table 2 explains the fields related to VPLS Autodiscovery displayed in the output. Table 2 show vfi Field Descriptions for VPLS Autodiscovery Field VPLS-ID RD RT Discovered Router ID Description The identifier of the VPLS domain. VPLS Autodiscovery automatically generates a VPLS ID using the BGP autonomous system number and the configured VFI VPN ID. The route distinguisher (RD) to distribute end-point information. VPLS Autodiscovery automatically generates an RD using the BGP autonomous system number and the configured VFI VPN ID. The route target (RT). VPLS Autodiscovery automatically generates a route target using the lower 6 bytes of the RD and VPLS ID. A unique identifier assigned to the PE router. VPLS Autodiscovery automatically generates Router ID using the MPLS global router ID. Related Commands Command show xconnect Description Displays information about xconnect attachment circuits and pseudowires. 17

show vfi L2VPN Pseudowire Switching CVP, the Cisco Logo, and the Cisco Square Bridge logo are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn is a service mark of Cisco Systems, Inc.; and Access Registrar, Aironet, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, Follow Me Browsing, FormShare, GigaDrive, GigaStack, HomeLink, Internet Quotient, IOS, iphone, IP/TV, iq Expertise, the iq logo, iq Net Readiness Scorecard, iquick Study, LightStream, Linksys, MeetingPlace, MGX, Networking Academy, Network Registrar, Packet, PIX, ProConnect, RateMUX, ScriptShare, SlideCast, SMARTnet, StackWise, The Fastest Way to Increase Your Internet Quotient, and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries. All other trademarks mentioned in this document or Website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0612R) Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental. 2005 2007 Cisco Systems, Inc. All rights reserved. 18