Reference Guide

Table Of Contents
app-type string Enter the application type defined by the policy: voice for a voice
application or guest-voice for a guest-voice application.
vlan-id int Enter the VLAN ID number, from 1 to 4093.
tagged bool Enter true for a tagged VLAN; enter false for an untagged VLAN.
priority int Enter the Layer 2 class-of-service (CoS) priority value for the configured VLAN,
from 0 to 7; default 0.
dscp int Enter the DSCP value for the configured VLAN (0 to 63; default 0).
Example
curl -X POST -k -u admin:admin -H "accept:application/json"
-H "Content-Type:application/json"
"https://10.11.86.113/restconf/data/dell-lldp-med:sys-config"
-d '{"media-policy":[{"policy-id": 10, "app-type":"voice",
"vlan-id":10, "tagged":"true", "priority":2, "dscp":1}]}'
Configure LLDP packet timer
RESTCONF
endpoint
/restconf/data/global-params
JSON content
{
"tx-interval": 60
}
Parameters
tx-interval int Enter the rate at which LLDPDU packets are sent to peers, from 5 to 254
seconds; default 30.
Example
curl -X POST -k -u admin:admin -H "accept:application/json"
-H "Content-Type:application/json"
"https://10.11.86.113/restconf/data/global-params" -d '{"tx-
interval":60}'
Configure LLDPDU hold time
RESTCONF
endpoint
/restconf/data/global-params
JSON content
{
"txhold-multiplier": 2
}
Parameters
txhold-multiplier int Enter the time that an LLDP peer device holds LLDP packets before
discarding them, from 2 to 10 seconds; default 4.
Example
curl -X POST -k -u admin:admin -H "accept: application/json" -H
"Content-Type: application/json"
"https://10.11.86.113/restconf/data/global-params"
-d '{"txhold-multiplier":2}'
Configure basic TLV advertisement
RESTCONF
endpoint
/restconf/data/interfaces/interface/ethernet1/1/1
JSON content
{
"interface": [{
"name": "ethernet1/1/1",
"lldp": [{
"basic-tlvs": [{
"sys-name-enable": "true"
}]
}]
754 RESTCONF API