Configuring A Trunk-Port-Based Vlan - H3C S7500 Series Operation Manual

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – VLAN
H3C S7500 Series Ethernet Switches
Follow these steps to configure the Access-port-based VLAN in Ethernet port view:
Enter system view
Enter Ethernet port view
Configure the port link
type as Access
Add the current Access
port to a specified VLAN
Note:
To add an Access port to a VLAN, make sure the VLAN already exists.

2.2.2 Configuring a Trunk-Port-Based VLAN

A Trunk port may belong to multiple VLANs, and you can only perform this configuration
in Ethernet port view.
Follow these steps to configure the Trunk-port-based VLAN:
Enter system view
Enter Ethernet port view
Configure the port link
type as Trunk
Allow the specified VLANs
to pass through the
current Trunk port
Configure the default
VLAN for the Trunk port
To do...
system-view
interface interface-type
interface-number
port link-type access
port access vlan vlan-id
To do...
system-view
interface interface-type
interface-number
port link-type trunk
port trunk permit vlan
{ vlan-id-list | all }
port trunk pvid vlan
vlan-id
Use the command...
Use the command...
2-4
Chapter 2 VLAN Configuration
Remarks
Optional
The link type of a port is
Access by default.
Optional
By default, all Access
ports belong to VLAN 1.
Remarks
Required
Required
By default, all Trunk ports
only allow packets of
VLAN 1 to pass.
Optional
VLAN 1 is the default by
default.

Advertisement

Table of Contents
loading

Table of Contents