beautypg.com

Switchport dot1q- tunnel service match cvid, Switchport dot1q-tunnel service match cvid, Switchport dot1q-tunnel – LevelOne GTL-2691 User Manual

Page 1126: Service match cvid

background image

C

HAPTER

39

| VLAN Commands

Configuring IEEE 802.1Q Tunneling

– 1126 –

switchport dot1q-

tunnel service

match cvid

This command creates a CVLAN to SPVLAN mapping entry. Use the no

form to delete a VLAN mapping entry.

S

YNTAX

switchport dot1q-tunnel service svid match cvid cvid

[remove-ctag]
svid - VLAN ID for the outer VLAN tag (Service Provider VID).

(Range: 1-4093, no leading zeroes)
cvid - VLAN ID for the inner VLAN tag (Customer VID).

(Range: 1-4093, no leading zeroes)
remove-ctag - Removes the customer’s VLAN tag.

D

EFAULT

S

ETTING

Default mapping uses the PVID of the ingress port on the edge router for

the SPVID.

C

OMMAND

M

ODE

Interface Configuration (Ethernet, Port Channel)

C

OMMAND

U

SAGE

The inner VLAN tag of a customer packet entering the edge router of a

service provider’s network is mapped to an outer tag indicating the

service provider VLAN that will carry this traffic across the 802.1Q

tunnel. By default, the outer tag is based on the default VID of the edge

router’s ingress port. This process is performed in a transparent

manner as described under

"IEEE 802.1Q Tunneling" on page 215

.

When priority bits are found in the inner tag, these are also copied to

the outer tag. This allows the service provider to differentiate service

based on the indicated priority and appropriate methods of queue

management at intermediate nodes across the tunnel.

Rather than relying on standard service paths and priority queuing,

QinQ VLAN mapping can be used to further enhance service by defining

a set of differentiated service pathways to follow across the service

provider’s network for traffic arriving from specified inbound customer

VLANs.

Note that all customer interfaces should be configured as access

interfaces (that is, a user-to-network interface) and service provider

interfaces as uplink interfaces (that is, a network-to-network interface).

Use the

switchport dot1q-tunnel mode

uplink

command to set an

interface to access or uplink mode.

When the remove-ctag option is specified, the inner-tag containing

the customer’s VID is removed, and the outer-tag containing the

service provider’s VID remains in place.