ipv6-family sr-policy

Function

The ipv6-family sr-policy command enables the BGP IPv6 SR-MPLS TE Policy address family and displays the address family view.

The undo ipv6-family sr-policy command deletes all the configurations in the BGP IPv6 SR-MPLS TE Policy address family view.

By default, the BGP IPv6 SR-MPLS TE Policy address family is not enabled.

Format

ipv6-family sr-policy

undo ipv6-family sr-policy

Parameters

None

Views

BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

SRv6 TE Policy is a tunneling technology developed based on SRv6. An SRv6 TE Policy route dynamically generated by a controller needs to be transmitted to a forwarder through BGP extension. This function is implemented through the newly defined BGP SRv6 TE Policy subsequent address family identifier (SAFI). By establishing a BGP IPv6 SR-MPLS TE Policy address family-specific peer relationship between the controller and forwarder, this function enables the controller to deliver the SRv6 TE Policy route to the forwarder.

By default, the forwarder does not advertise the preferentially selected SRv6 TE Policy route to EBGP peers. You can run the advertise ebgp enable command to enable the forwarder to advertise the SRv6 TE Policy route to EBGP peers. After an SRv6 TE Policy is created using the SRv6 TE Policy route, different types of routes, such as EVPN, L2VPN, VPNv4, VPNv6, and public BGP routes, can be recursed to the SRv6 TE Policy.

Before you configure the BGP IPv6 SR-MPLS TE Policy address family, run the ipv6-family sr-policy command in the BGP view to enable the address family and enter the address family view.

Example

# Enable the BGP IPv6 SR-MPLS TE Policy address family and display the address family view.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv6-family sr-policy
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >