display dhcp-snooping information

Syntax

display dhcp-snooping information { all | interface interface-type interface-number } [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

all: Displays Option 82 configuration information about all Layer 2 Ethernet ports.

interface interface-type interface-number: Displays Option 82 configuration information about a specific interface.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display dhcp-snooping information to display Option 82 configuration information on the DHCP snooping device.

Examples

# Display Option 82 configuration information about all interfaces.

<Sysname> display dhcp-snooping information all
Interface: Ethernet 1/0/1
    Status: Enable
    Strategy: Replace
    Format: Verbose
    Circuit ID format-type: HEX
    Remote ID format-type: ASCII
Node identifier: aabbcc
Sub-option 9: Enabled
    User defined:
        Circuit ID: company001
        Sub-option 9 content: group1
Interface: Ethernet 1/0/2
    Status: Disable
    Strategy: Keep
    Format: Normal
    Circuit ID format-type: HEX
    Remote ID format-type: ASCII
    User defined:
        Circuit ID: company001
        Remote ID: device001
        VLAN 10:
            Circuit ID: vlan10@company001
            Sub-option 9: Enable
            Sub-option 9 content: group1
        VLAN 20:
            Remote ID: device001
           Sub-option 9: Enabled