EasyManuals Logo

H3C S6850 Series Configuration Guide

H3C S6850 Series
394 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #150 background imageLoading...
Page #150 background image
8
Assigning one or multiple access ports to a VLAN in VLAN view
1. Enter system view.
system-view
2. Enter VLAN view.
vlan vlan-id
3. Assign one or multiple access ports to the VLAN.
port interface-list
By default, all ports belong to VLAN 1.
Assigning an access port to a VLAN in interface view
1. Enter system view.
system-view
2. Enter interface view.
{ Enter Layer 2 Ethernet interface view.
interface
interface-type interface-number
{ Enter Layer 2 aggregate interface view.
interface bridge-aggregation interface-number
3. Set the port link type to access.
port link-type access
By default, all ports are access ports.
4. Assign the access port to a VLAN.
port access vlan vlan-id
By default, all access ports belong to VLAN 1.
Assigning a trunk port to a VLAN
About assigning a trunk port to a VLAN
A trunk port supports multiple VLANs. You can assign it to a VLAN in interface view.
Restrictions and guidelines
To change the link type of a port from trunk to hybrid, set the link type to access first.
To enable a trunk port to transmit packets from its PVID, you must assign the trunk port to the PVID
by using the
port trunk permit vlan command.
Procedure
1. Enter system view.
system-view
2. Enter interface view.
{ Enter Layer 2 Ethernet interface view.
interface
interface-type interface-number
{ Enter Layer 2 aggregate interface view.
interface bridge-aggregation interface-number
3. Set the port link type to trunk.
port link-type trunk
By default, all ports are access ports.
4. Assign the trunk port to the specified VLANs.

Table of Contents

Other manuals for H3C S6850 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S6850 Series and is the answer not in the manual?

H3C S6850 Series Specifications

General IconGeneral
BrandH3C
ModelS6850 Series
CategorySwitch
LanguageEnglish

Related product manuals