display dhcp snooping trust

Use display dhcp snooping trust to display information about trusted ports.

Syntax

display dhcp snooping trust

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Examples

# Display information about trusted ports.

<Sysname> display dhcp snooping trust
 DHCP snooping is enabled.
 Interface                                       Trusted          VLAN
 =========================                       ============     =======
 Ten-GigabitEthernet1/0/1                        Trusted
 Ten-GigabitEthernet1/0/2                        -                100
 Ten-GigabitEthernet1/0/3                        -                100, 200

Table 22: Command output

Field

Description

Interface

Interface name.

Trusted

For a DHCP snooping trusted port configured in system view, this field displays Trusted.

For a trusted port configured in VLAN view, this field displays a hyphen (-).

VLAN

VLANs in which the port is configured as trusted.

If a trusted port is configured after DHCP snooping is enabled globally, this field is empty.

Related commands

dhcp snooping trust

dhcp snooping trust interface