Port Trunk Permit Vlan - H3C S7500E Series Command Reference Manual

Lan switching
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

aggregate interface, it stops applying the configuration to the aggregation member ports. If it fails
to do that on an aggregation member port, it simply skips the port and moves to the next port. For
more information about Layer 2 aggregate interfaces, see Ethernet Link Aggregation
Configuration in the Layer 2 – LAN Switching Configuration Guide.
Note that, after you use the port link-type { access | hybrid | trunk } command to change the link
type of an interface, the loopback detection action configured on the interface with the
loopback-detection action command will be restored to the default. For more information about the
loopback-detection action command, see Ethernet Interface Configuration Commands in the Layer
2 - LAN Switching Command Reference.
To change the link type of a port from trunk to hybrid or vice versa, you must set the link type to access
first.
Examples
# Configure GigabitEthernet 2/0/1 as a trunk port.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/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 gigabitethernet 2/0/1
[Sysname-port-group manual group1] group-member gigabitethernet 2/0/2
[Sysname-port-group manual group1] port link-type hybrid
# Configure Layer 2 aggregate interface Bridge-aggregation 1 and its member ports as hybrid ports.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port link-type hybrid

port trunk permit vlan

Syntax
port trunk permit vlan { vlan-id-list | all }
undo port trunk permit vlan { vlan-id-list | all }
View
Ethernet interface view, port group view, Layer 2 aggregate interface view
Default Level
2: System level
13-17

Advertisement

Table of Contents
loading

Table of Contents