Operation Manual
Configuration Guide 210
Configuring Private VLAN Private VLAN Configurations
Step 5 show vlan private-vlan
Verify configurations of private VLAN.
Step 6 show vlan private-vlan interface [gigabitEthernet
port
| ten-gigabitEthernet
port
| port-
channel
port-channel-id
]
Verify private VLAN configurations of ports.
port
: Specify the port ID.
port-channel-id
: Specify the port-channel ID.
Step 7 end
Return to Privileged EXEC Mode.
Step 8 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to configure the port type of port 1/0/3 as Host, and add
it to the private VLAN composed of primary VLAN 6 and secondary VLAN 5.
Switch#config
Switch(config)#interface ten-gigabitEthernet 1/0/3
Switch(config-if)#switchport private-vlan host
Swtich(config-if)#switchport private-vlan host-association 6 5 community
Switch(config-if)#exit
Switch(config)#show vlan private-vlan
Primary Secondary Type Ports
--------- ------------- --------------- --------------
6 5 Community Te1/0/3
Switch(config)#show vlan private-vlan interface ten-gigabitEthernet 1/0/3
Port type
--------- ----------
Te1/0/3 Host
Switch(config)#end
Switch#copy running-config startup-config