show bootprelay

show bootprelay

Description

Displays the DHCP (Dynamic Host Configuration Protocol)/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 (Virtual LAN).

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
The following example shows DHCP/BOOTP relay that is disabled for the VR, but enabled on some VLANs:
# show bootprelay 
Bootprelay : Disabled on virtual router "VR-Default", but enabled on some VLANs.
Include Secondary : Disabled
DHCP Relay Agent Information Option : Disabled on virtual router "VR-Default"


DHCP/BOOTP relay statistics for virtual router "VR-Default"
    Received from client =          0  Received from server =          0
    Requests relayed     =          0  Responses relayed    =          0
    DHCP Discover        =          0  DHCP Offer           =          0
    DHCP Request         =          0  DHCP Ack             =          0
    DHCP Decline         =          0  DHCP NAck            =          0
    DHCP Release         =          0
    DHCP Inform          =          0

History

This command was first available in ExtremeXOS 10.1.

Information about DHCP/BOOTP relay being disabled for the VR, but enabled on some VLANs was added in ExtremeXOS 22.5.

Platform Availability