OS10 Enterprise Edition User Guide Release 10.4.1.0

PDF

LLDP

Create LLDP-MED network policy for voice applications

RESTCONF endpoint
/restconf/data/dell-lldp-med:sys-config
JSON content
{
                                       	"media-policy": [{
                                       		"policy-id": 10,
                                       		"app-type": "voice",
                                       		"vlan-id": 10,
                                       		"tagged": "true",
                                       		"priority": 2,
                                       		"dscp": 1
                                       	}]
                                       }
                                    
Parameters
  • policy-id int — Enter the LLDP-MED network policy number, from 1 to 32.
  • 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"
                                       			}]
                                       		}]
                                       	}]
                                       }
                                    
Parameters
  • ethernet-interface — Enter the physical Ethernet interface in the format ethernet node/slot/port .
  • name string — Enter ethernet node/slot/port to configure the interface that sends LLDPDUs with the specified TLVs.
  • sys-name-enable bool — Enter true to enable system TLV advertisement on the interface; enter false to disable system TLV advertisement.
Example
curl -X PATCH -u admin:admin 
                                       -k "https://10.11.86.113/restconf/data/interfaces/interface/ethernet1%2F1%2F1" 
                                       -H "accept:application/json"  -H "Content-Type:application/json" 
                                       -d '{"interface":[{"name":"ethernet1/1/1", "lldp":[{"basic-tlvs":
                                       [{"sys-name-enable":"true"}]}]}]}'
                                    

Configure dot3 TLV advertisement

RESTCONF endpoint
/restconf/data/interfaces/interface/ethernet1/1/1
JSON content
{
                                       	"interface": [{
                                       		"name": "ethernet1/1/1",
                                       		"lldp": [{
                                       			"dot3-tlvs": [{
                                       				"mac-phy-config-enable": "true",
                                       				"max-frame-size-enable": "true"
                                       			}]
                                       		}]
                                       	}]
                                       }
                                    
Parameters
  • ethernet-interface — Enter the physical Ethernet interface in the format ethernet node/slot/port .
  • name string — Enter ethernet node/slot/port to identify the interface that sends LLDPDUs with the specified TLVs.
  • mac-phy-config-enable bool — Enter true to enable MAC/PHY configuration/status TLV advertisement on the interface; enter false to disable VLAN ID TLV advertisement.
  • max-frame-size-enable bool — Enter true to enable maximum-frame-size TLV advertisement on the interface; enter false to disable maximum-frame-size TLV advertisement.
  • linkagg-enable bool — Enter true to enable link-aggregation TLV advertisement on the interface; enter false to disable link-aggregation TLV advertisement.
Example
curl -X PATCH -u admin:admin 
                                       -k "https://10.11.86.113/restconf/data/interfaces/interface/ethernet1%2F1%2F1" 
                                       -H "accept: application/json"  
                                       -H "Content-Type: application/json" 
                                       -d '{"interface": [{"name":"ethernet1/1/1", "lldp":[{"dot3-tlvs":
                                       [{"mac-phy-config-enable":"true","max-frame-size-enable":"true"}]}]}]}'
                                    
curl -X PATCH -u admin:admin 
                                       -k "https://10.11.86.113/restconf/data/interfaces/interface/ethernet1%2F1%2F1" 
                                       -H "accept: application/json"  
                                       -H "Content-Type: application/json" 
                                       -d '{"interface":[{"name":"ethernet1/1/1", "lldp":[{"dot3-tlvs":
                                       [{"linkagg-enable":"true"}]}]}]}'
                                    

Enable LLDP-MED network policy advertisement

RESTCONF endpoint
/restconf/data/interfaces/interface/ethernet1/1/1
JSON content
{
                                       	"interface": [{
                                       		"name": "ethernet1/1/1",
                                       		"lldp-med-cfg": [{
                                       			"policy-id": 1
                                       		}]
                                       	}]
                                       }
                                    
