HP FlexNetwork 5130 HI series Command Reference Manual page 222

Layer 2 - lan switching
Table of Contents

Advertisement

interface GigabitEthernet1/0/1
port link-type hybrid
port hybrid vlan 2 3 tagged
port hybrid vlan 1 untagged
#
return
The output shows that:
The port link type of GigabitEthernet 1/0/1 does not change.
GigabitEthernet 1/0/1 is a tagged member of VLANs 2 and 3.
GigabitEthernet 1/0/1 is removed from VLANs 20 and 30.
In this example, VLAN 10 is not a secondary VLAN.
# Display information about GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] display this
#
interface GigabitEthernet1/0/1
#
return
# Configure GigabitEthernet 1/0/1 as a trunk secondary port of VLAN 10, and then verify the
configuration.
[Sysname-GigabitEthernet1/0/1] port private-vlan 10 trunk secondary
[Sysname-GigabitEthernet1/0/1] display this
#
interface GigabitEthernet1/0/1
port link-type hybrid
port hybrid vlan 10 tagged
port hybrid vlan 1 untagged
port private-vlan 10 trunk secondary
#
return
The output shows that:
The port link type of GigabitEthernet 1/0/1 is hybrid.
GigabitEthernet 1/0/1 is a tagged member of VLAN 10.
GigabitEthernet 1/0/1 is a trunk secondary port of VLAN 10.
# Execute the undo port private-vlan trunk secondary command on GigabitEthernet1/0/1,
and then verify the configuration.
[Sysname-GigabitEthernet1/0/1] undo port private-vlan 10 trunk secondary
[Sysname-GigabitEthernet1/0/1] display this
#
interface GigabitEthernet1/0/1
port link-type hybrid
port hybrid vlan 1 untagged
#
Return
The output shows that:
The port link type of GigabitEthernet 1/0/1 does not change.
214

Advertisement

Table of Contents
loading

Table of Contents