peer prefix-sid (BGP-Labeled address family view) (group)

Function

The peer prefix-sid command enables the device to exchange IPv4 prefix SID information with a specified IPv4 peer group.

The undo peer prefix-sid command disables the device from exchanging IPv4 prefix SID information with a specified IPv4 peer group.

This function is disabled by default.

Format

peer peerGroupName prefix-sid

undo peer peerGroupName prefix-sid

Parameters

Parameter Description Value
peerGroupName

Specifies the name of a peer group.

The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

BGP-Labeled address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

The peer prefix-sid command is used in the BGP IPv4 labeled address family view to enable a device to exchange IPv4 prefix SID information with a specified IPv4 peer group.

Example

# Enable a device to exchange IPv4 prefix SIDs with a specified IPv4 peer.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] group a
[*HUAWEI-bgp] ipv4-family labeled-unicast
[*HUAWEI-bgp-af-ipv4] peer a prefix-sid
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >