EasyManuals Logo

H3C S7500E Series Command Manual

H3C S7500E Series
1565 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #54 background imageLoading...
Page #54 background image
Command Manual – VLAN
H3C S7500E Series Ethernet Switches Chapter 1 VLAN Configuration Commands
1-9
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:
z This command is only applicable to Access ports.
z 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.

Table of Contents

Other manuals for H3C S7500E Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S7500E Series and is the answer not in the manual?

H3C S7500E Series Specifications

General IconGeneral
BrandH3C
ModelS7500E Series
CategorySwitch
LanguageEnglish

Related product manuals