Chapter 36: VLAN Commands
Configuring IEEE 802.1Q Tunneling
– 1096 –
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
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 interfaces switchport (937)
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
svid
- VLAN ID for the outer VLAN tag (Service Provider VID).
(Range: 1-4094)
cvid
- VLAN ID for the inner VLAN tag (Customer VID).
(Range: 1-4094)
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)
Содержание SSE-G2252
Страница 42: ...44 General IP Routing on page 627...
Страница 174: ...Chapter 6 VLAN Configuration Configuring VLAN Mirroring 178 Figure 6 27 Showing the VLANs to Mirror...
Страница 511: ...Chapter 14 Basic Administration Protocols UDLD Configuration 518 Figure 14 100 Displaying UDLD Neighbor Information...
Страница 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Страница 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Страница 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Страница 1007: ...Chapter 33 Address Table Commands 1019...
Страница 1137: ...Chapter 38 Quality of Service Commands 1150...
Страница 1366: ...Chapter 46 IP Routing Commands Global Routing Configuration 1381 Connected 2 Total 2 FIB 0 Console...