beautypg.com

Loop detection interval, Loop protection actions – H3C Technologies H3C S5560 Series Switches User Manual

Page 147

background image

113

Figure 36 Inner frame header for loop detection

The inner frame header for loop detection contains the following fields:

Code—Protocol sub-type, which is 0x0001, indicating the loop detection protocol.

Version—Protocol version, which is always 0x0000.

Length—Length of the frame. The value includes the inner header, but excludes the Ethernet header.

Reserved—This field is reserved.

Frames for loop detection are encapsulated as TLV triplets.

Table 11 TLVs supported by loop detection

TLV

Description

Remarks

End of PDU

End of a PDU.

Optional.

Device ID

Bridge MAC address of the sending device.

Required.

Port ID

ID of the PDU sending port.

Optional.

Port Name

Name of the PDU sending port.

Optional.

System Name

Device name.

Optional.

Chassis ID

Chassis ID of the sending port.

Optional.

Slot ID

Slot ID of the sending port.

Optional.

Sub Slot ID

Sub-slot ID of the sending port.

Optional.

Loop detection interval

Loop detection is a continuous process as the network changes. Loop detection frames are sent at a
specified interval (called a loop detection interval) to determine whether loops occur on ports and

whether loops are removed.

Loop protection actions

When the switch detects a loop on a port, it generates a log but performs no action on the port by default.

You can configure the switch to take one of the following actions:

Block—Disables the port from learning MAC addresses and blocks inbound traffic to the port.

No-learning—Disables the port from learning MAC addresses.

Shutdown—Shuts down the port to disable it from receiving and sending any frames.