Configuring DHCP Relay Introduction
7-25
Software Reference for SwitchBlade x3100 Series Switches (Network Management)
ADD TRACE DHCPRELAY
Syntax
ADD TRACE DHCPRELAY [ ={ dhcpname-list | MAIN | ALL } ] [ VLAN={
vlanname-list | vid-range | ALL } ] [ INTERFACE={ type:id-range |
id-range | ifname-list | ALL } ] [ MACADDRESS={ macaddress | ALL }
] [ MESSAGETYPE={ DISCOVER | OFFER | REQUEST | DECLINE | ACK | NACK
| RELEASE | INFORM | ALL } ]
Description The ADD TRACE DHCPRELAY command is used to generate and specify the criteria for
DHCP Relay message tracing in the system. Traces can be generated based on
DHCPRELAY instance name, VLAN, INTERFACE, MACADDRESS, and MESSAGETYPE.
Combinations of these parameters can be used to fine-tune which traces are generated.
Options The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option Description Default Value
DHCPRELAY The name of the DHCP instance
dhcpname-list - list of specific DHCP instances
MAIN - the default DHCP instance
ALL - all DHCP instances
ALL
VLAN The name or numerical VLAN identifier being added to
the DHCP relay instance.
vlanname-list - list of specific VLAN(s) separated by a
comma
vid-range - VLAN range of IDs
ALL - all VLANs
ALL
INTERFACE A logical representation of one or more physical ports;
the INTERFACE to enable DHCP Relay service on.
type:id-range - the type of available ports, such as ETH
or LAG
id-range - used with type (type:id) to query the physical
ports; the numerical identifier of the interface
ifname-list - list of interface names, if not numerical
ALL - all interfaces in the system
ALL
MAC-
ADDRESS
The MAC address is a unique serial number that identi-
fies a network element.
ALL - all MAC addresses
ALL