A policy can be configured to allow the ingress node to establish SR-MPLS BE LSPs based on eligible routes.
After SR is enabled, a large number of SR-MPLS BE LSPs will be established if policy control is not configured. As a result, resources are wasted. To prevent resource wastes, a policy for establishing SR-MPLS BE LSPs can be configured. The policy allows the ingress to use only allowed routes to establish SR-MPLS BE LSPs.
The system view is displayed.
The IS-IS view is displayed.
A policy is configured for the ingress to establish SR-MPLS BE LSPs.
host: Host IP routes with 32-bit masks are used as the policy for the ingress to establish SR-MPLS BE LSPs.
ip-prefix: FECs that match an IP prefix list are used as the policy for the ingress to establish SR-MPLS BE LSPs.
none: The ingress is not allowed to establish SR-MPLS BE LSPs.
The configuration is committed.