Switch# configure terminal
Switch (config)# interface ge4
Switch (config-ge4) # switchport private-vlan host-association 4 add 5
4.3.5.45 switchport private-vlan host-associationGG
Command:
switchport private-vlan [host-association | mapping] <vlan_list> add <vlan_list>
host-association
Host-association
mapping
Mapping
add
Switching mode characteristics
<vlan_list>
VLAN IDs
Default:
N/A
Usage Guide:
To configure private VLAN host-association for specific interface
Example:
To configure private VLAN host-association (Primary VLAN: 4, Secondary VLAN: 5) for ge4
Switch# configure terminal
Switch (config)# interface ge4
Switch (config-ge4) # switchport private-vlan host-association 4 add 5
4.3.5.46 switchport trunk allowed vlan
Command:
switchport trunk allowed vlan [none | add <vlan_list> | remove <vlan_list> | except
<vlan_list>]
<vlan_list>
VLAN IDs of the allowed VLANs when this port is in hybrid mode
add
Add VLANs to the current list
except
All VLANs except the following
none
No VLANs
remove
Remove VLANs from the current list
-45-
Command Guide