![HP 3100 v2 Series Command Reference Manual Download Page 153](http://html.mh-extra.com/html/hp/3100-v2-series/3100-v2-series_command-reference-manual_165751153.webp)
146
Field Description
Untagged
VLANs for which the port sends packets after removing VLAN tags
port
Syntax
port interface-list
undo port interface-list
View
VLAN view
Default level
2: System level
Parameters
interface-list
: Specifies an interface list, in the format of
interface-list
= {
interface-type
interface-number
[
to
interface-type interface-number
] }&<1-10>, where
interface-type
interface-number
represents the interface type and interface number and &<1-10> indicates that you
can specify up to 10
interface-type interface-number
[
to
interface-type interface-number
]
parameters.
Description
Use
port
to assign the specified access ports to the VLAN.
Use
undo port
to remove the specified access ports from the VLAN.
By default, all ports are in VLAN 1.
This command is applicable only on access ports.
By default, all ports are access ports. However, you can manually configure the port type. For more
information, see "
You cannot assign Layer 2 aggregate interfaces to a VLAN.
Related commands:
display vlan
.
Examples
# Assign Ethernet 1/0/1 through Ethernet 1/0/3 to VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] port ethernet 1/0/1 to ethernet 1/0/3
port access vlan
Syntax
port access vlan vlan-id
undo
port
access vlan
View
Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view
Default level
2: System level