Dhcp Relay Information Circuit-Id - HP MSR Series Command Reference Manual

Layer 3 ip services command reference (v7)
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Usage guidelines
The DHCP relay agent uses the specified IP address instead of the primary IP address of the relay
interface as the gateway address for DHCP clients.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Specify 10.1.1.1 as the gateway address for DHCP clients on GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] dhcp relay gateway 10.1.1.1
Related commands
gateway-list

dhcp relay information circuit-id

Use dhcp relay information circuit-id to configure the padding mode and padding format for the Circuit
ID sub-option of Option 82.
Use undo dhcp relay information circuit-id to restore the default.
Syntax
dhcp relay information circuit-id { bas | string circuit-id | { normal | verbose [ node-identifier { mac |
sysname | user-defined node-identifier } ] [ interface ] } [ format { ascii | hex } ] }
undo dhcp relay information circuit-id
Default
The padding mode is normal and the padding format is hex.
Views
Interface view
Predefined user roles
network-admin
Parameters
bas: Specifies the bas mode for padding the Circuit ID sub-option.
string circuit-id: Specifies the string mode that uses a case-sensitive string of 3 to 63 characters as the
content of the Circuit ID sub-option.
normal: Specifies the normal mode, in which the padding content consists of the VLAN ID and port
number.
verbose: Specifies the verbose mode. The padding content includes the node identifier, interface
information, and VLAN ID.
node-identifier { mac | sysname | user-defined node-identifier }: Specifies the access node identifier.
mac: Uses the MAC address of the access node as the node identifier. It is the default node
identifier.
sysname: Uses the device name as the node identifier. You can set the device name by using the
sysname command in system view. The padding format for the device name is always ASCII
regardless of the specified padding format.
87

Advertisement

Table of Contents
loading

Table of Contents