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 #59 background imageLoading...
Page #59 background image
Command Manual – VLAN
H3C S7500E Series Ethernet Switches Chapter 1 VLAN Configuration Commands
1-14
Examples
# Add the Trunk port Ethernet 2/0/1 to VLAN 2, VLAN 4, and the range of VLANs from
VLAN 50 to VLAN 100.
<Sysname> system-view
[Sysname] interface ethernet 2/0/1
[Sysname-Ethernet2/0/1] port link-type trunk
[Sysname-Ethernet2/0/1] port trunk permit vlan 2 4 50 to 100
Please wait........... Done.
1.2.7 port trunk pvid vlan
Syntax
port trunk pvid vlan vlan-id
undo port trunk pvid
View
Ethernet port view, port group view
Parameters
vlan-id: VLAN ID, in the range 1 to 4094
Description
Use the port trunk pvid vlan command to configure the default VLAN ID for the Trunk
port.
Use the undo port trunk pvid command to restore the default.
By default, the default VLAN on a Trunk port is VLAN 1.
Execution of the undo vlan command on a Trunk port to remove a default VLAN does
not affect the default VLAN configurations. That is to say, a non-existent VLAN can still
be the default VLAN.
Execution of the above commands in Ethernet port view will apply to the current port
only whereas under port group view will apply to all ports in the port group view.
You must configure the same default VLAN ID for the Trunk port of both the local device
and remote device. Otherwise, the packets cannot be transmitted correctly.
Related commands: port link-type.
Examples
# Configure the default VLAN ID for the Trunk port Ethernet 2/0/1 as 100.
<Sysname> system-view
[Sysname] interface ethernet 2/0/1
[Sysname-Ethernet2/0/1] port link-type trunk

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