Chapter 18
| VLAN Commands
Configuring VLAN Interfaces
– 448 –
Default Setting
Hybrid mode, with the PVID set to VLAN 1.
Command Mode
Interface Configuration (Ethernet, Port Channel)
Example
The following shows how to set the configuration mode to port 1, and then set
the switchport mode to hybrid:
Console(config)#interface ethernet 1/1
Console(config-if)#switchport mode hybrid
Console(config-if)#
Related Commands
switchport acceptable-frame-types (445)
switchport native vlan
This command configures the PVID (i.e., default VLAN ID) for a port. Use the
no
form to restore the default.
Syntax
switchport native vlan
vlan-id
no switchport native vlan
vlan-id
- Default VLAN ID for a port. (Range: 1-4094)
Default Setting
VLAN 1
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
◆
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.
Example
The following example shows how to set the PVID for port 1 to VLAN 3:
Содержание SC30010
Страница 1: ...C 300 Series Gigabit Managed Switch CLI Reference Guide SOFTWARE RELEASE V1 1 10 171 www signamax com ...
Страница 2: ...CLI Reference Guide SC30010 C 300 48 Port Gigabit Managed Switch E122017 KS R01 ...
Страница 482: ...Chapter 19 Class of Service Commands Priority Commands Layer 3 and 4 482 ...
Страница 670: ......
Страница 671: ...E122017 KS R01 ...