Port Trunk Permit 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
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.
Chapter 1 VLAN Configuration Commands
1-13

Advertisement

Table of Contents
loading

Table of Contents