Chapter 36: VLAN Commands
Configuring VLAN Interfaces
– 1091 –
Console(config)#interface ethernet 1/1
Console(config-if)#switchport mode hybrid
Console(config-if)#
R
ELATED
C
OMMANDS
switchport acceptable-frame-types (1087)
switchport native
vlan
This command configures the PVID (i.e., default VLAN ID) for a port. Use
the
no
form to restore the default.
S
YNTAX
switchport native vlan
vlan-id
no switchport native vlan
vlan-id
- Default VLAN ID for a port. (Range: 1-4094)
D
EFAULT
S
ETTING
VLAN 1
C
OMMAND
M
ODE
Interface Configuration (Ethernet, Port Channel)
C
OMMAND
U
SAGE
•
When using Access mode, and an interface is assigned to a new VLAN,
its PVID is automatically set to the identifier for that VLAN. When using
Hybrid mode, the PVID for an interface can be set to any VLAN for
which it is an untagged member.
•
If acceptable frame types is set to
all
or switchport mode is set to
hybrid
, the PVID will be inserted into all untagged frames entering the
ingress port.
E
XAMPLE
The following example shows how to set the PVID for port 1 to VLAN 3:
Console(config)#interface ethernet 1/1
Console(config-if)#switchport native vlan 3
Console(config-if)#
vlan-trunking
This command allows unknown VLAN groups to pass through the specified
interface. Use the
no
form to disable this feature.
S
YNTAX
[
no
]
vlan-trunking
D
EFAULT
S
ETTING
Disabled
Содержание 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...