beautypg.com

Using mpls l2transport route command – ADC SG-1 User Manual

Page 145

background image

June 30, 2006

Chapter 7: Second Level Commands

SG1-UM-8500-03

7-65

Example 1: create mpls L2 VPN based on Martini draft for redirection

Example 2: create mpls L2 VPN based on Martini draft for ternination

Using the no mpls l2transport interface command

This command detects an MPLS l2vpn interface based on Martini.

Usage

no mpls l2transport interface

Parameter(s)

This specifies the LDP IP address of the remote PE; it should be a valid IP address.

This assigns a VC ID to the virtual circuit between the system and the remote PE.

Example: delete MPLS L2 VPN based on Martini draft

Using mpls l2transport route command

It redirects all interface traffic through MPLS l2vpn tunnel based on Martini. The maximum number of mpls
l2transport routes in the system is 2,000.

Usage

mpls l2transport route interface //

[]

Parameter(s)

This is the SCC slot number; valid number range is 0 to 2.

This is the SCC port number; valid number range is 1 to 3.

This is the SCC sub-interface number; valid number range is 2 to 4095.

This specifies the LDP IP address of the remote PE; it should be a valid IP address.

Host(config)# mpls ip Ethernet 0\1

Host(config)# mpls l2transport interface 194.90.1.4 200

Host(config)# mpls ip Ethernet 0\1

Host(config)# mpls l2transport interface 194.90.1.4 200 type Ethernet

Host(config)# no mpls l2transport interface

Host(config)# no mpls l2transport interface 194.90.1.4 200

Host(config)# mpls l2transport route interface