R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)
72
150-160, 200, 255, 286, 300-302
# Display information about the trunk ports.
<Sysname> display port trunk
Interface PVID VLAN Passing
GE2/1/8 2 1-4, 6-100, 145, 177, 189-200, 244, 289, 400,
555, 600-611, 1000, 2006-2008
Table 24 Command output
Field Description
Interface Interface name.
PVID Port VLAN ID.
VLAN Passing Existing VLANs allowed on the port.
Tagged VLANs for which the port sends packets without removing VLAN tags.
Untagged VLANs for which the port sends packets after removing VLAN tags.
port
Use port to assign the specified access ports to the VLAN.
Use undo port to remove the specified access ports from the VLAN.
Syntax
port interface-list
undo port interface-list
Default
All ports are in VLAN 1.
Views
VLAN view
Predefined user roles
network-admin
Parameters
interface-list: Specifies a space-separated list of up to 10 Ethernet interface items. Each item specifies an
Ethernet interface or a range of Ethernet interfaces in the form of interface-type interface-number 1 to
interface-type interface-number 2. The interface number for interface-number 2 must be equal to or
greater than the interface number for interface-number 1.
Usage guidelines
This command is applicable only on access ports.
By default, all ports are access ports. You can manually configure the port link type. For more information,
see "port link-type."
Examples
# Assign GigabitEthernet 2/1/1 through GigabitEthernet 2/1/3 to VLAN 2.
<Sysname> system-view