Download full document:

lldpneighbors

Configuration for lldp neighbors resource.

Properties

(click to see Operations)

Name Data Type PermissionsDescription
ifnum<String>Read-writeInterface Name.
chassisidsubtype<String>Read-onlyChassis id sub type.<br>Possible values = NONE, Component, Interface Alias, Port Component, MAC Address, Network Address, Interface Name, Locally Assigned
chassisid<String>Read-onlyChassis Id.
portidsubtype<String>Read-onlyPort id subtype.<br>Possible values = NONE, Interface Alias, Port Component, MAC Address, Network Address, Interface Name, Agent Circuit ID, Locally Assigned
portid<String>Read-onlyPort Id.
ttl<Double>Read-onlyTime to Live.
portdescription<String>Read-onlyPort Description.
sys<String>Read-onlySystem Name.
sysdesc<String>Read-onlySystem Description.
mgmtaddresssubtype<String>Read-onlyManagement Address Type.<br>Possible values = OTHER, IPv4, IPv6
mgmtaddress<String>Read-onlyManagement Address.
iftype<String>Read-onlyInterface subtype.<br>Possible values = UNKNOWN, ifIndex, system port number
ifnumber<Double>Read-onlyInterface Number.
vlan<String>Read-onlyvlan name.
vlanid<Double>Read-onlyVlan Id.
portprotosupported<Double>Read-onlyFlag to show Port Protocol Support.
portprotoenabled<Double>Read-onlyFlag to show Port Protocol support enabled.
portprotoid<Double>Read-onlyPort Protocol ID.
portvlanid<Double>Read-onlyPort Vlan Id.
protocolid<String>Read-onlyport vlan id name.
linkaggrcapable<String>Read-onlyIs neighbor Link Aggregation Capable.<br>Possible values = NO, YES
linkaggrenabled<String>Read-onlyIs link aggregation Enabled.<br>Possible values = NO, YES
linkaggrid<Double>Read-onlyLink Aggregation Id.
flag<Double>Read-only.
syscapabilities<String>Read-onlyAcronyms for remote system capabilities: OT : Other. RE : Repeater(IETF RFC 2108). BR : MAC Bridge(IEEE Std 802.1D). WL : WLAN Access Point(IEEE Std 802.11 MIB). RO : ROuter(IETF RFC 1812). TE : Telephone(IETF RFC 4293). DO : DOCSIS cable device(IETF RFC 4639 and IETF RFC 4546). ST : STation only(IETF RFC 4293). CV : C-VLAN component of a VLAN Bridge(IEEE Std 802.1Q). SV : S-VLAN component of a VLAN Bridge(IEEE Std 802.1Q). MR : Two port MAC Relay(IEEE Std 802.1Q).
syscapenabled<String>Read-onlyAcronyms for remote system enabled capabilities: OT : Other. RE : Repeater(IETF RFC 2108). BR : MAC Bridge(IEEE Std 802.1D). WL : WLAN Access Point(IEEE Std 802.11 MIB). RO : ROuter(IETF RFC 1812). TE : Telephone(IETF RFC 4293). DO : DOCSIS cable device(IETF RFC 4639 and IETF RFC 4546). ST : STation only(IETF RFC 4293). CV : C-VLAN component of a VLAN Bridge(IEEE Std 802.1Q). SV : S-VLAN component of a VLAN Bridge(IEEE Std 802.1Q). MR : Two port MAC Relay(IEEE Std 802.1Q).
autonegsupport<String>Read-onlyMAC/PHY autonegotiation support.<br>Possible values = NO, YES
autonegenabled<String>Read-onlyMAC/PHY autonegotiation enabled.<br>Possible values = NO, YES
autonegadvertised<String>Read-onlyMAC/PHY autonegotiation advetised.
autonegmautype<String>Read-onlyMAC/PHY Medium Attachment Unit (MAU) type of the port. Description listed below: AUI - no internal MAU, view from AUI 10Base5 - thick coax MAU Foirl - FOIRL MAU 10Base2 - thin coax MAU 10BaseT - UTP MAU 10BaseFP - passive fiber MAU 10BaseFB - sync fiber MAU 10BaseFL - async fiber MAU 10Broad36 - broadband DTE MAU 10BaseTHD - UTP MAU, half duplex mode 10BaseTFD - UTP MAU, full duplex mode 10BaseFLHD - async fiber MAU, half duplex mode 10BaseFLDF - async fiber MAU, full duplex mode 10BaseT4 - 4 pair category 3 UTP 100BaseTXHD - 2 pair category 5 UTP, half duplex mode 100BaseTXFD - 2 pair category 5 UTP, full duplex mode 100BaseFXHD - X fiber over PMT, half duplex mode 100BaseFXFD - X fiber over PMT, full duplex mode 100BaseT2HD - 2 pair category 3 UTP, half duplex mode 100BaseT2DF - 2 pair category 3 UTP, full duplex mode 1000BaseXHD - PCS/PMA, unknown PMD, half duplex mode 1000BaseXFD - PCS/PMA, unknown PMD, full duplex mode 1000BaseLXHD - Fiber over long-wavelength laser, half duplex mode 1000BaseLXFD - Fiber over long-wavelength laser, full duplex mode 1000BaseSXHD - Fiber over short-wavelength laser, half duplex mode 1000BaseSXFD - Fiber over short-wavelength laser, full duplex mode 1000BaseCXHD - Copper over 150-Ohm balanced cable, half duplex mode 1000BaseCXFD - Copper over 150-Ohm balanced cable, full duplex mode 1000BaseTHD - Four-pair Category 5 UTP, half duplex mode 1000BaseTFD - Four-pair Category 5 UTP, full duplex mode 10GigBaseX - X PCS/PMA, unknown PMD 10GigBaseLX4 - X fiber over WWDM optics 10GigBaseR - R PCS/PMA, unknown PMD 10GigBaseER - R fiber over 1550 nm optics 10GigBaseLR - R fiber over 1310 nm optics 10GigBaseSR - R fiber over 850 nm optics 10GigBaseW - W PCS/PMA, unknown PMD 10GigBaseEW - W fiber over 1550 nm optics 10GigBaseLW - W fiber over 1310 nm optics 10GigBaseSW - W fiber over 850 nm optics.<br>Possible values = Not Recieved, AUI, 10Base5, Foirl, 10Base2, 10BaseT, 10BaseFP, 10BaseFB, 10BaseFL, 10Broad36, 10BaseTHD, 10BaseTFD, 10BaseFLHD, 10BaseFLDF, 10BaseT4, 100BaseTXHD, 100BaseTXFD, 100BaseFXHD, 100BaseFXFD, 100BaseT2HD, 100BaseT2DF, 1000BaseXHD, 1000BaseXFD, 1000BaseLXHD, 1000BaseLXFD, 1000BaseSXHD, 1000BaseSXFD, 1000BaseCXHD, 1000BaseCXFD, 1000BaseTHD, 1000BaseTFD, 10GigBaseX, 10GigBaseLX4, 10GigBaseR, 10GigBaseER, 10GigBaseLR, 10GigBaseSR, 10GigBaseW, 10GigBaseEW, 10GigBaseLW, 10GigBaseSW
mtu<Double>Read-onlyMTU of Remote Device.
__count<Double>Read-onlycount parameter

