Clever Geek Handbook
📜 ⬆️ ⬇️

Netgear NSDP

NSDP ( Netgear Switch Discovery Protocol - Netgear Switch Detection Protocol ) is a protocol created by Netgear to manage certain families of network equipment.

NTDS
TitleNetgear Switch Discovery Protocol
Level ( OSI model )Applied
FamilyTCP / IP
Port / ID63321, 63322, 63323, 63324
Protocol PurposeNetgear Layer 2 Switch Management

Content

  • 1 Message format
    • 1.1 General message header
    • 1.2 Format of entries in the message body
  • 2 Protocol Examples
  • 3 Device Protocol Support
  • 4 Device Software Update
  • 5 See also
  • 6 References

Message Format

General Post Title

BiasLengthValue
0x0000oneProtocol version - always 0x01
0x0001oneOperation code: can take the value 0x01 - read, 0x02 - response to the read operation, 0x03 - write, 0x04 - response to the write operation
0x00022Operation result
0x0004fourUnknown
0x00086Sender MAC Address
0x000e6Recipient MAC address (value 00: 00: 00: 00: 00: 00 is treated as a broadcast address, the request will be processed by all devices that received the message)
0x00142Not known
0x00162Sequence number of the message (the value of the field should increase with each packet sent)
0x0018fourNSDP Signature
0x001CfourNot known
0x0020NThe body of the message consists of a sequence of records in TLV format
0x0020 + NfourMessage End Marker 0x0000FFFF

Message body format

Records in the message body are in TLV format (type - length - value). The type can take one of the values ​​specified in the table (the list is incomplete):

Type ofValue
0x0001Equipment model
0x0003Name (set manually when setting up the equipment)
0x0004Device MAC address
0x0006Device IP address (not supported by all devices)
0x0007Mask of the device’s IP network (not supported by all devices)
0x0008The IP address of the router on the device’s network (not supported by all devices)
0x000aadministrator password (in software version 01.02.02 and higher, the password is transmitted in encrypted form)
0x000ddevice software version (not supported by all devices)

Protocol Examples

Discovery of devices on the network (receiving MAC address and device model):

MAC Node = XX: XX: XX: XX: XX: XX: XX from UDP port 63321 or 63323 sends a packet

to broadcast IP address 255.255.255.255 UDP port 63322 or 63324

Header @ 0x00000000 0x01 0x01 0x000000000000 0xXXXXXXXXXXXX 0x000000000000 0x0000 0x0001 0x4E534450 0x00000000

Body @ 0x00000020 0x0001 0x0000 0x0004 0x0000

Marker @ 0x00000028 0x0000FFFF

Each device responds with a message of the form:

Header @ 0x00000000 0x01 0x02 0x000000000000 0xXXXXXXXXXXXXX 0xYYYYYYYYYYYY 0x0000 0x0001 0x4E534450 0x00000000

Body @ 0x00000020 0x0001 0x0028 0x47 0x53 0x31 0x30 0x35 0x45 0x20 * 0x22 0x0004 0x0006 0xYYYYYYYYYYYYY

Marker @ 0x00000058 0x0000FFFF

Device Protocol Support

  • GS105E ProsafePlus
  • GS108E ProsafePlus
  • FS116E (does not support IP- related TLVs as well as device software version)
  • FS726TP (uses UDP ports 633323 and 63324 for messaging)

Device Software Update

The device software is updated using the TFTP protocol, but to start the TFTP server on the device, it needs to send a command via the NSDP protocol

See also

  • IP
  • UDP
  • MAC
  • Netgear

Links

  • Official Russian site Netgear
  • Cross-platform utility project site for Perl Netgear hardware configuration using NSDP
  • An open source utility site for configuring ProSafe line switches using NSDP
  • NSDP Protocol Plug-in for WireShark Network Traffic Analyzer
Source - https://ru.wikipedia.org/w/index.php?title=Netgear_NSDP&oldid=84702471


More articles:

  • Burns, Thomas Matthew
  • Graziosi, Andrea
  • Dracula: Resurrection
  • Lupolovo (suburb of Mogilev)
  • Practical Shooting
  • Battle of Liss
  • Yuri Vladimirovich (Prince of Pinsk)
  • Stallions, Nikolai Grigoryevich
  • Klimenko, Vladimir Viktorovich
  • Great Britain at the 1960 Summer Olympics

All articles

Clever Geek | 2019