Layer 2 Switching Commands
821
•
add
—Associates the secondary VLAN with the primary one.
•
remove
—Deletes the secondary VLANs from the primary VLAN
association.
•
secondary-vlan-list
—A list of secondary VLANs to be mapped to a primary
VLAN.
Default Configuration
This command has no default association or mapping configuration.
Command Mode
Interface Configuration (physical or port-channel)
User Guidelines
This command has no user guidelines.
Example
console(config)#vlan 10,20
console(config-vlan10,20)#exit
console(config)#interface gigabitethernet 1/0/8
console(config-if-Gi1/0/8)#switchport private-vlan host-association 10 20
switchport trunk
Use the
switchport trunk
command in Interface Configuration mode to
configure VLAN membership for a trunk port or to set the native VLAN for
an interface in Trunk Mode.
Syntax
switchport trunk
{
allowed vlan
vlan–list |
native vlan
vlan–id}
no switchport trunk
{
allowed
|
native
}
vlan
•
vlan–list
—Set the list of allowed VLANs that can receive and send traffic
on this interface in tagged format when in trunking mode. The default is
all
. The vlan–list format is as follows:
The vlan-list format is all | [add | remove | except] vlan–atom [, vlan–
atom...] where:
Summary of Contents for N1100-ON
Page 2: ......
Page 4: ......
Page 258: ...Using the CLI 258 ...
Page 488: ...Layer 2 Switching Commands 488 Operational State Querier Operational version 1 ...
Page 656: ...Layer 2 Switching Commands 656 10 ...
Page 1128: ...Audio Visual Bridging Commands 1128 ...
Page 1186: ...Data Center Technology Commands 1186 ...
Page 1435: ...Layer 3 Routing Commands 1435 Number of Joins 7 Number of Groups 1 ...
Page 2330: ......
Page 2331: ...www dell com support dell com Printed in the U S A ...
Page 2332: ......