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 #58 background imageLoading...
Page #58 background image
Command Manual – VLAN
H3C S7500E Series Ethernet Switches Chapter 1 VLAN Configuration Commands
1-13
Examples
# Configure Ethernet 2/0/1 to be a Trunk port.
<Sysname> system-view
[Sysname] interface ethernet 2/0/1
[Sysname-Ethernet2/0/1] port link-type trunk
# Configure all the ports in the manual port group group1 as Hybrid ports.
<Sysname> system-view
[Sysname] port-group manual group1
[Sysname-port-group manual group1] group-member ethernet 2/0/1
[Sysname-port-group manual group1] group-member ethernet 2/0/2
[Sysname-port-group manual group1] port link-type hybrid
1.2.6 port trunk permit vlan
Syntax
port trunk permit vlan { vlan-id-list | all }
undo port trunk permit vlan { vlan-id-list | all }
View
Ethernet port view, port group view
Parameters
vlan-id-list: The range of VLANs that the Hybrid ports will be added to, in the format of
vlan-id-list = [ vlan-id1 [ to vlan-id2 ] ]&<1-10>, where vlan-id ranges from 1 to 4,094
and &<1-10> indicates that you can specify up to 10 parameters.
all: Adds the Trunk port to all VLANs.
Description
Use the port trunk permit vlan command to add a Trunk port to a specified VLAN, a
selection of VLANs, or all VLANs.
Use the undo port trunk permit vlan command to remove the Trunk port from a
specified VLAN, a selection of VLANs, or all VLANs.
The Trunk port can allow multiple VLANs to pass. Repetitive execution of the port
trunk permit vlan command will yield a set of vlan-id-list, to which the Trunk port
belongs.
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.
Related commands: port link-type.

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