H3C Technologies H3C S3100 Series Switches User Manual

Page 81

Advertising
background image

i

Table of Contents

1 VLAN Overview ··········································································································································1-1

VLAN Overview·······································································································································1-1

Introduction to VLAN ·······················································································································1-1

Advantages of VLANs ·····················································································································1-2

VLAN Fundamentals ·······················································································································1-2

VLAN Interface ································································································································1-4

VLAN Classification ·························································································································1-4

Port-Based VLAN····································································································································1-5

Link Types of Ethernet Ports ···········································································································1-5

Assigning an Ethernet Port to Specified VLANs ·············································································1-5

Configuring the Default VLAN ID for a Port·····················································································1-6

MAC-Based VLAN ··································································································································1-7

Introduction to MAC-Based VLAN···································································································1-7

MAC-based VLAN implementation··································································································1-7

Approaches to creating MAC address-to-VLAN mappings ·····························································1-7

Protocol-Based VLAN ·····························································································································1-8

Introduction to Protocol-Based VLAN······························································································1-8

Encapsulation Format of Ethernet Data ··························································································1-8

Encapsulation Formats····················································································································1-9

Implementation of Protocol-Based VLAN························································································1-9

2 VLAN Configuration ··································································································································2-1

VLAN Configuration ································································································································2-1

VLAN Configuration Task List ·········································································································2-1

Basic VLAN Configuration ···············································································································2-1

Basic VLAN Interface Configuration································································································2-2

Displaying VLAN Configuration ·······································································································2-3

Configuring a Port-Based VLAN ·············································································································2-3

Configuring an Access-Port-Based VLAN·······················································································2-3

Configuring a Hybrid-Port-Based VLAN ··························································································2-4

Configuring a Trunk-Port-Based VLAN ···························································································2-5

Displaying and Maintaining Port-Based VLAN ················································································2-5

Port-Based VLAN Configuration Example·······················································································2-6

Troubleshooting Ethernet Port Configuration ··················································································2-7

Configuring a MAC-Based VLAN············································································································2-7

MAC-Based VLAN Configuration Task List·····················································································2-7

Configuring a MAC-Based VLAN ····································································································2-8

Displaying MAC-Based VLAN Configuration ··················································································2-8

Configuring a Protocol-Based VLAN·······································································································2-8

Protocol-Based VLAN Configuration Task List ···············································································2-9

Configuring a Protocol Template for a Protocol-Based VLAN ························································2-9

Advertising