Dhcp Relay Release Ip - HP 6125XLG Command Reference Manual

Blade switch layer 3 - ip services
Table of Contents

Advertisement

Parameters
drop: Drops messages containing Option 82.
keep: Keeps the original Option 82 intact.
replace: Replaces the original Option 82 with the configured Option 82.
Usage guidelines
This command takes effect only for DHCP requests containing Option 82.
When enabled to support Option 82, the DHCP relay agent always adds Option 82 into DHCP requests
that do not contain Option 82 before forwarding the requests to the DHCP server.
Examples
# Configure the handling strategy for Option 82 as keep.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] dhcp relay information enable
[Sysname-Vlan-interface10] dhcp relay information strategy keep
Related commands
dhcp relay information enable
display dhcp relay information

dhcp relay release ip

Use dhcp relay release ip to release the specified client IP address.
Syntax
dhcp relay release ip client-ip [ vpn-instance vpn-instance-name ]
Views
System view
Predefined user roles
network-admin
Parameters
client-ip: Specifies the IP address to be released.
vpn-instance vpn-instance-name: Specifies the MPLS L3VPN instance of the IP address. The
vpn-instance-name is a case-sensitive string of 1 to 31 characters. If you do not specify any VPN instance,
this command releases the IP address in the public network.
Usage guidelines
After you execute this command, the relay agent sends a DHCP-RELEASE packet to the DHCP server and
removes the relay entry of the IP address. Upon receiving the packet, the server removes binding
information for the specified IP address to release the IP address.
Examples
# Release the IP address 1.1.1.1.
<Sysname> system-view
[Sysname] dhcp relay release ip 1.1.1.1
70

Advertisement

Table of Contents
loading

Table of Contents