
VLAN Commands
795
Default Configuration
The default value for the
vlan-id
parameter is 1 when the VLAN is enabled.
Otherwise, the value is 4093.
Command Mode
Interface Configuration (gigabitethernet, port-channel, tengigabitethernet)
mode
User Guidelines
This command has no user guidelines.
Example
The following example shows how to configure the PVID for 1/0/8, when the
interface is in general mode.
console(config)#interface gigabitethernet 1/0/8
console(config-if-1/0/8)#switchport general pvid 234
switchport mode
Use the
switchport mode
command in Interface Configuration mode to
configure the VLAN membership mode of a port. To reset the mode to the
appropriate default for the switch, use the
no
form of this command.
Syntax
switchport mode
{
access
|
trunk
|
general
}
no switchport mode
Parameter Description
Parameter
Description
access
An access port connects to a single end station belonging to a
single VLAN. An access port is configured with ingress filtering
enabled and will accept either an untagged frame or a packet
tagged with the access port VLAN. An access port transmits
only untagged packets.
2CSPC4.XCT-SWUM2XX1.book Page 795 Monday, October 3, 2011 11:05 AM
Summary of Contents for PowerConnect 7000 Series
Page 74: ...74 Contents 2CSPC4 XCT SWUM2XX1 book Page 74 Monday October 3 2011 11 05 AM ...
Page 164: ...164 Command Groups 2CSPC4 XCT SWUM2XX1 book Page 164 Monday October 3 2011 11 05 AM ...
Page 266: ...266 AAA Commands 2CSPC4 XCT SWUM2XX1 book Page 266 Monday October 3 2011 11 05 AM ...
Page 316: ...316 Auto VoIP Commands 2CSPC4 XCT SWUM2XX1 book Page 316 Monday October 3 2011 11 05 AM ...
Page 368: ...368 DHCP Snooping Commands 2CSPC4 XCT SWUM2XX1 book Page 368 Monday October 3 2011 11 05 AM ...
Page 454: ...454 Ethernet CFM Commands 2CSPC4 XCT SWUM2XX1 book Page 454 Monday October 3 2011 11 05 AM ...
Page 468: ...468 Green Ethernet Commands 2CSPC4 XCT SWUM2XX1 book Page 468 Monday October 3 2011 11 05 AM ...
Page 558: ...558 IP Source Guard Commands 2CSPC4 XCT SWUM2XX1 book Page 558 Monday October 3 2011 11 05 AM ...
Page 578: ...578 Link Dependency Commands 2CSPC4 XCT SWUM2XX1 book Page 578 Monday October 3 2011 11 05 AM ...
Page 606: ...606 LLDP Commands 2CSPC4 XCT SWUM2XX1 book Page 606 Monday October 3 2011 11 05 AM ...
Page 700: ...700 QoS Commands 2CSPC4 XCT SWUM2XX1 book Page 700 Monday October 3 2011 11 05 AM ...
Page 728: ...728 RADIUS Commands 2CSPC4 XCT SWUM2XX1 book Page 728 Monday October 3 2011 11 05 AM ...
Page 808: ...808 VLAN Commands 2CSPC4 XCT SWUM2XX1 book Page 808 Monday October 3 2011 11 05 AM ...
Page 814: ...814 Voice VLAN Commands 2CSPC4 XCT SWUM2XX1 book Page 814 Monday October 3 2011 11 05 AM ...
Page 848: ...848 802 1x Commands 2CSPC4 XCT SWUM2XX1 book Page 848 Monday October 3 2011 11 05 AM ...
Page 850: ...850 Layer 3 Commands 2CSPC4 XCT SWUM2XX1 book Page 850 Monday October 3 2011 11 05 AM ...
Page 912: ...912 DHCPv6 Commands 2CSPC4 XCT SWUM2XX1 book Page 912 Monday October 3 2011 11 05 AM ...
Page 920: ...920 DVMRP Commands 2CSPC4 XCT SWUM2XX1 book Page 920 Monday October 3 2011 11 05 AM ...
Page 946: ...946 IGMP Proxy Commands 2CSPC4 XCT SWUM2XX1 book Page 946 Monday October 3 2011 11 05 AM ...
Page 1062: ...1062 IPv6 Routing Commands 2CSPC4 XCT SWUM2XX1 book Page 1062 Monday October 3 2011 11 05 AM ...
Page 1174: ...1174 OSPF Commands 2CSPC4 XCT SWUM2XX1 book Page 1174 Monday October 3 2011 11 05 AM ...
Page 1234: ...1234 OSPFv3 Commands 2CSPC4 XCT SWUM2XX1 book Page 1234 Monday October 3 2011 11 05 AM ...
Page 1294: ...1294 Utility Commands 2CSPC4 XCT SWUM2XX1 book Page 1294 Monday October 3 2011 11 05 AM ...
Page 1304: ...1304 Auto Install Commands 2CSPC4 XCT SWUM2XX1 book Page 1304 Monday October 3 2011 11 05 AM ...
Page 1348: ...1348 CLI Macro Commands 2CSPC4 XCT SWUM2XX1 book Page 1348 Monday October 3 2011 11 05 AM ...
Page 1366: ...1366 Clock Commands 2CSPC4 XCT SWUM2XX1 book Page 1366 Monday October 3 2011 11 05 AM ...
Page 1478: ...1478 RMON Commands 2CSPC4 XCT SWUM2XX1 book Page 1478 Monday October 3 2011 11 05 AM ...
Page 1518: ...1518 Sflow Commands 2CSPC4 XCT SWUM2XX1 book Page 1518 Monday October 3 2011 11 05 AM ...
Page 1578: ...1578 Syslog Commands 2CSPC4 XCT SWUM2XX1 book Page 1578 Monday October 3 2011 11 05 AM ...
Page 1646: ...1646 Telnet Server Commands 2CSPC4 XCT SWUM2XX1 book Page 1646 Monday October 3 2011 11 05 AM ...
Page 1686: ...1686 Web Server Commands 2CSPC4 XCT SWUM2XX1 book Page 1686 Monday October 3 2011 11 05 AM ...
Page 1729: ...2CSPC4 XCT SWUM2XX1 book Page 1 Monday October 3 2011 11 05 AM ...