Home
H3C
Switch
S6850 Series
H3C S6850 Series Configuration Guide
5
of 1
of 1 rating
394 pages
Give review
Manual
Specs
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
15
[Device] display mac-address blackhole
MAC Address VLAN ID State Port/Nickname Aging
000f-e235-abcd 1 Blackhole N/A N
# Display the aging time of dynamic MAC address en
tries.
[Device] display mac-address aging-time
MAC address aging time: 500s.
20
22
Table of Contents
Table of Contents
6
Configuring the MAC Address Table
7
About the MAC Address Table
7
How a MAC Address Entry Is Created
7
Types of MAC Address Entries
7
MAC Address Table Tasks at a Glance
8
Configuring MAC Address Entries
9
About MAC Address Entry-Based Frame Forwarding
9
Restrictions and Guidelines for MAC Address Entry Configuration
9
Prerequisites for MAC Address Entry Configuration
9
Adding or Modifying a Static or Dynamic MAC Address Entry
9
Adding or Modifying a Blackhole MAC Address Entry
10
Adding or Modifying a Multiport Unicast MAC Address Entry
10
Setting the Aging Timer for Dynamic MAC Address Entries
11
Disabling MAC Address Learning
12
About Disabling MAC Address Learning
12
Disabling Global MAC Address Learning
12
Disabling MAC Address Learning on an Interface
13
Disabling MAC Address Learning on a VLAN
13
Setting the MAC Learning Limit
13
Configuring the Unknown Frame Forwarding Rule after the MAC Learning Limit Is Reached
14
Assigning MAC Learning Priority to Interfaces
14
Enabling MAC Address Synchronization
15
Configuring MAC Address Move Notifications and Suppression
16
Enabling ARP Fast Update for MAC Address Moves
17
Disabling Static Source Check
18
Enabling SNMP Notifications for the MAC Address Table
19
Display and Maintenance Commands for MAC Address Table
19
MAC Address Table Configuration Examples
20
Example: Configuring the MAC Address Table
20
Configuring MAC Information
22
About MAC Information
22
Enabling MAC Information
22
Configuring the MAC Information Mode
22
Setting the MAC Change Notification Interval
23
Setting the MAC Information Queue Length
23
MAC Information Configuration Examples
24
Example: Configuring MAC Information
24
Configuring Ethernet Interfaces
29
Configuring Ethernet Interfaces
30
About Ethernet Interface
30
Configuring a Management Ethernet Interface
30
Ethernet Interface Naming Conventions
31
Restrictions and Guidelines for 25-GE Interfaces
31
Configuring Common Ethernet Interface Settings
34
Splitting a 40-GE Interface and Combining 10-GE Breakout Interfaces
34
Splitting a 100-GE Interface and Combining 10-GE Breakout Interfaces
35
Splitting a 100-GE Interface and Combining 25-GE Breakout Interfaces
36
Configuring Basic Settings of an Ethernet Interface
37
Configuring Basic Settings of an Ethernet Subinterface
38
Configuring the Link Mode of an Ethernet Interface
38
Configuring Jumbo Frame Support
39
Configuring Physical State Change Suppression on an Ethernet Interface
39
Configuring Dampening on an Ethernet Interface
40
Enabling Link Flapping Protection on an Interface
41
Configuring FEC
42
Configuring Link Compensation
43
Configuring Storm Suppression
43
Configuring Generic Flow Control on an Ethernet Interface
44
Configuring PFC
45
Setting PFC Thresholds
46
Configuring PFC Deadlock Detection
47
Configuring the Early Warning Thresholds for PFC Packets
49
Enabling Energy Saving Features on an Ethernet Interface
50
Setting the Statistics Polling Interval
50
Enabling Loopback Testing on an Ethernet Interface
50
Forcibly Bringing up a Fiber Port
51
Setting the Media Type for an Ethernet Interface
53
Configuring Interface Alarm Functions
53
Restoring the Default Settings for an Interface
54
Configuring a Layer 2 Ethernet Interface
55
Configuring Storm Control on an Ethernet Interface
55
Changing a Layer 2 Ethernet Interface to an FC Interface
56
Enabling Bridging on an Ethernet Interface
56
Configuring a Layer 3 Ethernet Interface or Subinterface
57
Setting the MTU for an Ethernet Interface or Subinterface
57
Setting the MAC Address of an Ethernet Interface or Subinterface
57
Display and Maintenance Commands for Ethernet Interfaces
58
Configuring Ethernet Link Aggregation
59
About Ethernet Link Aggregation
61
Ethernet Link Aggregation Application Scenario
61
Aggregate Interface, Aggregation Group, and Member Port
61
Operational Key
62
Configuration Types
62
Link Aggregation Modes
63
How Static Link Aggregation Works
63
Dynamic Link Aggregation
64
How Dynamic Link Aggregation Works
67
Edge Aggregate Interface
69
Load Sharing Modes for Link Aggregation Groups
69
S-Mlag
69
Configuring Ethernet Link Aggregation
61
Ethernet Link Aggregation Tasks at a Glance
70
Restrictions and Guidelines: Mixed Use of Manual and Automatic Link Aggregation Configuration
70
Configuring a Manual Link Aggregation
71
Restrictions and Guidelines for Aggregation Group Configuration
71
Configuring a Layer 2 Aggregation Group
72
Configuring a Layer 3 Aggregation Group
74
Configuring Automatic Link Aggregation
75
Configuring S-MLAG
76
Configuring an Aggregate Interface
77
Configuring the Description of an Aggregate Interface
77
Setting the MAC Address for an Aggregate Interface
77
Configuring Jumbo Frame Support
78
Setting the MTU for a Layer 3 Aggregate Interface
78
Setting the Expected Bandwidth for an Aggregate Interface
79
Configuring an Edge Aggregate Interface
79
Configuring Physical State Change Suppression on an Aggregate Interface
80
Shutting down an Aggregate Interface
80
Restoring the Default Settings for an Aggregate Interface
81
Setting the Minimum and Maximum Numbers of Selected Ports for an Aggregation Group
82
Lacpdus
83
Specifying Ignored Vlans for a Layer 2 Aggregate Interface
84
Configuring Load Sharing for Link Aggregation Groups
85
Setting Static Load Sharing Modes for Link Aggregation Groups
85
Specifying Ignored Packet Fields for Default Link-Aggregation Load Sharing
85
Enabling Local-First Load Sharing for Link Aggregation
86
Configuring Link Aggregation Load Sharing Algorithm and Hash Seed Settings
87
Setting a Hash Offset to Adjust the Load Balancing Results on Link Aggregations
87
Setting the Load Sharing Mode for Tunneled Traffic
88
Excluding a Subnet from Load Sharing on Aggregate Links
88
Specifying Link Aggregation Management Vlans and Link Aggregation Management Port
88
Enabling a Layer 2 Aggregate Interface to Reflect Incoming Packets Back
90
Enabling Link-Aggregation Traffic Redirection
90
About Link-Aggregation Traffic Redirection
90
Restrictions and Guidelines for Link-Aggregation Traffic Redirection
90
Enabling Link-Aggregation Traffic Redirection Globally
91
Enabling Link-Aggregation Traffic Redirection for an Aggregation Group
91
Enabling BFD for an Aggregation Group
91
Display and Maintenance Commands for Ethernet Link Aggregation
92
Ethernet Link Aggregation Configuration Examples
93
Example: Configuring a Layer 2 Static Aggregation Group
93
Example: Configuring a Layer 2 Dynamic Aggregation Group
95
Example: Configuring a Layer 2 Edge Aggregate Interface
99
Example: Configuring a Layer 3 Static Aggregation Group
101
Example: Configuring a Layer 3 Dynamic Aggregation Group
102
Example: Configuring Layer 3 Aggregation Load Sharing
103
Example: Configuring S-MLAG
105
Configuring Drni
109
About DRNI
110
DRNI Network Model
110
Drcp
111
Keepalive and Failover Mechanism
111
MAD Mechanism
112
DR System Setup Process
112
Configuration Consistency Check
113
DRNI Failure Handling Mechanisms
114
Protocols and Standards
116
Configuring DRNI
110
Restrictions and Guidelines: DRNI Configuration
116
DRNI Tasks at a Glance
117
Configuring DR System Settings
118
Configuring the DR System MAC Address
118
Setting the DR System Number
118
Setting the DR System Priority
118
Configuring DR Keepalive Settings
119
Restrictions and Guidelines for Configuring DR Keepalive Settings
119
Configuring DR Keepalive Packet Parameters
119
Setting the DR Keepalive Interval and Timeout Timer
120
Setting the DR Role Priority of the Device
119
Excluding an Interface from the Shutdown Action by DRNI MAD
120
Configuring a DR Interface
121
Specifying a Layer 2 Aggregate Interface or VXLAN Tunnel Interface as the IPP
121
Disabling Configuration Consistency Check
122
Enabling the Short DRCP Timeout Timer on the IPP or a DR Interface
122
Configuring DR System Auto-Recovery
123
Setting the Keepalive Hold Timer for Identifying the Cause of IPL down Events
123
Displaying and Maintaining DRNI
124
Setting the Data Restoration Interval
124
DRNI Configuration Examples
125
Example: Configuring Basic DRNI Functions
125
Table of Contents
141
Configuring Vlans
143
About Vlans
143
VLAN Frame Encapsulation
143
VLAN Types
144
Port-Based Vlans
144
MAC-Based Vlans
145
IP Subnet-Based Vlans
147
Protocol-Based Vlans
148
Layer 3 Communication between Vlans
148
Protocols and Standards
148
Configuring a VLAN
148
Restrictions and Guidelines
148
VLAN Configuration Tasks at a Glance
148
Creating Vlans
148
Enabling Packet Dropping in the VLAN
149
Configuring Port-Based Vlans
149
Restrictions and Guidelines for Port-Based Vlans
149
Assigning an Access Port to a VLAN
149
Assigning a Trunk Port to a VLAN
150
Assigning a Hybrid Port to a VLAN
151
Configuring MAC-Based Vlans
151
Restrictions and Guidelines for MAC-Based Vlans
151
Configuring Static MAC-Based VLAN Assignment
152
Configuring Dynamic MAC-Based VLAN Assignment
152
Configuring Server-Assigned MAC-Based VLAN
154
Configuring IP Subnet-Based Vlans
154
Configuring Protocol-Based Vlans
155
Configuring a VLAN Group
156
Configuring VLAN Interfaces
156
Restrictions and Guidelines
156
VLAN Interfaces Configuration Tasks at a Glance
156
Prerequisites
157
Creating a VLAN Interface
157
Specifying a Traffic Processing Slot for the VLAN Interface
157
Restoring the Default Settings for the VLAN Interface
158
Display and Maintenance Commands for Vlans
158
VLAN Configuration Examples
159
Example: Configuring Port-Based Vlans
159
Example: Configuring MAC-Based Vlans
160
Example: Configuring IP Subnet-Based Vlans
162
Example: Configuring Protocol-Based Vlans
164
Configuring Super Vlans
168
About Super Vlans
168
Restrictions and Guidelines: Super VLAN Configuration
168
Super VLAN Tasks at a Glance
168
Configuring a Super VLAN
169
Configuring a Super VLAN Interface
169
Display and Maintenance Commands for Super Vlans
170
Super VLAN Configuration Examples
170
Example: Configuring a Super VLAN
170
Configuring Private VLAN
173
About Private VLAN
173
Restrictions and Guidelines: Private VLAN Configuration
174
Private VLAN Tasks at a Glance
174
Creating a Primary VLAN
174
Creating Secondary Vlans
174
Associating the Primary VLAN with Secondary Vlans
175
Configuring the Uplink Port
175
Configuring a Downlink Port
175
Configuring Layer 3 Communication for Secondary Vlans
176
Display and Maintenance Commands for the Private VLAN
177
Private VLAN Configuration Examples
177
Example: Configuring Promiscuous Ports
177
Example: Configuring Trunk Promiscuous Ports
180
Example: Configuring Trunk Promiscuous and Trunk Secondary Ports
183
Example: Configuring Layer 3 Communication for Secondary Vlans
187
Configuring Voice Vlans
190
About Voice Vlans
190
Working Mechanism
190
Methods of Identifying IP Phones
190
Advertising the Voice VLAN Information to IP Phones
191
IP Phone Access Methods
191
Voice VLAN Assignment Modes
192
Cooperation of Voice VLAN Assignment Modes and IP Phones
193
Security Mode and Normal Mode of Voice Vlans
194
Restrictions and Guidelines: Voice VLAN Configuration
194
Voice VLAN Tasks at a Glance
195
Configuring the Qos Priority Settings for Voice Traffic
195
Configuring Voice VLAN Assignment Modes for a Port
196
Configuring a Port to Operate in Automatic Voice VLAN Assignment Mode
196
Configuring a Port to Operate in Manual Voice VLAN Assignment Mode
197
Enabling LLDP for Automatic IP Phone Discovery
198
Configuring LLDP or CDP to Advertise a Voice VLAN
198
Configuring LLDP to Advertise a Voice VLAN
198
Configuring CDP to Advertise a Voice VLAN
199
Display and Maintenance Commands for Voice Vlans
199
Voice VLAN Configuration Examples
200
Example: Configuring Automatic Voice VLAN Assignment Mode
200
Example: Configuring Manual Voice VLAN Assignment Mode
201
Configuring Mvrp
204
About MVRP
205
MRP Implementation
205
MRP Messages
205
MRP Timers
207
MVRP Registration Modes
207
Configuring MVRP
205
MVRP Tasks at a Glance
208
Prerequisites
208
Restrictions and Guidelines: MVRP Configuration
208
Enabling MVRP
209
Setting an MVRP Registration Mode
209
Setting MRP Timers
209
Enabling GVRP Compatibility
210
Display and Maintenance Commands for MVRP
211
MVRP Configuration Examples
211
Example: Configuring Basic MVRP Functions
211
Configuring Loopback, Null, and Inloopback Interfaces
221
Configuring a Loopback Interface
222
Configuring Loopback, Null, and Inloopback Interfaces
222
About Loopback Interfaces
222
About Null Interfaces
222
About Inloopback Interfaces
222
Configuring a Null Interface
223
Restoring the Default Settings for an Interface
223
Display and Maintenance Commands for Loopback, Null, and Inloopback Interfaces
224
Configuring Qinq
225
About Qinq
226
Qinq Benefits
226
How Qinq Works
226
Qinq Implementations
227
Protocols and Standards
228
Configuring Qinq
226
Enabling Qinq
228
Restrictions and Guidelines: Qinq Configuration
228
Configuring Transmission for Transparent Vlans
229
Configuring the TPID for VLAN Tags
230
About TPID
230
Restrictions and Guidelines
230
Configuring the TPID for CVLAN Tags
231
Configuring the TPID for SVLAN Tags
231
Setting the 802.1P Priority in SVLAN Tags
231
About the 802.1P Priority in SVLAN Tags
231
Prerequisites for Setting the 802.1P Priority in SVLAN Tags
231
Tasks at a Glance
232
Creating a Traffic Class and Configuring CVLAN Match Criteria
232
Creating a Traffic Behavior and Configuring a Priority Marking Action for SVLAN Tags
232
Creating a Qos Policy
232
Applying the Qos Policy
233
Display and Maintenance Commands for Qinq
233
Qinq Configuration Examples
233
Example: Configuring VLAN Transparent Transmission
235
Configuring VLAN Mapping
238
Configuring VLAN Mapping
239
VLAN Mapping Application Scenarios
239
VLAN Mapping Implementations
241
Prerequisites
244
Restrictions and Guidelines: VLAN Mapping Configuration
244
VLAN Mapping Tasks at a Glance
244
Configuring Many-To-One VLAN Mapping
245
About Many-To-One VLAN Mapping
245
Configuring Many-To-One VLAN Mapping in Dynamic IP Address Assignment Environment
245
Configuring Many-To-One VLAN Mapping in Static IP Address Assignment Environment
248
Configuring One-To-One VLAN Mapping
245
Configuring One-To-Two VLAN Mapping
250
Configuring Two-To-Two VLAN Mapping
250
Display and Maintenance Commands for VLAN Mapping
251
VLAN Mapping Configuration Examples
251
Example: Configuring One-To-One and Many-To-One VLAN Mapping
251
Example: Configuring One-To-Two and Two-To-Two VLAN Mapping
256
Configuring Loop Detection
260
Configuring Loop Detection
261
Loop Detection Mechanism
261
Loop Detection Interval
262
Loop Protection Actions
262
Port Status Auto Recovery
262
Enabling Loop Detection
263
Restrictions and Guidelines for Loop Detection Configuration
263
Enabling Loop Detection Globally
263
Enabling Loop Detection on a Port
263
Loop Detection Tasks at a Glance
263
Setting the Loop Detection Interval
264
Setting the Loop Protection Action
264
Restrictions and Guidelines for Loop Protection Action Configuration
264
Setting the Global Loop Protection Action
264
Setting the Loop Protection Action on an Interface
264
Display and Maintenance Commands for Loop Detection
265
Loop Detection Configuration Examples
265
Example: Configuring Basic Loop Detection Functions
265
Configuring Spanning Tree Protocols
268
About STP
270
STP Protocol Frames
270
Basic Concepts in STP
272
Calculation Process of the STP Algorithm
273
Example of STP Calculation
274
The Configuration BPDU Forwarding Mechanism of STP
278
STP Timers
278
About RSTP
279
RSTP Protocol Frames
279
Basic Concepts in RSTP
279
How RSTP Works
280
RSTP BPDU Processing
280
About PVST
281
PVST Protocol Frames
281
How PVST Works
282
About MSTP
282
MSTP Protocol Frames
282
Basic Concepts in MSTP
284
How MSTP Works
287
MSTP Implementation on Devices
288
Rapid Transition Mechanism
288
Edge Port Rapid Transition
288
Root Port Rapid Transition
289
P/A Transition
289
Protocols and Standards
290
Configuring Spanning Tree Protocols
292
Restrictions and Guidelines: Spanning Tree Protocol Configuration
292
Restrictions: Compatibility with Other Features
292
Restrictions: Interface Configuration
292
Spanning Tree Protocol Tasks at a Glance
293
STP Tasks at a Glance
293
RSTP Tasks at a Glance
294
PVST Tasks at a Glance
295
MSTP Tasks at a Glance
296
Setting the Spanning Tree Mode
297
Configuring an MST Region
298
Configuring the Root Bridge or a Secondary Root Bridge
299
Restrictions and Guidelines
299
Configuring the Device as the Root Bridge of a Spanning Tree
299
Configuring the Device as a Secondary Root Bridge of a Spanning Tree
299
Configuring the Device Priority
300
Configuring the Maximum Hops of an MST Region
300
Configuring the Network Diameter of a Switched Network
301
Setting Spanning Tree Timers
301
Configuring the BPDU Transmission Rate
303
Setting the Timeout Factor
303
Configuring Edge Ports
304
Configuring Path Costs of Ports
304
About Path Cost
304
Specifying a Standard for the Default Path Cost Calculation
304
Configuring Path Costs of Ports
307
Configuring the Port Link Type
308
Configuring the Port Priority
308
Configuring the Mode a Port Uses to Recognize and Send MSTP Frames
309
Enabling Outputting Port State Transition Information
310
Enabling the Spanning Tree Feature
310
Restrictions and Guidelines
310
Enabling the Spanning Tree Feature in STP/RSTP/MSTP Mode
310
Performing Mcheck
311
About Mcheck
311
Restrictions and Guidelines
311
Performing Mcheck Globally
312
Configuring Digest Snooping
312
Disabling Inconsistent PVID Protection
312
Configuring no Agreement Check
314
Configuring TC Snooping
315
Configuring Protection Features
316
Spanning Tree Protection Tasks at a Glance
316
Configuring BPDU Guard
317
Enabling Root Guard
318
Enabling Loop Guard
318
Configuring Port Role Restriction
319
Configuring TC-BPDU Transmission Restriction
320
Enabling TC-BPDU Guard
320
Enabling BPDU Drop
321
Disabling Dispute Guard
321
Disabling the Device from Reactivating Edge Ports Shut down by BPDU Guard
324
Enabling BPDU Transparent Transmission on a Port
324
Enabling the Device to Log Events of Detecting or Receiving TC Bpdus
324
Enabling SNMP Notifications for New-Root Election and Topology Change Events
325
Display and Maintenance Commands for the Spanning Tree Protocols
326
Spanning Tree Configuration Examples
326
Example: Configuring MSTP
326
Example: Configuring PVST
330
Example: Configuring DRNI with PVST
333
Configuring Lldp/Configuring Dcbx
336
Configuring LLDP
338
About LLDP
338
LLDP Agents and Bridge Modes
338
LLDP Frame Formats
339
Lldpdus
340
Tlvs
340
Management Address
343
LLDP Operating Modes
343
Transmitting and Receiving LLDP Frames
344
Collaboration with Track
344
Protocols and Standards
344
Restrictions and Guidelines: LLDP Configuration
345
LLDP Tasks at a Glance
345
Enabling LLDP
346
Setting the LLDP Bridge Mode
346
Setting the LLDP Operating Mode
346
Setting the LLDP Reinitialization Delay
347
Configuring the Advertisable Tlvs
347
Configuring Advertisement of the Management Address TLV
350
Setting the Encapsulation Format for LLDP Frames
351
Setting LLDP Frame Transmission Parameters
352
Setting the Timeout for Receiving LLDP Frames
352
Enabling LLDP Polling
353
Disabling LLDP PVID Inconsistency Check
353
Configuring CDP Compatibility
353
Configuring LLDP Trapping and LLDP-MED Trapping
355
Configuring LLDP Neighbor Validation and Aging
356
Configuring LLDP Neighbor Validation on an Interface
356
Configuring LLDP Neighbor Aging on an Interface
356
Configuring MAC Address Learning for DCN
357
About MAC Address Learning for DCN
357
MAC Address Learning for DCN Tasks at a Glance
357
Enabling Generation of ARP or ND Entries for Received Management Address Tlvs
358
Display and Maintenance Commands for LLDP
358
LLDP Configuration Examples
359
Example: Configuring Basic LLDP Functions
359
Example: Configuring CDP-Compatible LLDP
363
Configuring DCBX
366
About DCBX
366
DCBX Versions
366
DCBX Functions
366
DCBX Application Scenario
366
Protocols and Standards
367
DCBX Tasks at a Glance
367
Enabling LLDP and DCBX TLV Advertising
367
Setting the DCBX Version
368
Configuring APP Parameters
368
Configuring ETS Parameters
370
About ETS Parameters
370
Restrictions and Guidelines
370
Configuring the 802.1P-To-Local Priority Mapping
370
Configuring Group-Based WRR Queuing
371
Configuring PFC Parameters
372
DCBX Configuration Examples
372
Example: Configuring DCBX
372
Configuring L2Pt
378
About L2PT
379
L2PT Application Scenario
379
Supported Protocols
379
L2PT Operating Mechanism
380
Configuring L2PT
379
Enabling L2PT
381
Restrictions and Guidelines for L2PT
381
Enabling L2PT for a Protocol in Layer 2 Ethernet Interface View
382
Enabling L2PT for a Protocol in Layer 2 Aggregate Interface View
382
L2PT Tasks at a Glance
381
Setting the Destination Multicast MAC Address for Tunneled Packets
382
Display and Maintenance Commands for L2PT
383
L2PT Configuration Examples
383
Example: Configuring L2PT for STP
383
Example: Configuring L2PT for LACP
384
Other manuals for H3C S6850 Series
Manual
54 pages
Installation Guide
82 pages
5
Based on 1 rating
Ask a question
Give review
Questions and Answers:
Need help?
Do you have a question about the H3C S6850 Series and is the answer not in the manual?
Ask a question
H3C S6850 Series Specifications
General
Brand
H3C
Model
S6850 Series
Category
Switch
Language
English
Related product manuals
H3C S6850-56HF
54 pages
H3C S6520-SI Series
90 pages
H3C S6520X-EI Series
34 pages
H3C S6520X-HI Series
34 pages
H3C S6520X-SI Series
90 pages
H3C S5500-EI
490 pages
H3C S5560S-SI
99 pages
H3C S3100 8C SI
944 pages
H3C S5820V2-52Q
63 pages
H3C S3100 Series
1057 pages
H3C S5130S Series
81 pages
H3C S5560-EI series
106 pages