HP BladeSystem bc2800 Command Line Interface Reference Guide HP BladeSystem PC - Page 406
switchport general allowed vlan
View all HP BladeSystem bc2800 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 406 highlights
VLAN Commands switchport general allowed vlan The switchport general allowed vlan Interface Configuration mode command adds or removes VLANs from a general port. Syntax switchport general allowed vlan add vlan-list [tagged | untagged] switchport general allowed vlan remove vlan-list Parameters n add vlan-list - Specifies the list of VLAN IDs to be added. Separate nonconsecutive VLAN IDs with a comma and no spaces. A hyphen designates a range of IDs. n remove vlan-list - Specifies the list of VLAN IDs to be removed. Separate nonconsecutive VLAN IDs with a comma and no spaces. A hyphen designates a range of IDs. n tagged - Indicates that the port transmits tagged packets for the VLANs. n untagged - Indicates that the port transmits untagged packets for the VLANs. Default Setting If the port is added to a VLAN without specifying tagged or untagged, the default setting is tagged. Command Mode Interface Configuration (Ethernet, port-channel) mode Command Usage This command enables changing the egress rule (e.g., from tagged to untagged) without first removing the VLAN from the list. . When MSTP-to-RSTP is enabled (enabled by default) attempting to put any switch port into trunk or general mode will cause the following error message: Port , extension separated-bridge exist. This feature must be disabled before the switch can support these modes. Please see spanning-tree mst mstp-rstp for more information. Example The following commands add VLANs 2, 5, and 6 to the allowed list of Ethernet port e45 . Console(config)# interface ethernet e45 Console(config-if)# switchport general allowed vlan add 2,5-6 tagged 28-10 www.hp.com HP PC Blade Switch CLI Reference Guide