dhcp-snooping information remote-id format-type

Syntax

dhcp-snooping information remote-id format-type { ascii | hex }

undo dhcp-snooping information remote-id format-type

View

Layer 2 Ethernet port view, Layer 2 aggregate interface view

Default level

2: System level

Parameters

ascii: Specifies the code type for the remote ID sub-option as ascii.

hex: Specifies the code type for the remote ID sub-option as hex.

Description

Use dhcp-snooping information remote-id format-type to configure the code type for the non-user-defined remote ID sub-option.

Use undo dhcp-snooping information remote-id format-type to restore the default.

By default, the code type for the remote ID sub-option is HEX.

This command applies to configuring a non-user-defined remote ID sub-option only. After you configure the padding content for the remote ID sub-option using the dhcp-snooping information remote-id string command, ASCII is adopted as the code type. The private padding format only supports the hex code type.

Related commands: display dhcp-snooping information and dhcp-snooping information format.

Examples

# Configure the code type for the non-user-defined remote ID sub-option as ascii.

<Sysname> system-view
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] dhcp-snooping information remote-id format-type ascii