peer route-server-client (BGP-VPN instance IPv4 address family view)(group)

Function

The peer route-server-client command enables the route server function on a device and specifies an EBGP peer group as its client.

The peer route-server-client disable command disables the route server function on a device and cancels the client configuration.

The undo peer route-server-client command cancels the route server function and client configuration.

The undo peer route-server-client disable command restores the default configuration and takes effect only when the peer route-server-client disable command is run.

By default, the route server function is not enabled on a device, and no EBGP peer group is configured as its client.

Format

peer peerGroupName route-server-client

undo peer peerGroupName route-server-client

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-VPN instance IPv4 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In some scenarios on the live network, to achieve network traffic interworking, EBGP full-mesh connections may be required. However, establishing full-mesh connections among Routers that function as ASBRs is costly and places high requirements on the performance of the Routers, which adversely affects the network topology and Router expansion. The route server function is similar to the RR function in IBGP scenarios and allows Routers to advertise routes to their clients (ASBR Routers) without changing route attributes, such as AS_Path, Nexthop, and MED. With the route server function, EBGP full-mesh connections are not required among the ASBR Routers, which reduces network resource consumption.

Precautions

The configuration of a peer takes precedence over that of the peer group to which the peer belongs.

After the route server function is enabled for a specified EBGP peer group on the local device, messages sent from the local device to the EBGP peer group do not carry the local AS number. Therefore, you need to run the peer check-first-as disable command on the peer device to disable the peer from checking the first AS number in the AS_Path attribute in the Update message sent from the local end. Otherwise, the peer end cannot accept the routes sent from the local end.

The command is mutually exclusive with the peer label-route-capability, confederation id, confederation peer-as, or confederation nonstandard command.

Example

# Enable the route server function on a device and specify an EBGP peer group as its client.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family vpn-instance vpn1
[*HUAWEI-bgp-vpn1] group test external
[*HUAWEI-bgp-vpn1] peer test route-server-client
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >