40
port
Syntax
View
Parameter
Description
Related command:
Example
port access vlan
Syntax
View
Parameter
P
-B
ORT
ASED
C
OMMANDS
port interface-list
undo port interface-list
VLAN interface view
interface interface-list: Ethernet interface list, in the format of { interface-type
interface-number [ to interface-type interface-number ] }&<1-10>, where
&<1-10> means that you can specify up to 10 port ranges.
Use the
command to add one Access port or a group of Access ports to a
port
VLAN. Use the undo port command to remove one Access port or a group of
Access ports from a VLAN.
Note:
This command is only applicable to Access ports.
■
All ports have their default link type configured as Access, however, users can
■
manually configure the port type. For more information, refer to "port
link-type" on page 642.
display vlan.
# Add the ports from Ethernet 1/1 to Ethernet 1/3 to VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] port ethernet 1/1 to ethernet 1/3
port access vlan vlan-id
undo port access vlan
Ethernet interface view, port group view
vlan-id : VLAN ID, in the range 1 to 4094.
VLAN C
ONFIGURATION
Need help?
Do you have a question about the MSR 20-20 and is the answer not in the manual?
Questions and answers