|
The Assimilation Monitoring Project
|
|
Macros | |
| #define | CDP_TLV_DEVID 0x0001 |
| Hostname of the device or hardware serial number in ASCII. More... | |
| #define | CDP_TLV_ADDRESS 0x0002 |
| The L3 address of the interface that has sent the update. More... | |
| #define | CDP_TLV_PORTID 0x0003 |
| The port from which the CDP update has been sent. More... | |
| #define | CDP_TLV_CAPS 0x0004 |
| Bit mask describing the functional capabilities of the device. More... | |
| #define | CDP_TLV_VERS 0x0005 |
| A character string containing the software version (same as in show version). More... | |
| #define | CDP_TLV_PLATFORM 0x0006 |
| Hardware platform, such as WS-C5000, WS-C6009, or Cisco RSP. More... | |
| #define | CDP_TLV_IPPREFIX 0x0007 |
| 4 bytes of IPv4 network prefix + 1 byte of CIDR-style netmask More... | |
| #define | CDP_TLV_HELLO 0x0008 |
| Protocol-Hello - encapsulates some other protocol. More... | |
| #define | CDP_TLV_VTPDOMAIN 0x0009 |
| The VTP Domain, if configured on the device. More... | |
| #define | CDP_TLV_NATIVEVLAN 0x000A |
| In dot1q, this is the untagged VLAN. More... | |
| #define | CDP_TLV_DUPLEX 0x000B |
| This field contains the duplex setting of the sending port. More... | |
| #define | CDP_TLV_APPLID 0x000E |
| Appliance ID - auxiliary vlan ID for a VOIP phone. More... | |
| #define | CDP_TLV_POWER 0x0010 |
| Power consumption in milliwatts. More... | |
| #define CDP_TLV_ADDRESS 0x0002 |
| #define CDP_TLV_APPLID 0x000E |
| #define CDP_TLV_CAPS 0x0004 |
| #define CDP_TLV_DEVID 0x0001 |
Hostname of the device or hardware serial number in ASCII.
**This is one of the two CDP values our client code pays attention to.
Definition at line 33 of file cdp.h.
Referenced by get_cdp_chassis_id().
| #define CDP_TLV_DUPLEX 0x000B |
| #define CDP_TLV_HELLO 0x0008 |
| #define CDP_TLV_IPPREFIX 0x0007 |
| #define CDP_TLV_NATIVEVLAN 0x000A |
| #define CDP_TLV_PLATFORM 0x0006 |
| #define CDP_TLV_PORTID 0x0003 |
The port from which the CDP update has been sent.
**This is one of the two CDP values our client code pays attention to.
Definition at line 36 of file cdp.h.
Referenced by get_cdp_port_id().
| #define CDP_TLV_VERS 0x0005 |