H3C S6850 Series Configuration Manual page 141

Layer 2, lan switching
Hide thumbs Also See for S6850 Series:
Table of Contents

Advertisement

Contents
Configuring VLANs ··········································································· 1
About VLANs ···························································································································· 1
VLAN frame encapsulation ···································································································· 1
VLAN types ························································································································ 2
Port-based VLANs ··············································································································· 2
MAC-based VLANs ·············································································································· 3
IP subnet-based VLANs ········································································································ 5
Protocol-based VLANs ········································································································· 6
Layer 3 communication between VLANs ·················································································· 6
Protocols and standards ······································································································· 6
Configuring a VLAN ···················································································································· 6
Restrictions and guidelines ···································································································· 6
VLAN configuration tasks at a glance ······················································································ 6
Creating VLANs ·················································································································· 6
Enabling packet dropping in the VLAN ····················································································· 7
Configuring port-based VLANs ······································································································ 7
Restrictions and guidelines for port-based VLANs ······································································ 7
Assigning an access port to a VLAN ························································································ 7
Assigning a trunk port to a VLAN ···························································································· 8
Assigning a hybrid port to a VLAN ··························································································· 9
Configuring MAC-based VLANs ···································································································· 9
Restrictions and guidelines for MAC-based VLANs ····································································· 9
Configuring static MAC-based VLAN assignment ····································································· 10
Configuring dynamic MAC-based VLAN assignment ································································· 10
Configuring server-assigned MAC-based VLAN ······································································· 12
Configuring IP subnet-based VLANs ···························································································· 12
Configuring protocol-based VLANs ······························································································ 13
Configuring a VLAN group ········································································································· 14
Configuring VLAN interfaces ······································································································ 14
Restrictions and guidelines ·································································································· 14
VLAN interfaces configuration tasks at a glance ······································································· 14
Prerequisites ···················································································································· 15
Creating a VLAN interface ··································································································· 15
Specifying a traffic processing slot for the VLAN interface ·························································· 15
Restoring the default settings for the VLAN interface ································································· 16
Display and maintenance commands for VLANs ············································································· 16
VLAN configuration examples ····································································································· 17
Example: Configuring port-based VLANs ················································································ 17
Example: Configuring MAC-based VLANs ·············································································· 18
Example: Configuring IP subnet-based VLANs ········································································ 20
Example: Configuring protocol-based VLANs ·········································································· 22
Configuring super VLANs ································································· 26
About super VLANs ·················································································································· 26
Restrictions and guidelines: Super VLAN configuration ···································································· 26
Super VLAN tasks at a glance ···································································································· 26
Creating a sub-VLAN ················································································································ 26
Configuring a super VLAN ········································································································· 27
Configuring a super VLAN interface ····························································································· 27
Display and maintenance commands for super VLANs ···································································· 28
Super VLAN configuration examples ···························································································· 28
Example: Configuring a super VLAN······················································································ 28
Configuring private VLAN ································································· 31
About private VLAN ·················································································································· 31
Restrictions and guidelines: Private VLAN configuration ··································································· 32
Private VLAN tasks at a glance ··································································································· 32
i
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9850 seriesS6850-56hfS9850-32h

Table of Contents