To do...
Assign one or a group of
access ports to the current
VLAN
In VLAN view to assign a Layer-2 aggregate interface to a VLAN, this command assigns the Layer-2
aggregate interface but not its member ports to the current VLAN.
2)
In interface or port group view
Follow these steps to assign an access port (in interface view) or multiple access ports (in port group
view) to a VLAN:
To do...
Enter system view
Enter Ethernet
interface view
Enter Layer-2
aggregate
interface view
Enter
interface
view or port
group view
Enter port
group view
Configure the link type of the
port or ports as access
Assign the current access
port(s) to a VLAN
Use the command...
port interface-list
Use the command...
system-view
interface interface-type
interface-number
interface bridge-aggregation
interface-number
port-group manual
port-group-name
port link-type access
port access vlan vlan-id
1-7
Remarks
Required
By default, all ports belong to VLAN 1.
Remarks
—
Required
Use either command.
In Ethernet interface view,
the
configurations apply to the
current port.
In port group view, the
subsequent configurations
apply to all ports in the port
group.
In
Layer-2
interface
subsequent configurations
apply
to
aggregate interface and all
its member ports.
Optional
The link type of a port is access
by default.
Optional
By default, all access ports
belong to VLAN 1.
subsequent
aggregate
view,
the
the
Layer-2