R0106-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V7)
iv
Configuring VLANs ···················································································································································· 88
Overview ········································································································································································· 88
VLAN frame encapsulation ·································································································································· 88
Protocols and standards ······································································································································· 89
Feature and hardware compatibility ···························································································································· 89
Configuring basic VLAN settings·································································································································· 89
Configuring basic settings of a VLAN interface ········································································································· 90
Configuring port-based VLANs ····································································································································· 91
Introduction ···························································································································································· 91
Assigning an access port to a VLAN ·················································································································· 92
Assigning a trunk port to a VLAN························································································································ 93
Assigning a hybrid port to a VLAN ····················································································································· 93
Configuring a VLAN group ··········································································································································· 94
Displaying and maintaining VLANs ····························································································································· 94
VLAN configuration examples ······································································································································ 94
Port-based VLAN configuration example ············································································································ 94
Configuring QinQ ······················································································································································ 97
Overview ········································································································································································· 97
How QinQ works ·················································································································································· 97
QinQ implementations ·········································································································································· 98
Protocols and standards ······································································································································· 98
Feature and hardware compatibility ···························································································································· 99
Restrictions and guidelines ············································································································································ 99
Enabling QinQ ······························································································································································· 99
Configuring the TPID for VLAN tags ···························································································································· 99
Configuring the CVLAN TPID value ··················································································································· 100
Configuring the SVLAN TPID value ··················································································································· 100
Setting the 802.1p priority in SVLAN tags ··············································································································· 101
Displaying and maintaining QinQ ···························································································································· 102
QinQ configuration example ······································································································································ 102
Network requirements ········································································································································· 102
Configuration procedure ···································································································································· 102
Configuring LLDP ····················································································································································· 105
Overview ······································································································································································· 105
Basic concepts ····················································································································································· 105
Working mechanism ··········································································································································· 110
Protocols and standards ····································································································································· 111
LLDP configuration task list ·········································································································································· 112
Performing basic LLDP configuration ·························································································································· 112
Enabling LLDP ······················································································································································ 112
Configuring the LLDP bridge mode ···················································································································· 112
Setting the LLDP operating mode ······················································································································· 113
Setting the LLDP reinitialization delay ··············································································································· 113
Enabling LLDP polling·········································································································································· 114
Configuring the advertisable TLVs ····················································································································· 114
Configuring the management address and its encoding format ···································································· 115
Setting other LLDP parameters ···························································································································· 116
Setting an encapsulation format for LLDP frames ····························································································· 117
Configuring CDP compatibility ··································································································································· 117
Configuration procedure ···································································································································· 118
Configuring LLDP trapping and LLDP-MED trapping ································································································ 118
Displaying and maintaining LLDP ······························································································································· 119
LLDP configuration examples ······································································································································ 119