Parameters
  • ethernet-interface — Enter the physical Ethernet interface in the format ethernet node/slot/port .
  • name string — Enter ethernet node/slot/port to configure the interface that sends LLDP-MED policy TLVs.
  • policy-id int — Enter the LLDP-MED network policy number, from 1 to 32.
Example
curl -X PATCH -u admin:admin 
                                       -k "https://10.11.86.113/restconf/data/interfaces/interface/ethernet1%2F1%2F1" 
                                       -H "accept:application/json"  -H "Content-Type:application/json" 
                                       -d '{"interface":[{"name":"ethernet1/1/1", "lldp-med-cfg":
                                       [{"policy-id":1}]}]}'
                                    

Disable TLV advertisement

RESTCONF endpoint
/restconf/data/interfaces/interface/ethernet1/1/1
JSON content
{
                                       	"interface": [{
                                       		"name": "ethernet1/1/1",
                                       		"lldp": [{
                                       			"basic-tlvs": [{
                                       				"sys-name-enable": "false"
                                       			}],
                                       			"dot3-tlvs": [{
                                       				"mac-phy-config-enable": "false",
                                       				"max-frame-size-enable": "false",
                                       				"linkagg-enable": "false"
                                       			}]
                                       		}]
                                       	}]
                                       }
                                    
Parameters
  • ethernet-interface — Enter the physical Ethernet interface in the format ethernet node/slot/port .
  • name string — Enter ethernet node/slot/port to identify the interface that sends LLDPDUs with the specified TLVs.
  • sys-name-enable bool — Enter false to disable system TLV advertisement on the interface; enter true to re-enable system TLV advertisement.
  • mac-phy-config-enable bool — Enter false to disable MAC/PHY configuration/status TLV advertisement on the interface; enter true to re-enable VLAN ID TLV advertisement.
  • max-frame-size-enable bool — Enter false to disable maximum-frame-size TLV advertisement on the interface; enter true to re-enable maximum-frame-size TLV advertisement.
  • linkagg-enable bool — Enter false to disable link-aggregation TLV advertisement on the interface; enter true to re-enable link-aggregation TLV advertisement.
Example
curl -X PATCH -u admin:admin 
                                       -k "https://10.11.86.113/restconf/data/interfaces/interface/ethernet1%2F1%2F1" 
                                       -H "accept: application/json"  -H "Content-Type: application/json" 
                                       -d '{"interface":[{"name":"ethernet1/1/1", "lldp":[{"basic-tlvs":
                                       [{"sys-name-enable":"false"}], "dot3-tlvs":[{"mac-phy-config-enable":
                                       "false","max-frame-size-enable":"false", "linkagg-enable":"false"}]}]}]}'
                                    

Disable LLDP-MED network policy advertisement

RESTCONF endpoint
/restconf/data/dell-lldp-med:sys-config/media-policy/10
JSON content
None
Parameters
  • ethernet-interface — Enter the physical Ethernet interface in the format ethernet node/slot/port .
  • name string — Enter ethernet node/slot/port to configure the interface that sends LLDP-MED policy TLVs.
  • policy-id int — Enter the LLDP-MED network policy number, from 1 to 32.
Example
curl -X DELETE -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/media-policy/10
                                    

Remove configured LLDP packet timer — Reset to default

RESTCONF endpoint
/restconf/data/global-params/tx-interval
JSON content
None
Example
curl -X DELETE -k -u admin:admin -H "accept:application/json" 
                                       -H "Content-Type:application/json"  
                                       "https://10.11.86.113/restconf/data/global-params/tx-interval"
                                    

Remove configured LLDPDU hold time — Reset to default

RESTCONF endpoint
/restconf/data/global-params/txhold-multiplier
JSON content
None
Example
curl -X DELETE -k -u admin:admin  -H "accept:application/json" 
                                       -H "Content-Type:application/json"  
                                       "https://10.11.86.113/restconf/data/global-params/txhold-multiplier"
                                    

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\