FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
src/vnet/srmpls

show sr mpls policies

Summary/usage

show sr mpls policies.

Declaration and implementation

Declaration: show_sr_mpls_policies_command (src/vnet/srmpls/sr_mpls_policy.c line 651)

Implementation: show_sr_mpls_policies_command_fn.

show sr mpls steering policies

Summary/usage

show sr mpls steering policies.

Declaration and implementation

Declaration: show_sr_mpls_steering_policies_command (src/vnet/srmpls/sr_mpls_steering.c line 875)

Implementation: show_sr_mpls_steering_policies_command_fn.

sr mpls policy

Summary/usage

sr mpls policy [add||del||mod] bsid 2999 next 10 next 20 next 30 (weight 1) (spray).

Long help

TBD.

Declaration and implementation

Declaration: sr_mpls_policy_command (src/vnet/srmpls/sr_mpls_policy.c line 572)

Implementation: sr_mpls_policy_command_fn.

sr mpls policy te

Summary/usage

sr mpls policy te bsid xxxxx endpoint x.x.x.x color 12341234.

Declaration and implementation

Declaration: cli_sr_mpls_policy_ec_command (src/vnet/srmpls/sr_mpls_policy.c line 892)

Implementation: cli_sr_mpls_policy_ec_command_fn.

sr mpls steer

Summary/usage

sr mpls steer (del) l3 <ip_addr/mask> via [sr policy bsid <mpls_label> || next-hop <ip46_addr> color <u32> co <0|1|2|3> ](fib-table <fib_table_index>)(vpn-label 500).

Long help

    Steer L3 traffic through an existing SR policy.
    Examples:
            sr steer l3 2001::/64 via sr_policy bsid 29999
            sr steer del l3 2001::/64 via sr_policy bsid 29999
            sr steer l3 2001::/64 via next-hop 1.1.1.1 color 1234 co 0
            sr steer l3 2001::/64 via next-hop 2001::1 color 1234 co 2 vpn-label 500

Declaration and implementation

Declaration: sr_mpls_steer_policy_command (src/vnet/srmpls/sr_mpls_steering.c line 774)

Implementation: sr_mpls_steer_policy_command_fn.