
478
VLAN Commands
Example
The following example forbids adding VLAN IDs 234 to 256 to Ethernet port 1/e16.
switchport mode
The
switchport mode
Interface Configuration mode command configures the VLAN membership mode
of a port. Use the
no
form of this command to reset the mode to the appropriate default for the device.
Syntax
•
switchport mode
{
access
|
trunk
|
general
|
customer
}
•
no switchport mode
•
access
— Untagged layer 2 VLAN interface
•
trunk
— Trunking layer 2 VLAN interface
•
general
— Full 802.1q support VLAN interface
•
customer
— The port is connected to customer equipment. Used when the switch is in a provider
network
Default Configuration
Access mode.
Command Mode
Interface configuration (Ethernet, port-channel) mode.
User Guidelines
There are no user Guidelines for this command.
Example
The following example configures the VLAN membership mode of a port. Use the no form of this
command to reset the mode to the appropriate default for the device.
Console(config)#
interface ethernet
1/e16
Console(config-if)#
switchport forbidden vlan add
234-256
console# config
console(config)# interface ethernet g1 - 1/e1
console(config-if)# switchport mode
customer
book.book Page 478 Thursday, December 18, 2008 7:40 PM
Содержание PowerConnect 3500 Series
Страница 62: ...62 Command Groups book book Page 62 Thursday December 18 2008 7 40 PM ...
Страница 80: ...80 Command Modes book book Page 80 Thursday December 18 2008 7 40 PM ...
Страница 124: ...124 Address Table Commands book book Page 124 Thursday December 18 2008 7 40 PM ...
Страница 162: ...162 DHCP Snooping book book Page 162 Thursday December 18 2008 7 40 PM ...
Страница 244: ...244 Line Commands book book Page 244 Thursday December 18 2008 7 40 PM ...
Страница 266: ...266 LLDP Commands book book Page 266 Thursday December 18 2008 7 40 PM ...
Страница 276: ...276 Login Banner book book Page 276 Thursday December 18 2008 7 40 PM ...
Страница 280: ...280 PHY Diagnostics Commands book book Page 280 Thursday December 18 2008 7 40 PM ...
Страница 290: ...290 Power over Ethernet Commands book book Page 290 Thursday December 18 2008 7 40 PM ...
Страница 294: ...294 Port Channel Commands book book Page 294 Thursday December 18 2008 7 40 PM ...
Страница 298: ...298 Port Monitor Commands book book Page 298 Thursday December 18 2008 7 40 PM ...
Страница 310: ...310 QoS Commands book book Page 310 Thursday December 18 2008 7 40 PM ...
Страница 318: ...318 RADIUS Commands book book Page 318 Thursday December 18 2008 7 40 PM ...
Страница 414: ...414 Syslog Commands book book Page 414 Thursday December 18 2008 7 40 PM ...
Страница 440: ...440 TACACS Commands book book Page 440 Thursday December 18 2008 7 40 PM ...
Страница 452: ...452 TIC Commands book book Page 452 Thursday December 18 2008 7 40 PM ...
Страница 460: ...460 Tunnel book book Page 460 Thursday December 18 2008 7 40 PM ...
Страница 492: ...492 VLAN Commands book book Page 492 Thursday December 18 2008 7 40 PM ...
Страница 500: ...500 Voice VLAN book book Page 500 Thursday December 18 2008 7 40 PM ...
Страница 514: ...514 Web Server book book Page 514 Thursday December 18 2008 7 40 PM ...