peer prefix-sid (BGP-IPv4 unicast address family view)

Function

The peer prefix-sid command enables a device to send prefix-sid information to a specified IPv4 peer.

The peer prefix-sid disable command disables a device to send prefix-sid information to a specified IPv4 peer.

The undo peer prefix-sid command cancels a device to send prefix-sid information to a specified IPv4 peer.

The undo peer prefix-sid disable command restores the default configuration and takes effect when the peer prefix-sid disable commands is run.

This function is disabled by default.

Format

peer peerIpv4Addr prefix-sid

peer peerIpv4Addr prefix-sid disable

undo peer peerIpv4Addr prefix-sid

undo peer peerIpv4Addr prefix-sid disable

Parameters

Parameter Description Value
peerIpv4Addr

Specifies the IPv4 address of destination.

The value is in dotted decimal notation.

Views

BGP-IPv4 unicast 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 unicast address family view to enable a device to send prefix SIDs to a specified IPv4 peer.

Example

# Enables the device to send prefix SIDs to a specified IPv4 peer.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 10.1.1.1 as-number 100
[*HUAWEI-bgp] ipv4-family unicast
[*HUAWEI-bgp-af-ipv4] peer 10.1.1.1 enable
[*HUAWEI-bgp-af-ipv4] peer 10.1.1.1 prefix-sid
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >