Port Access Vlan - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – VLAN
H3C S7500E Series Ethernet Switches
Description
Use the port command to add one Access port or a group of Access ports to a 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.
Related commands: display vlan.
Examples
# Add Ethernet 2/0/1 through Ethernet 2/0/3 to VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] port ethernet 2/0/1 to ethernet 2/0/3

1.2.2 port access vlan

Syntax
port access vlan vlan-id
undo port access vlan
View
Ethernet port view, port group view
Parameters
vlan-id : VLAN ID, in the range 1 to 4094.
Description
Use the port access vlan command to add the current Access port to a specified
VLAN.
Use the undo port access vlan command to add the current Access port to the default
VLAN.
Execution of the above command under Ethernet port view will apply the configurations
to the current port only whereas under port group view will apply the configurations to
all the ports in the port group.
By default, all the Access ports belong to VLAN 1.
Before adding an Access port to a VLAN, make sure the VLAN already exists.
Chapter 1 VLAN Configuration Commands
1-9

Advertisement

Table of Contents
loading

Table of Contents