policy ------ .. osdx:cfgcmd:: traffic policy .. raw:: html SDE M10-Smart M2 RS420 AresC640 Traffic policy rule set :arg txt: Traffic policy rule set name :instances: Multiple .. osdx:cfgcmd:: traffic policy description .. raw:: html SDE M10-Smart M2 RS420 AresC640 :arg txt: Traffic policy rule set description .. osdx:cfgcmd:: traffic policy rule .. raw:: html SDE M10-Smart M2 RS420 AresC640 Rule number (1-9999) :arg u32: Rule number (1-9999) :instances: Multiple .. osdx:cfgcmd:: traffic policy rule action .. raw:: html SDE M10-Smart M2 RS420 AresC640 Action to perform on a packet on rule match ('accept' by default) :instances: Unique .. osdx:cfgcmd:: traffic policy rule action accept .. raw:: html SDE M10-Smart M2 RS420 AresC640 Accept packet .. osdx:cfgcmd:: traffic policy rule action continue .. raw:: html SDE M10-Smart M2 RS420 AresC640 Continue rules processing .. osdx:cfgcmd:: traffic policy rule action drop .. raw:: html SDE M10-Smart M2 RS420 AresC640 Drop packet .. osdx:cfgcmd:: traffic policy rule action enqueue .. raw:: html SDE M10-Smart M2 RS420 AresC640 Enqueue packet :ref Reference: traffic queue * .. osdx:cfgcmd:: traffic policy rule action proxy .. raw:: html SDE M10-Smart M2 RS420 AresC640 Intercept incoming packet in a local socket :instances: Unique .. osdx:cfgcmd:: traffic policy rule action proxy tcp .. raw:: html SDE M10-Smart M2 RS420 AresC640 Intercept packet in a TCP socket :arg u32: Local port on which local socket is bound to (1-65535) .. osdx:cfgcmd:: traffic policy rule action proxy udp .. raw:: html SDE M10-Smart M2 RS420 AresC640 Intercept packet in a UDP socket :arg u32: Local port on which local socket is bound to (1-65535) .. osdx:cfgcmd:: traffic policy rule action rate-limit .. raw:: html SDE M10-Smart M2 RS420 AresC640 Drop packet if bandwidth exceeds a limit :arg float: Rate in mbit per second (0.000001-30000) :instances: Multiple .. osdx:cfgcmd:: traffic policy rule action rate-limit burst .. raw:: html SDE M10-Smart M2 RS420 AresC640 Burst size :arg N[ms/mbit]: Burst in time (ms) or length (mbit) .. osdx:cfgcmd:: traffic policy rule copy .. raw:: html SDE M10-Smart M2 RS420 AresC640 Copy packet metadata :instances: Unique .. osdx:cfgcmd:: traffic policy rule copy connmark .. raw:: html SDE M10-Smart M2 RS420 AresC640 Copy connection tracking mark :instances: Unique .. osdx:cfgcmd:: traffic policy rule copy connmark extra-mark .. raw:: html SDE M10-Smart M2 RS420 AresC640 To packet extra mark :arg int: Extra mark index (1-2) .. osdx:cfgcmd:: traffic policy rule copy connmark mark .. raw:: html SDE M10-Smart M2 RS420 AresC640 To packet mark .. osdx:cfgcmd:: traffic policy rule copy connmark tos .. raw:: html SDE M10-Smart M2 RS420 AresC640 To IPv4 TOS byte .. osdx:cfgcmd:: traffic policy rule copy extra-connmark .. raw:: html SDE M10-Smart M2 RS420 AresC640 Copy connection tracking extra mark :arg int: Extra mark index (1-2) :instances: Unique .. osdx:cfgcmd:: traffic policy rule copy extra-connmark extra-mark .. raw:: html SDE M10-Smart M2 RS420 AresC640 To packet extra mark :arg int: Extra mark index (1-2) .. osdx:cfgcmd:: traffic policy rule copy extra-connmark mark .. raw:: html SDE M10-Smart M2 RS420 AresC640 To packet mark .. osdx:cfgcmd:: traffic policy rule copy extra-connmark tos .. raw:: html SDE M10-Smart M2 RS420 AresC640 To IPv4 TOS byte .. osdx:cfgcmd:: traffic policy rule copy extra-mark .. raw:: html SDE M10-Smart M2 RS420 AresC640 Copy packet extra mark :arg int: Extra mark index (1-2) :instances: Unique .. osdx:cfgcmd:: traffic policy rule copy extra-mark connmark .. raw:: html SDE M10-Smart M2 RS420 AresC640 To connection tracking mark .. osdx:cfgcmd:: traffic policy rule copy extra-mark extra-connmark .. raw:: html SDE M10-Smart M2 RS420 AresC640 To connection tracking extra mark :arg int: Extra mark index (1-2) .. osdx:cfgcmd:: traffic policy rule copy extra-mark tos .. raw:: html SDE M10-Smart M2 RS420 AresC640 To IPv4 TOS byte .. osdx:cfgcmd:: traffic policy rule copy mark .. raw:: html SDE M10-Smart M2 RS420 AresC640 Copy packet mark .. osdx:cfgcmd:: traffic policy rule copy mark connmark .. raw:: html SDE M10-Smart M2 RS420 AresC640 To connection tracking mark .. osdx:cfgcmd:: traffic policy rule copy mark extra-connmark .. raw:: html SDE M10-Smart M2 RS420 AresC640 To connection tracking extra mark :arg int: Extra mark index (1-2) .. osdx:cfgcmd:: traffic policy rule copy mark tos .. raw:: html SDE M10-Smart M2 RS420 AresC640 To IPv4 TOS byte .. osdx:cfgcmd:: traffic policy rule copy tos .. raw:: html SDE M10-Smart M2 RS420 AresC640 Copy IPv4 TOS byte :instances: Unique .. osdx:cfgcmd:: traffic policy rule copy tos connmark .. raw:: html SDE M10-Smart M2 RS420 AresC640 To connection tracking mark .. osdx:cfgcmd:: traffic policy rule copy tos extra-connmark .. raw:: html SDE M10-Smart M2 RS420 AresC640 To connection tracking extra mark :arg int: Extra mark index (1-2) .. osdx:cfgcmd:: traffic policy rule copy tos extra-mark .. raw:: html SDE M10-Smart M2 RS420 AresC640 To packet extra mark :arg int: Extra mark index (1-2) .. osdx:cfgcmd:: traffic policy rule copy tos mark .. raw:: html SDE M10-Smart M2 RS420 AresC640 To packet mark .. osdx:cfgcmd:: traffic policy rule description .. raw:: html SDE M10-Smart M2 RS420 AresC640 :arg txt: Rule description .. osdx:cfgcmd:: traffic policy rule log .. raw:: html SDE M10-Smart M2 RS420 AresC640 Log packets matching rule .. osdx:cfgcmd:: traffic policy rule log level .. raw:: html SDE M10-Smart M2 RS420 AresC640 Specific log-level to use :arg emerg: Emergency messages :arg alert: Urgent messages :arg crit: Critical messages :arg err: Error messages :arg warn: Warning messages :arg notice: Messages for further investigation :arg info: Informational messages :arg debug: Debug messages .. osdx:cfgcmd:: traffic policy rule log prefix .. raw:: html SDE M10-Smart M2 RS420 AresC640 :arg txt: Log message prefix text, up to 29 characters .. osdx:cfgcmd:: traffic policy rule selector .. raw:: html SDE M10-Smart M2 RS420 AresC640 IP traffic selector :ref Reference: traffic selector * .. osdx:cfgcmd:: traffic policy rule set .. raw:: html SDE M10-Smart M2 RS420 AresC640 Packet modifications .. osdx:cfgcmd:: traffic policy rule set app-id .. raw:: html SDE M10-Smart M2 RS420 AresC640 Connection tracking app-id :instances: Unique .. osdx:cfgcmd:: traffic policy rule set app-id custom .. raw:: html SDE M10-Smart M2 RS420 AresC640 Selector ID for Classification Engine ID 6 (custom) :arg int: Selector ID to set (0-16777215) .. osdx:cfgcmd:: traffic policy rule set app-id engine .. raw:: html SDE M10-Smart M2 RS420 AresC640 Classification Engine ID :arg int: Engine ID to set (1-255) :instances: Multiple :ref Required: .. osdx:cfgcmd:: traffic policy rule set app-id engine selector .. raw:: html SDE M10-Smart M2 RS420 AresC640 Selector ID for Classification Engine ID :arg int: Selector ID to set (0-16777215) .. osdx:cfgcmd:: traffic policy rule set app-id l3 .. raw:: html SDE M10-Smart M2 RS420 AresC640 Selector ID for Classification Engine ID L3 :arg int: Selector ID to set (1-16777215) .. osdx:cfgcmd:: traffic policy rule set app-id l4 .. raw:: html SDE M10-Smart M2 RS420 AresC640 Selector ID for Classification Engine ID L4 :arg int: Selector ID to set (1-16777215) .. osdx:cfgcmd:: traffic policy rule set connmark .. raw:: html SDE M10-Smart M2 RS420 AresC640 Set connmark using a specific value :arg int: Packet marking (0-2147483647) .. osdx:cfgcmd:: traffic policy rule set dscp .. raw:: html SDE M10-Smart M2 RS420 AresC640 Differentiated Services Code Point :arg int: DSCP (0-63) .. osdx:cfgcmd:: traffic policy rule set ecn .. raw:: html SDE M10-Smart M2 RS420 AresC640 Explicit Congestion Notification :arg int: ECN (0-3) .. osdx:cfgcmd:: traffic policy rule set extra-mark .. raw:: html SDE M10-Smart M2 RS420 AresC640 Packet extra marking :arg int: Extra mark index (1-2) :instances: Multiple .. osdx:cfgcmd:: traffic policy rule set extra-mark value .. raw:: html SDE M10-Smart M2 RS420 AresC640 Packet extra marking :arg int: Packet extra marking (0-2147483647) .. osdx:cfgcmd:: traffic policy rule set hoplimit .. raw:: html SDE M10-Smart M2 RS420 AresC640 Hoplimit for IPv6 packets :arg int: Hoplimit (0-255) .. osdx:cfgcmd:: traffic policy rule set ipv6-dscp .. raw:: html SDE M10-Smart M2 RS420 AresC640 Differentiated Services Code Point for IPv6 packets :arg int: DSCP (0-63) .. osdx:cfgcmd:: traffic policy rule set ipv6-ecn .. raw:: html SDE M10-Smart M2 RS420 AresC640 Explicit Congestion Notification :arg int: ECN (0-3) .. osdx:cfgcmd:: traffic policy rule set label .. raw:: html SDE M10-Smart M2 RS420 AresC640 Set a label into the packet :ref Reference: traffic label * :instances: List of values .. osdx:cfgcmd:: traffic policy rule set mark .. raw:: html SDE M10-Smart M2 RS420 AresC640 Packet marking :arg int: Packet marking (0-2147483647) :instances: Multiple .. osdx:cfgcmd:: traffic policy rule set mark connmark-cache .. raw:: html SDE M10-Smart M2 RS420 AresC640 Enable connmark cache .. osdx:cfgcmd:: traffic policy rule set tcp-mss .. raw:: html SDE M10-Smart M2 RS420 AresC640 Maximum segment size :arg int: "Segment size" (0-65535) .. osdx:cfgcmd:: traffic policy rule set tos .. raw:: html SDE M10-Smart M2 RS420 AresC640 Type Of Service :arg int: TOS (0-255) .. osdx:cfgcmd:: traffic policy rule set ttl .. raw:: html SDE M10-Smart M2 RS420 AresC640 Time to Live :arg int: TTL (0-255) .. osdx:cfgcmd:: traffic policy rule set vrf .. raw:: html SDE M10-Smart M2 RS420 AresC640 Set mark using a VRF identifier :ref Reference: system vrf * :instances: Multiple .. osdx:cfgcmd:: traffic policy rule set vrf connmark-cache .. raw:: html SDE M10-Smart M2 RS420 AresC640 Enable connmark cache .. osdx:cfgcmd:: traffic policy rule set vrf-connmark .. raw:: html SDE M10-Smart M2 RS420 AresC640 Set connmark using a VRF identifier :ref Reference: system vrf *