R2511-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V5)

i
Contents
Configuring the MAC address table ·························································································································· 1
Overview ············································································································································································ 1
How a MAC address entry is created ··················································································································· 1
Types of MAC address entries ································································································································ 2
Configuring static, dynamic, and destination blackhole MAC address entries ························································· 2
Adding or modifying a static or dynamic MAC address entry in system view ················································· 2
Adding or modifying a static or dynamic MAC address entry in interface view ·············································· 3
Configuring a destination blackhole MAC address entry ···························································································· 3
Disabling MAC address learning on ports ····················································································································· 3
Configuring the aging timer for dynamic MAC address entries ·················································································· 4
Configuring the MAC learning limit on ports················································································································· 4
Displaying and maintaining MAC address tables ········································································································ 5
MAC address table configuration example ··················································································································· 6
Network requirements ·············································································································································· 6
Configuration procedure ········································································································································· 6
Verifying the configuration ······································································································································ 6
Layer 2 forwarding configuration ······························································································································· 8
Working mechanism ························································································································································· 8
Configuring general Layer 2 forwarding ······················································································································· 8
Displaying and maintaining general Layer 2 forwarding ···························································································· 8
Configuring VLANs ······················································································································································ 9
Overview ············································································································································································ 9
VLAN frame encapsulation ····································································································································· 9
VLAN types ···························································································································································· 10
Protocols and standards ······································································································································· 11
Configuring basic VLAN settings·································································································································· 11
Configuration restrictions and guidelines ··········································································································· 11
Configuration procedure ······································································································································ 11
Configuring basic settings of a VLAN interface ········································································································· 11
Configuring port-based VLANs ····································································································································· 12
Introduction to port-based VLAN ························································································································· 12
Assigning an access port to a VLAN ·················································································································· 14
Assigning a trunk port to a VLAN························································································································ 15
Assigning a hybrid port to a VLAN ····················································································································· 16
Port-based VLAN configuration example ············································································································ 17
Displaying and maintaining VLAN ······························································································································ 18
Configuring super VLANs ·········································································································································· 19
Feature and hardware compatibility ···························································································································· 19
Overview ········································································································································································· 19
Configuration task list ···················································································································································· 19
Configuring sub-VLANs ················································································································································· 20
Configuring a super VLAN ············································································································································ 20
Configuring a VLAN interface for the super VLAN ···································································································· 20
Configuration restrictions and guidelines ··········································································································· 20
Configuration procedure ······································································································································ 20
Displaying and maintaining super VLAN ···················································································································· 21
Super VLAN configuration example ···························································································································· 21