display dhcp relay server-address

Use display dhcp relay server-address to display DHCP server addresses configured on an interface.

Syntax

display dhcp relay server-address [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface interface-type interface-number: Displays DHCP server addresses on the specified interface. If you do not specify an interface, this command displays DHCP server addresses on all interfaces operating in DHCP relay agent mode.

Examples

# Display DHCP server addresses on all interfaces.

<Sysname> display dhcp relay server-address
Interface name                 Server IP address
Vlan1                          2.2.2.2

Table 15: Command output

Field

Description

Interface name

Interface name.

Server IP address

DHCP server IP address.

Related commands

dhcp relay server-address