Operations

(click to see Properties)

CLEAR | GET (ALL) | GET | COUNT

Some options that you can use for each operations:

  • Getting warnings in response: NITRO allows you to get warnings in an operation by specifying the "warning" query parameter as "yes". For example, to get warnings while connecting to the NetScaler appliance, the URL is as follows:

    http://<netscaler-ip-address>/nitro/v1/config/login?warning=yes

    If any, the warnings are displayed in the response payload with the HTTP code "209 X-NITRO-WARNING".

  • Authenticated access for individual NITRO operations: NITRO allows you to logon to the NetScaler appliance to perform individual operations. You can use this option instead of creating a NITRO session (using the login object) and then using that session to perform all operations,

    To do this, you must specify the username and password in the request header of the NITRO request as follows:

    X-NITRO-USER:<username>

    X-NITRO-PASS:<password>

    Note: In such cases, make sure that the request header DOES not include the following:

    Cookie:NITRO_AUTH_TOKEN=<tokenvalue>

Note:

Mandatory parameters are marked in red and placeholder content is marked in <green>.

clear

URL: http://<NSIP>/nitro/v1/config/

HTTP Method: POST

Request Payload:

object={
"params":{
      "warning":<String_value>,
      "onerror":<String_value>,
      "action":"clear"
},
"sessionid":"##sessionid",
"lldpneighbors":{
}}

