Port Trunk Permit Vlan - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Command Manual (For Soliton) – VLAN
H3C S3100 Series Ethernet Switches
Description
Use the port link-type command to set the link type of the Ethernet port.
Use the undo port link-type command to restore the default link type.
The default link type of an Ethernet port is access.
Note:
To change the link type of a port from hybrid to trunk or vice versa, you need to change
the link type to access first.
Examples
# Configure Ethernet 1/0/1 as a trunk port.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-type trunk

1.2.7 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
Parameters
vlan-id-list: List of the VLANs that the current trunk port will be assigned to or removed
from. In this list, you can specify individual VLAN IDs (each in the form of vlan-id) and
VLAN ID ranges (each in the form of vlan-id1 to vlan-id2). Specify each VLAN ID in the
range of 1 to 4094 and ensure that vlan-id2 is no less than vlan-id1. The total number of
individual VLAN IDs and VLAN ID ranges defined in the list must not exceed 10.
all: Assigns the trunk port to all VLANs. On a GVRP-enabled trunk port, you must
configure the port trunk permit vlan all command to ensure that the traffic of all
dynamically registered VLANs can pass through. However, When GVRP is disabled,
you are discouraged to configure the keyword. This is to prevent users of unauthorized
VLANs from accessing restricted resources through the port.
Chapter 1 VLAN Configuration Commands
1-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents