FD.io VPP  v18.07-34-g55fbdb9
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 632)

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.n

Declaration and implementation

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

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 873)

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

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

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.