Cisco 10000 User Manual

Page 407

Advertising
background image

18-39

Cisco 10000 Series Router Software Configuration Guide

OL-2226-23

Chapter 18 Configuring L2 Virtual Private Networks

Configuration Tasks for L2VPN

Set the experimental bits in both the VC label and the LSP tunnel label. You set the experimental bits in
the VC label, because the LSP tunnel label might be removed at the penultimate router.

To set the experimental bits, enter the following commands beginning in global configuration mode:

Table 18-7

Commands Supported to Change EXP Bits

Transport Type

Supported Commands

ATM AAL5 SDU support over MPLS

Ethernet over MPLS:

Port mode

Frame Relay over MPLS:

DLCI-to-DLCI connections

Port-to-port connections

HDLC over MPLS

PPP over MPLS

set mpls experimental

match any

Ethernet over MPLS:

VLAN mode

set mpls experimental

match cos

Command

Purpose

Step 1

Router(config)# class-map class-name

Specifies the user-defined name of the traffic class and enters
class map configuration mode.

Step 2

For all transport types except Ethernet over MPLS in
VLAN mode:

Router(config-cmap)# match any

For Ethernet over MPLS in VLAN mode only:

Router(config-cmap)# match cos cos-value

Specifies that all packets are matched.


cos-value is from 0 to 7; up to four CoS values can be
specified in one match cos statement.

Step 3

Router(config-cmap)# policy-map policy-name

Specifies the name of the traffic policy to configure and
enters policy map configuration mode.

Step 4

Router(config-pmap)# class class-name

Specifies the name of a predefined traffic class, which was
configured with the class-map command, used to classify
traffic to the traffic policy. Enters policy-map configuration
mode.

Step 5

Router(config-pmap-c)# set mpls experimental

value

Designates the value to which the MPLS bits are set if the
packets match the specified policy map.

Step 6

Router(config-pmap-c)# exit

Exits policy map configuration mode.

Step 7

Router(config-pmap)# exit

Exits policy map mode.

Step 8

Router(config)# interface slot/port

Specifies the interface and enters interface configuration
mode.

Step 9

Router(config-if)# service-policy input

policy-name

Attaches a traffic policy to an interface.

Advertising