Show commands

Use these M4500 CLI commands to display IP helper address configuration and relay statistics.

show ip helper-address

Use this command to display the IP helper address configuration.

Default None
Format show ip helper-address [vrf <vrf-name>] [{<slot/port> | vlan <1 - 4093>}]
Mode

Privileged EXEC

User EXEC

Display Message

Fields Definition
Interface The relay configuration is applied to packets that arrive on this interface. This field is set to ‘any’ for global IP helper entries.
UDP Port The relay configuration is applied to packets whose destination UDP port is this port.
Discard Indicate discard the UDP packets or not.
Hit Count The number of times the IP helper entry has been used to relay or discard a packet.
Server Address The IPv4 address of the server to which packets are relayed.

show ip helper statistics

Use this command to display the number of UDP packets processed and relayed.

Default None
Format show ip helper statistics [vrf <vrf-name>]
Mode

Privileged EXEC

User EXEC

Display Message

Fields Definition
DHCP client messages received The number of valid messages received form a DHCP client.
DHCP client messages relayed The number of DHCP client messages relayed to a server .
DHCP server messages received The number of DHCP responses received from the server .
DHCP server messages relayed The number of DHCP server messages relayed to a client.
UDP client messages received The number of valid UDP messages received.
UDP client messages relayed The number of valid UDP messages relayed.
DHCP messages hop count exceeded max The number of DHCP client messages received whose hop count is larger than the maximum allowed.
DHCP messages with secs field below min The number of DHCP client messages received whose Second field is less than the minimum value.
DHCP message with giaddr set to local address The number of DHCP client messages received whose gateway address, giaddr, is already set to an IP address configured on one of the relay agent’s own IP address.
Packets with expired TTL The number of packets received with TTL of 0 or 1 that otherwise have been relayed.
Packets that matched a discard entry The number of packets ignored by the relay agent because they match a discard entry.