< Home

tc-notify

Function

The tc-notify command configures a SEP segment to report topology changes to other SEP segments or networks running other ring network protocols.

The undo tc-notify command disables a SEP segment from reporting topology changes to other SEP segments or networks running other ring network protocols.

By default, a SEP segment does not send topology change notifications.

Format

tc-notify { segment { segment-id1 [ to segment-id2 ] } &<1-10> | stp | rrpp | smart-link send-packet vlan vlan-id | vpls }

undo tc-notify { segment { segment-id1 [ to segment-id2 ] } &<1-10> | stp | rrpp | smart-link send-packet vlan | vpls }

Only S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H support vpls parameter.

Parameters

Parameter Description Value

segment segment-id1 [ to segment-id2 ]

Specifies the SEP segments to which topology changes of the local SEP segment need to be reported.

Topology changes of the local SEP segment are reported to other SEP segments, but not the local SEP segment.

The keyword to connecting two instance IDs, indicating an ID range from instance-id1 to instance-id2. The value of instance-id2 must be greater than the value of instance-id1.

The value is an integer that ranges from 1 to 1024.

stp

Indicates that the local SEP segment reports topology changes to STP networks.

-

rrpp

Indicates that the local SEP segment reports topology changes to RRPP networks.

-

smart-link

Indicates that the local SEP segment reports topology changes to an upper-layer network using SmartLink Flush packets.

When the local SEP segment is connected to an upper-layer network through a no-neighbor edge interface, this parameter must be specified in the tc-notify command.

-

send-packet vlan vlan-id

Specifies the ID of a VLAN used to transmit SmartLink Flush packets.

The value is an integer that ranges from 1 to 4094.

vpls

Indicates that the local SEP segment reports topology changes to VPLS networks.

-

Views

SEP segment view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If topology changes in a SEP segment are not reported to the upper-layer Layer 2 network in time, devices on the upper-layer network retain the original MAC address entries, causing traffic interruption. To ensure uninterrupted traffic transmission, run the tc-notify command to configure the local SEP segment to report topology changes to other SEP segments or networks running other ring network protocols.

Prerequisites

The sep segment command has been used to create SEP segments.

Precautions

When the topology of a SEP segment changes, the SEP segment sends topology change notification messages to other SEP segments or networks running other ring network protocols. If the specified segment or network does not exist, the tc-notify command configuration does not take effect.

After receiving topology change notification messages from a SEP segment, devices on the upper layer network send Flush FDB packets on the network. Then, all the devices on the upper-layer network delete the original MAC addresses and learn new MAC addresses to ensure normal traffic transmission.

The tc-notify command is used on the device connecting a lower-layer network and an upper-layer network.

Example

# Configure SEP segment 1 to report topology changes to SEP segments 10 to 20.

<HUAWEI> system-view
[HUAWEI] sep segment 1
[HUAWEI-sep-segment1] tc-notify segment 10 to 20

# Configure SEP segment 1 to report topology changes to STP networks.

<HUAWEI> system-view
[HUAWEI] sep segment 1
[HUAWEI-sep-segment1] tc-notify stp

# Configure SEP segment 1 to report topology changes to RRPP networks.

<HUAWEI> system-view
[HUAWEI] sep segment 1
[HUAWEI-sep-segment1] tc-notify rrpp
# Configure SEP segment 1 to report topology changes to upper-layer networks using SmartLink Flush packets.
<HUAWEI> system-view
[HUAWEI] sep segment 1
[HUAWEI-sep-segment1] tc-notify smart-link send-packet vlan 3

# Configure SEP segment 1 to report topology changes to VPLS networks.

<HUAWEI> system-view
[HUAWEI] sep segment 1
[HUAWEI-sep-segment1] tc-notify vpls
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >