Traffic Management: General Configuration

Set Traffic Management JSON configuration

{
    "active_ruleset": 5
}

Get Traffic Management JSON configuration

{
    "active_ruleset": null,
    "state": {
        "rule_counters": [],
        "resource_use": 0,
        "ptp_state": {
            "active": true,
            "ptp_master_mac": "aa:aa:aa:aa:aa:aa",
            "ptp_master_ip": "10.10.10.33",
            "clock_offset": 0,
            "path_delay": 0,
            "time_sync": 1231231231,
            "clk_id": 12312,
            "sync_state": "sync_freerun"
        }
    },
    "available_actions": [
        "drop",
        "vlan_tag",
        "vlan_strip",
        "slicing",
        "gtp_ip_drop",
        "gtp_ip6_drop",
        "gtp_ip_allow",
        "gtp_ip6_allow",
        "erspan_strip",
        "erspan_tunnel",
        "vxlan_strip",
        "mpls_strip"
    ],
    "available_ingress_actions": [
        "ingress_vlan_tag",
        "ingress_vlan_strip"
    ],
    "available_time_port": false,
    "allow_loopback_rules": false,
    "max_ingress_vlan_tag_id": 4035
}