June 30, 2006

 

 

Chapter 7: Second Level Commands

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

 

 

 

 

 

 

Host(config)# mpls ip Ethernet

0\1

 

 

Host(config)# mpls l2transport

interface 194.90.1.4

200

 

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

 

 

 

 

 

 

Host(config)# mpls ip Ethernet

0\1

 

 

Host(config)# mpls l2transport

interface 194.90.1.4

200

type Ethernet

Using the no mpls l2transport interface command

Host(config)# no mpls l2transport interface

This command detects an MPLS l2vpn interface based on Martini.

Usage

no mpls l2transport interface <destination> <vc-id>

Parameter(s)

<destination>

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

<vc-id>

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

Host(config)# no mpls l2transport interface 194.90.1.4 200

Using mpls l2transport route command

Host(config)# mpls l2transport route interface

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 <Ethernet VLAN> <slot>/<port number>/ [<sub-interface number>] <destination> <vc-id>

Parameter(s)

<slot number>

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

<port number>

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

<sub-interface>

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

<destination>

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

SG1-UM-8500-03

7-65

Page 145
Image 145
ADC SG-1 user manual Hostconfig# no mpls l2transport interface, No mpls l2transport interface destination vc-id