peer virtual-link te srlg

Function

The peer virtual-link te srlg command adds a peer virtual link to an SRLG.

The undo peer virtual-link te srlg command removes a peer virtual link from an SRLG.

By default, a peer virtual link does not belong to any SRLG.

Format

peer peerIpv6Addr virtual-link te srlg { srlgValue } &<1-64>

undo peer peerIpv6Addr virtual-link te srlg { srlgValue } &<1-64>

undo peer peerIpv6Addr virtual-link te srlg

Parameters

Parameter Description Value
peerIpv6Addr

Specifies the IPv6 address of a peer.

The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.

srlgValue

Specifies the number of the SRLG to which a peer virtual link belongs.

The value is an integer ranging from 0 to 4294967295.

Views

BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

An SRLG is a group of links that share a common physical resource (or an optical fiber). Links in the same SRLG have the same risk level. If one link fails, other links in the SRLG may also fail and cannot provide protection. You can run the peer virtual-link te srlg command to set the SRLG value for a BGP peer on a virtual link. The SRLG value is used to enhance the reliability of hot-standby LSPs and backup tunnels. A BGP peer can belong to multiple SRLGs.

Prerequisites

A virtual link has been constructed across an L3 network using the peer virtual-link command so that topology information is reported to the controller based on the virtual link for path computation.

Example

# Add a peer virtual link to SRLG1.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 2001:db8:1::1 as-number 100
[*HUAWEI-bgp] peer 2001:db8:1::1 egress-engineering srv6
[*HUAWEI-bgp] peer 2001:db8:1::1 virtual-link
[*HUAWEI-bgp] peer 2001:db8:1::1 virtual-link te srlg 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >