Associating Track with MPLS L2VPN

When you bind an AC (a Layer 3 interface) to a cross-connect on an MPLS L2VPN network, you can associate Track with the AC. Then, the AC is up only when one or more of the associated track entries are positive.

Associating Track with an AC helps detects AC failures. For example, when an AC is a VE-L2VPN interface, the AC interface will not go down upon a link failure because the interface is a virtual interface. To resolve the problem, you can associate Track with the AC to detect failures on the link that connects the PE-agg to the L3VPN or IP backbone. When a failure occurs on the link, the VE-L2VPN interface is set to down. Consequently, the PW bound to the AC goes down. If the PW has a backup PW, traffic can be switched to the backup PW. For more information about VE-L2VPN interfaces and L2VPN access to L3VPN or IP backbone, see MPLS Configuration Guide.

To associate a track entry with a Layer 3 interface bound to a non-BGP cross-connect:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter cross-connect group view.

xconnect-group group-name

N/A

3. Enter cross-connect view.

connection connection-name

N/A

4. Bind the Layer 3 interface to the non-BGP cross-connect and associate the interface with a track entry.

ac interface interface-type interface-number track track-entry-number&<1-3>

By default, the Layer 3 interface is not bound to any cross-connect or associated with any track entry.

To associate a track entry with a Layer 3 interface bound to a BGP cross-connect:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter cross-connect group view.

xconnect-group group-name

N/A

3. Enter auto-discovery cross-connect group view.

auto-discovery bgp

N/A

4. Enter site view.

site site-id [ range range-value ] [ default-offset default-offset-value ]

N/A

5. Enter auto-discovery cross-connect view.

connection remote-site-id remote-site-id

N/A

6. Bind the Layer 3 interface to the BGP cross-connect and associate the interface with a track entry.

ac interface interface-type interface-number track track-entry-number&<1-3>

By default, the Layer 3 interface is not bound to any cross-connect or associated with any track entry.