Creating an SRv6 TE Policy Attribute Template

An SRv6 TE Policy attribute template can be used to implement batch configuration, minimizing the configuration workload and improving configuration efficiency.

Context

Currently, you can use the SRv6 TE Policy attribute template to configure multiple functions, including SBFD, BFD bypass/no-bypass, hot standby, fault detection, and traffic statistics collection. These functions can also be configured globally in the Segment Routing IPv6 view or individually in the SRv6 TE Policy view.

If a function is configured using all of the three methods, the individual configuration in the SRv6 TE Policy view has the highest priority, followed by the configuration in the SRv6 TE Policy attribute template. The global configuration in the Segment Routing IPv6 view has the lowest priority.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run segment-routing policy-template template-value

    An SR Policy attribute template is created.

  3. Run description description-value

    A description is configured for the attribute template.

  4. Run bfd { seamless | unaffiliated } enable

    The BFD function in the attribute template is enabled.

  5. Run bfd { no-bypass | bypass }

    The BFD bypass/no-bypass function in the attribute template is enabled.

  6. Run backup hot-standby { enable | disable }

    The hot standby function in the attribute template is enabled or disabled.

  7. Run path verification { [ specified-sid ] enable | disable }

    The fault detection function in the attribute template is enabled or disabled.

  8. Run traffic-statistics { enable | disable }

    The traffic statistics collection function in the attribute template is enabled or disabled.

  9. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >