segment-routing global-block

Function

The segment-routing global-block command configures a bgp segment routing global block (SRGB).

The undo segment-routing global-block command deletes an bgp SRGB.

By default, no BGP SRGB is configured.

Format

segment-routing global-block begin-value end-value

undo segment-routing global-block [ begin-value end-value ]

Parameters

Parameter Description Value
begin-value

Specifies the beginning value of Segment Routing global block (SRGB).

The value changes dynamically, depending on the actual situation of the equipment.

end-value

Specifies the end value of Segment Routing global block (SRGB).

The value changes dynamically, depending on the actual situation of the equipment.

Views

BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

SRGB is a set of local labels reserved for Segment Routing, including dynamic and static labels. In BGP, the network label-index command is used to specify a label in the local label set. The segment-routing global-block command configures a global label range for BGP Segment Routing.

Example

# configures a bgp segment routing global block (SRGB).
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] segment-routing  global-block 524288 524289
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >