Port Access Vlan - HP A5830 Series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

Use the undo port command to remove the specified access ports from the VLAN.
By default, all ports are in VLAN 1.
This command is only applicable 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.
Syntax
port interface-list
undo port interface-list
View
VLAN view
Default level
2: System level
Parameter
interface-list: Specifies an interface list, in the format of interface-list = { interface-type interface-number [
to interface-type interface-number ] }&<1- 1 0>, where interface-type interface-number represents the
interface type and interface number and &<1- 1 0> indicates that you can specify up to 10 ports or port
ranges.
Example
# Assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] port gigabitethernet 1/0/1 to gigabitethernet 1/0/3

port access vlan

Description
Use the port access vlan command to assign the access ports to the specified VLAN.
Use the undo port access vlan command to restore the default.
By default, all access ports belong to VLAN 1.
The configuration made in Layer 2 Ethernet interface view, applies only to the port.
The configuration made in port group view applies to all ports in the port group.
The configuration made in Layer 2 aggregate interface view applies to the aggregate interface and its
aggregation member ports:
If the system fails to apply the configuration to the aggregate interface, it stops applying the
configuration to aggregation member ports.
If the system fails to apply the configuration to an aggregation member port, it skips the port and
moves to the next member port.
―port
link-type.‖
156

Advertisement

Table of Contents
loading

Table of Contents