Port Trunk Permit Vlan - HP 3600 v2 Series Command Reference Manual

Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

After you change the link type of an interface with the port link-type command, the loopback detection
action configured on the interface with the loopback-detection action command automatically restores
the default. For more information about the loopback detection action configuration, see Layer 2—LAN
Switching Configuration Guide.
Examples
# Configure Ethernet 1/0/1 as a trunk port.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/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 1/0/1
[Sysname-port-group manual group1] group-member ethernet 1/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-list | all }
undo port trunk permit vlan { vlan-list | all }
View
Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
vlan-list: Specifies a list of VLANs that the trunk ports will be assigned to, in the format of [ vlan-id1 [ to
vlan-id2 ] ]&<1- 1 0>, where vlan-id1 and vlan-id2 represent VLAN IDs and each range from 1 to 4094
and &<1- 1 0> indicates that you can specify up to 10 vlan-id1 [ to vlan-id2 ] parameters. The vlan-id2
argument cannot be smaller than the vlan-id1 argument.
all: Permits all VLANs to pass through the trunk ports.
Description
Use port trunk permit vlan to assign the trunk ports to the specified VLANs.
Use undo port trunk permit vlan to remove the trunk ports from the specified VLANs.
By default, a trunk port allows only packets from VLAN 1 to pass through.
A trunk port can carry multiple VLANs. If you execute the port trunk permit vlan command multiple times,
the trunk port carries the set of VLANs specified by vlan-list in each execution.
173

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5500 hi series

Table of Contents