port smart-link group track

Use port smart-link group track to configure the collaboration between a smart link group member port and a track entry.

Use undo port smart-link group track to remove the collaboration.

Syntax

port smart-link group group-id track track-entry-number

undo port smart-link group group-id track track-entry-number

Default

Smart link group member ports do not collaborate with any track entry.

Views

Layer 2 Ethernet interface view, Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

group-id: Specifies a smart link group ID in the range of 1 to 48.

track-entry-number: Specifies the ID of a track entry that has been associated with the CC function of CFD.

Usage guidelines

Smart Link collaborates with link detection protocols through track entries. It supports only the CC function of CFD to implement link detection. To associate the CC function of CFD with a track entry, use the track cfd command.

Before configuring the collaboration between Smart Link and Track on a port, make sure the port has been added to the specified smart link group.

Examples

# Configure the collaboration between Ten-GigabitEthernet 1/0/1, the primary port of smart link group 1, and the CC function of CFD through track entry 1 to detect the link status.

<Sysname> system-view
[Sysname] track 1 cfd cc service-instance 100 mep 2
[Sysname] smart-link group 1
[Sysname-smlk-group1] protected-vlan reference-instance 0
[Sysname-smlk-group1] quit
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] undo stp enable
[Sysname-Ten-GigabitEthernet1/0/1] port smart-link group 1 primary
[Sysname-Ten-GigabitEthernet1/0/1] port smart-link group 1 track 1

# Configure the collaboration between bridge-aggregation 1, the primary port of smart link group 1, and the CC function of CFD through track entry 1 to detect the link status.

<Sysname> system-view
[Sysname] track 1 cfd cc service-instance 100 mep 2
[Sysname] smart-link group 1
[Sysname-smlk-group1] protected-vlan reference-instance 0
[Sysname-smlk-group1] quit
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] undo stp enable
[Sysname-Bridge-Aggregation1] port smart-link group 1 primary
[Sysname-Bridge-Aggregation1] port smart-link group 1 track 1

Related commands

track cfd