3com 8807 Reference Guide

Page of 1099
854
C
HAPTER
 47: DHCP C
ONFIGURATION
 C
OMMANDS
Example
# Display information about all user address entries that the DHCP server 
maintains.
<SW8800> display dhcprelay-security
 
IP Address          MAC Address IP Address Type
 
2.2.2.2 0005-5d02-f2b2  Static
 
3.3.3.3 0005-5d02-f2b3  Dynamic
 
---   2 dhcp-security item(s) found   --- 
ip relay address
Syntax
ip relay address ip-address
undo ip relay address { ip-address | all }
View
VLAN interface view
Parameter
ip-address: IP address of the DHCP server to which the DHCP packets received by 
this VLAN interface are forwarded.
all: Specifies all DHCP servers configured for the VLAN interface to forward DHCP 
packets to.
Description
Use the ip relay address command to specify the VLAN interface to operate in 
DHCP Relay mode and to specify the DHCP server to which the DHCP packets 
received by this VLAN interface are forwarded.
Use the undo ip relay address command to remove the DHCP server configured 
for the VLAN interface to forward DHCP packets.
No DHCP server is configured for a VLAN interface by default.
CAUTION: The IP address of the intended DHCP server for the Dhcp relay feature 
cannot be the IP address of the VLAN interface corresponding to the DHCP Relay. 
Otherwise, the system gives the information such as "Error. The DHCP relay 
address you entered overlaps with local ip!".
Example
# Specify users belonging to VLAN interface 1 to acquire their IP addresses from a 
specified DHCP server.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
Table 111   Description on the fields of the display dhcp-security command
Field 
Description 
IP Address 
User IP address 
MAC Address 
User MAC address 
IP Address Type  Type of the user address entry, which can be static or dynamic