# Monitoring DHCP Option 60 Information

#### Purpose

Display configuration and action information for the DHCP vendor-option (option 60) feature.

- Use the command without additional keywords to display information for all vendor option configurations.
- Use the vendor-option-relay-server keyword and server address to display information for option 60 strings that match a configured string that results in the packets being sent to the specified vendor-option server.
- Use the default keyword to display information for option 60 strings that do not match a configured vendor-option string.

#### Action

To display information for all vendor option configurations:

    host1#show dhcp vendor-option
    Codes:
     *       - the configured vendor-string is an exact-match
     default - all DHCP client packets not matching a configured vendor-string
     implied - the DHCP application is configured but has not been enabled
               with the vendor-option command
     drop    - the DHCP application responsible for the action has not been
               configured yet therefore all packets for this application
               will be dropped
     Total 4 entries.
             Vendor-option                            Action
    -------------------------------- ----------------------------------------
    Juniper                          relay to 10.10.1.1 (rx: 0)
    default(*)                       relay to 192.168.5.5 (rx: 0, no-match: 0)
    someString(*)                    relay to 192.168.7.7 (rx: 0)
    someString2(*)                   local-server (rx: 0)

To display information for option 60 strings that match a configured string:

    host1#show dhcp vendor-option vendor-option-relay-server 10.10.1.1
    Codes:
     *       - the configured vendor-string is an exact-match
     default - all DHCP client packets not matching a configured vendor-string
     implied - the DHCP application is configured but has not been enabled
               with the vendor-option command
     drop    - the DHCP application responsible for the action has not been
               configured yet therefore all packets for this application
               will be dropped
     Total 4 entries.
             Vendor-option                            Action
    -------------------------------- ----------------------------------------
    Juniper                          relay to 10.10.1.1 (rx: 0)

#### Meaning

Table 118 lists the show dhcp vendor-option command output fields.

Table 118: show dhcp vendor-option Output Fields

Field Name | Field Description
--- | ---
Vendor-option | Option 60 string; an asterisk (*) indicates that the string exactly matches a configured option 60 string, default indicates the action to take when the string does not match a configured option 60 string
Action | Action to take for the indicated string match; drop, forward to local-server, proxy client server, or all configured DHCP vendor option servers; or relay to the specified DHCP server
rx | Received packets that match a vendor-option string
no-match | Received packets that do not match a vendor-option string; no-match statistics appear only for default entries

#### Related Topics

- show dhcp vendor-option