The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CDP: Known values for TLV types
Collaboration diagram for CDP: Known values for TLV types:

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...
 

Detailed Description

See Also
get_cdptlv_type

Macro Definition Documentation

#define CDP_TLV_ADDRESS   0x0002

The L3 address of the interface that has sent the update.

Definition at line 35 of file cdp.h.

#define CDP_TLV_APPLID   0x000E

Appliance ID - auxiliary vlan ID for a VOIP phone.

Definition at line 46 of file cdp.h.

#define CDP_TLV_CAPS   0x0004

Bit mask describing the functional capabilities of the device.

Definition at line 38 of file cdp.h.

#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

This field contains the duplex setting of the sending port.

Definition at line 45 of file cdp.h.

#define CDP_TLV_HELLO   0x0008

Protocol-Hello - encapsulates some other protocol.

Definition at line 42 of file cdp.h.

#define CDP_TLV_IPPREFIX   0x0007

4 bytes of IPv4 network prefix + 1 byte of CIDR-style netmask

Definition at line 41 of file cdp.h.

#define CDP_TLV_NATIVEVLAN   0x000A

In dot1q, this is the untagged VLAN.

Definition at line 44 of file cdp.h.

#define CDP_TLV_PLATFORM   0x0006

Hardware platform, such as WS-C5000, WS-C6009, or Cisco RSP.

Definition at line 40 of file cdp.h.

#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_POWER   0x0010

Power consumption in milliwatts.

Definition at line 47 of file cdp.h.

#define CDP_TLV_VERS   0x0005

A character string containing the software version (same as in show version).

Definition at line 39 of file cdp.h.

#define CDP_TLV_VTPDOMAIN   0x0009

The VTP Domain, if configured on the device.

Definition at line 43 of file cdp.h.