C613-50631-01 Rev A Command Reference for IE340 Series 666
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
VLAN COMMANDS
SWITCHPORT
MODE PRIVATE-VLAN TRUNK SECONDARY
Examples To create isolated private VLAN 2 and then enable port1.0.3 in trunk mode as a
secondary port for this VLAN with the group ID of 3, use the following commands:
awplus# configure terminal
awplus(config)# vlan database
awplus(config-vlan)# vlan 2
awplus(config-vlan)# private-vlan 2 isolated
awplus(config-vlan)# exit
awplus(config)# interface port1.0.3
awplus(config-if)# switchport mode trunk
awplus(config-if)# switchport trunk allowed vlan add 2
awplus(config-if)# switchport mode private-vlan trunk secondary
group 3
To remove port1.0.3 in trunk mode as a secondary port, use the commands:
awplus# configure terminal
awplus(config)# interface port1.0.3
awplus(config-if)# no switchport mode private-vlan trunk
secondary
Related
commands
switchport mode private-vlan trunk promiscuous
switchport mode trunk
switchport trunk allowed vlan
switchport trunk native vlan
show vlan private-vlan