show bootprelay

show bootprelay

Description

Displays the DHCP/BOOTP Relay statistics and the configuration for the VRs.

Syntax Description

ipv4

Specifies unconfiguring the DHCPv4 BOOTP Relay service (default).

ipv6

Specifies unconfiguring the DHCPv6 BOOTP Relay service.

vlan

Unconfigures BOOTP relay for a specified VLAN.

vlan_name

Specifies the VLAN name.

include-secondary

Removes the include-secondary configuration for the specified VLAN.

Default

None.

Usage Guidelines

The fields displayed in the DHCP Information Option 82 section depend on the configuration defined by the configure bootprelay dhcp-agent information policy [drop | keep | replace] command. If the policy configured is keep, the Requests unmodified counter appears. If the policy configured is replace, the Requests replaced counter appears. And if the drop policy is configured, the Requests dropped counter appears.

The Opt82 added to Requests counter indicates the number of DHCP requests to which the BOOTP Relay agent (the switch) has added its own option 82 information.

Example

The following example displays the DHCP/BOOTP relay statistics for existing VRs:

Switch.1 # show bootprelay
Bootprelay : Enabled  on virtual router "VR-Default"
DHCP Relay Agent Information Option : Enabled  on virtual router "VR-Default"
DHCP Relay Agent Information Check  : Enabled  on virtual router "VR-Default"
DHCP Relay Agent Information Policy : Replace
DHCP Relay Agent Information Remote-ID : "default"
Bootprelay servers for virtual router "VR-Default":
Destination: 10.127.8.1
DHCP/BOOTP relay statistics for virtual router "VR-Default"
Received from client =          2  Received from server =          2
Requests relayed     =          2  Responses relayed    =          2
DHCP Discover        =          1  DHCP Offer           =          1
DHCP Request         =          1  DHCP Ack             =          1
DHCP Decline         =          0  DHCP NAck            =          0
DHCP Release         =          0
DHCP Inform          =          0
DHCP Information Option 82 packets statistics for virtual router "VR-Default"
Received from client    =          0  Received from server =          2
Requests replaced       =          0  Responses dropped    =          0
Opt82 added to Requests =          2
Note: Default Remote-ID : System MAC Address

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on all platforms.