VLAN Commands
Page 302
switchport mode
The
switchport mode
Interface Configuration mode command configures the VLAN membership mode of a port.
To return to the default configuration, use the
no
form of this command.
Syntax
switchport mode
{
access
|
trunk | general
}
switchport mode private-vlan {promiscuous | community | isolated}
no switchport mode
Parameters
•
access
— Indicates an untagged layer 2 VLAN port.
•
trunk
— Indicates a trunking layer 2 VLAN port.
•
general
— Indicates a full 802-1q supported VLAN port.
•
promiscuous
— Indicates a promiscuous private-vlan port.
•
community
— Indicates a community private-vlan port.
•
isolated
— Indicates an isolated private-vlan port.
Default Configuration
All ports are in access mode, and belong to the default VLAN (whose VID=1).
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
•
A port cannot be defined as promiscuous or isolated if it is a member of a VLAN.
•
If a port is defined as promiscuous or isolated, it is no longer a member of the default VLAN.
Example
The following example configures Ethernet port 3 as an untagged layer 2 VLAN port.
Console(config)#
interface ethernet
3
Console(config-if)#
switchport mode
access
Содержание DES-3010FA
Страница 1: ......
Страница 86: ...D Link DES 3010FA GA PA CLI Reference Guide Page 85 ch3 Enabled ch4 Enabled ch5 Enabled ch6 Enabled ...
Страница 91: ...Ethernet Configuration Commands Page 90 ch2 ch3 ch4 ch5 ch6 ...
Страница 177: ...QoS Commands Page 176 Switch show qos interface 7 rate limit Port rate limit kbps 7 100 3 2 4 3 5 3 6 4 7 4 ...
Страница 193: ...Radius Commands Page 192 ...
Страница 318: ...D Link DES 3010FA GA PA CLI Reference Guide Page 317 ...
Страница 355: ...802 1x Commands Page 354 Trap frequency 100 Status Single host locked Violations since last trap 9 ...
Страница 361: ...International Offices Page 360 ...