Trust DSCP

Enables or disables Layer 3 trust mode on an Ethernet interface. The URI to enable or disable is:

/interfaces/interface=ethernet%201%2F1%2F1/ethernet/trust-dscp

Use the following PUT method to enable trust DSCP:

 {
   "icxopenconfig-if-trust-dscp-aug:trust-dscp":{
        "config":{
             "enabled":true
        }
    }
}

Use the following PATCH method to disable trust DSCP:

 {
   "icxopenconfig-if-trust-dscp-aug:trust-dscp":{
        "config":{
             "enabled":false
        }
    }
}

The DELETE URI is:

/interfaces/interface=ethernet%201%2F1%2F1/ethernet/trust-dscp

Supported HTTP Operations

GET method

URL: https://<management IP port>/restconf/data/interfaces/interface=ethernet%201%2F1%2F1/ethernet/trust-dscp
Request body: None
Response body:     
{
    "icx-openconfig-if-trust-dscp-aug:trust-dscp":{
         "config":{
              "enabled":true
         },
         "state":{
              "enabled":true
         }
    }
}

PATCH method

URL: https://<management IP port>/restconf/data/interfaces/interface=ethernet%201%2F1%2F1/ethernet/trust-dscp  
Request body:      
{
    "icx-openconfig-if-trust-dscp-aug:trust-dscp":{
         "config":{
              "enabled":true
         }
    }
}
Response body: None

PUT method

URL: https://<management IP port>/restconf/data/interfaces/interface=ethernet%201%2F1%2F1/ethernet/trust-dscp
Request body:      
{
    "icx-openconfig-if-trust-dscp-aug:trust-dscp":{
         "config":{
              "enabled":true
         }
    }
}
Response body: None