Response Payload:

{ "errorcode": 0, "message": "Done", "severity": }

get (all)

URL: http://<NSIP>/nitro/v1/config/lldpneighbors

Query-parameters:

filter

http://<NSIP>/nitro/v1/config/lldpneighbors?filter=property-name1:property-val1,property-name2:property-val2

Use this query-parameter to get the filtered set of lldpneighbors resources configured on NetScaler.Filtering can be done on any of the properties of the resource.

view

http://<NS_IP>/nitro/v1/config/lldpneighbors?view=summary

Use this query-parameter to get the summary output of lldpneighbors resources configured on NetScaler.

pagesize=#no;pageno=#no

http://<NS_IP>/nitro/v1/config/lldpneighbors?pagesize=#no;pageno=#no

Use this query-parameter to get the lldpneighbors resources in chunks.

warning

http://<NS_IP>/nitro/v1/config/lldpneighbors?warning=yes

Use this query parameter to get warnings in nitro response. If this field is set to YES, warning message will be sent in 'message' field and 'WARNING' value is set in severity field of the response in case there is a

HTTP Method: GET

Response Payload:

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "lldpneighbors": [ {
      "ifnum":<String_value>,
      "chassisidsubtype":<String_value>,
      "chassisid":<String_value>,
      "portidsubtype":<String_value>,
      "portid":<String_value>,
      "ttl":<Double_value>,
      "portdescription":<String_value>,
      "sys":<String_value>,
      "sysdesc":<String_value>,
      "mgmtaddresssubtype":<String_value>,
      "mgmtaddress":<String_value>,
      "iftype":<String_value>,
      "ifnumber":<Double_value>,
      "vlan":<String_value>,
      "vlanid":<Double_value>,
      "portprotosupported":<Double_value>,
      "portprotoenabled":<Double_value>,
      "portprotoid":<Double_value>,
      "portvlanid":<Double_value>,
      "protocolid":<String_value>,
      "linkaggrcapable":<String_value>,
      "linkaggrenabled":<String_value>,
      "linkaggrid":<Double_value>,
      "flag":<Double_value>,
      "syscapabilities":<String_value>,
      "syscapenabled":<String_value>,
      "autonegsupport":<String_value>,
      "autonegenabled":<String_value>,
      "autonegadvertised":<String_value>,
      "autonegmautype":<String_value>,
      "mtu":<Double_value>

}]}

get

URL: http://<NS_IP>/nitro/v1/config/lldpneighbors/ifnum_value<String>

HTTP Method: GET

Response Payload:

{ "errorcode": 0, "message": "Done", "lldpneighbors": [ {
      "ifnum":<String_value>,
      "chassisidsubtype":<String_value>,
      "chassisid":<String_value>,
      "portidsubtype":<String_value>,
      "portid":<String_value>,
      "ttl":<Double_value>,
      "portdescription":<String_value>,
      "sys":<String_value>,
      "sysdesc":<String_value>,
      "mgmtaddresssubtype":<String_value>,
      "mgmtaddress":<String_value>,
      "iftype":<String_value>,
      "ifnumber":<Double_value>,
      "vlan":<String_value>,
      "vlanid":<Double_value>,
      "portprotosupported":<Double_value>,
      "portprotoenabled":<Double_value>,
      "portprotoid":<Double_value>,
      "portvlanid":<Double_value>,
      "protocolid":<String_value>,
      "linkaggrcapable":<String_value>,
      "linkaggrenabled":<String_value>,
      "linkaggrid":<Double_value>,
      "flag":<Double_value>,
      "syscapabilities":<String_value>,
      "syscapenabled":<String_value>,
      "autonegsupport":<String_value>,
      "autonegenabled":<String_value>,
      "autonegadvertised":<String_value>,
      "autonegmautype":<String_value>,
      "mtu":<Double_value>

}]}

count

URL: http://<NS_IP>/nitro/v1/config/lldpneighbors?count=yes

HTTP Method: GET

Response Payload:

{ "errorcode": 0, "message": "Done",lldpneighbors: [ { "__count": "#no"} ] }