Assigning A Trunk Port To A Vlan - H3C SR8800 Configuration Manual

10g core routers layer 2 - lan switching
Hide thumbs Also See for SR8800:
Table of Contents

Advertisement

Step
2.
Enter interface view or port
group view.
3.
Configure the link type of the
port or ports as access.
4.
Assign the current access
port(s) to a VLAN.
NOTE:
Before assigning an access port to a VLAN, create the VLAN first.
In VLAN view, you can assign only Layer 2 Ethernet interfaces to the current VLAN.

Assigning a trunk port to a VLAN

A trunk port can carry multiple VLANs. You can assign it to a VLAN in interface view (including Ethernet
interface view, Layer 2 aggregate interface view, and Layer 2 VE interface view) or port group view.
To assign a trunk port to one or multiple VLANs:
Step
1.
Enter system view.
Command
Enter Ethernet interface view:
interface interface-type
interface-number
Enter Layer 2 aggregate
interface view:
interface bridge-aggregation
interface-number
Enter Layer 2 virtual Ethernet
interface view:
interface ve-bridge
interface-number
Enter port group view:
port-group manual
port-group-name
port link-type access
port access vlan vlan-id
Command
system-view
9
Remarks
Use any one of the commands.
Optional.
The link type of a port is access by
default.
Optional.
By default, all access ports belong
to VLAN 1.
Remarks
N/A

Advertisement

Table of Contents
loading

Table of Contents