Switchport dot1q-tunnel mode, Switchport dot1q-tunnel, Mode – Microsens MS453490M Management Guide User Manual

Page 798

Advertising
background image

C

HAPTER

34

| VLAN Commands

Configuring IEEE 802.1Q Tunneling

– 798 –

switchport dot1q-

tunnel mode

This command configures an interface as a QinQ tunnel port. Use the no

form to disable QinQ on the interface.

S

YNTAX

switchport dot1q-tunnel mode {access | uplink}
no switchport dot1q-tunnel mode

access – Sets the port as an 802.1Q tunnel access port.
uplink – Sets the port as an 802.1Q tunnel uplink port.

D

EFAULT

S

ETTING

Disabled

C

OMMAND

M

ODE

Interface Configuration (Ethernet, Port Channel)

C

OMMAND

U

SAGE

QinQ tunneling must be enabled on the switch using the

dot1q-tunnel

system-tunnel-control

command before the switchport dot1q-tunnel

mode interface command can take effect.

When a tunnel uplink port receives a packet from a customer, the

customer tag (regardless of whether there are one or more tag layers)

is retained in the inner tag, and the service provider’s tag added to the

outer tag.

When a tunnel uplink port receives a packet from the service provider,

the outer service provider’s tag is stripped off, and the packet passed

on to the VLAN indicated by the inner tag. If no inner tag is found, the

packet is passed onto the native VLAN defined for the uplink port.

E

XAMPLE

Console(config)#interface ethernet 1/1

Console(config-if)#switchport dot1q-tunnel mode access

Console(config-if)#

R

ELATED

C

OMMANDS

show dot1q-tunnel

(

799

)

show interfaces switchport (711)

Advertising