11-2
C
HAPTER
11: DHCP C
OMMANDS
The OfficeConnect Gateway can be configured to perform the following DHCP
related functions:
DHCP Server - provide IP addresses to any host requesting BOOTP request
DHCP Proxy Agent - if any Virtual connections request an IP address, the
OfficeConnect Gateway can either assign an IP address from the pool, or relay
the BOOTP request to the LAN based DHCP Server
DHCP Client over WAN - OfficeConnect Gateway sends BOOTP request to
upstream Router for IP address at WAN interface
Command Description
This section describes the DHCP commands.
show DHCP_client
network
<net_name>
options
Use this command to display the options learned by DHCP Client for the specified
network. The options displayed are the IP address, subnet mask, default router ID,
configuration file name, DNS server IP addresses, domain name, WINS server IP
addresses, and TFTP server name.
Example:
OCG-Adsl>> show dhcp_client network alaska options
DHCP CLIENT NETWORK alaska OPTIONS
IP Address:
151.104.120.56/C
Default Router Id:
151.104.120.57
Configuration File Name
OCG_Config
DNS Server 1 IP Address
151.104.116.81
DNS Server 2 IP Address
151.104.116.82
Domain Name
ne.3com.com
WINS Server 1 IP Address
151.104.120.22
WINS Server 2 IP Address
151.104.120.30
TFTP Server Name
Winston
show DHCP_client
network
<net_name>
counters
Use this command to display DHCP Client statistics for the specified network. The
statistics displayed include the number of packets received, the number of
transmitted packets, the number of received DHCPOFFER packets, the number of
received DHCPACK packets, the number of received DHCPNAK packets, the
number of DHCPDISCOVER packets, the number of DHCPREQUEST packets, the
number of DHCPDECLINE packets, the number of DHCPRELEASE packets, and the
number of DHCPINFORM packets.
Example:
OCG-Adsl>> show dhcp_client network alaska counters
DHCP CLIENT NETWORK alaska COUNTERS
Packets Received:
34
Packets Transmitted:
54
DHCPOFFER Received:
1
DHCPACK Received:
11
DHCPNACK Received:
22
DHCPDISCOVER Transmitted: 10
DHCPREQUEST Transmitted:
9
DHCPDECLINE Transmitted:
0
Summary of Contents for OfficeConnect 3C100XF
Page 1: ...http www 3com com OfficeConnect Gateway CLI User s Guide Release 1 0 Part No 10042302 Rev AA ...
Page 14: ...xiv ...
Page 18: ...iv ABOUT THIS GUIDE ...
Page 30: ...1 12 CHAPTER 1 USING THE COMMAND LINE INTERFACE CLI ...
Page 50: ...3 14 CHAPTER 3 ADMINISTRATIVE CLI COMMANDS ...
Page 58: ...4 8 CHAPTER 4 CONFIGURING AND MANAGING USERS ...
Page 70: ...6 8 CHAPTER 6 BRIDGING COMMANDS ...
Page 78: ...8 4 CHAPTER 8 INTERFACE COMMANDS ...
Page 82: ...9 4 CHAPTER 9 ARP COMMANDS ...
Page 88: ...11 4 CHAPTER 11 DHCP COMMANDS ...
Page 124: ...12 36 CHAPTER 12 IP ROUTING COMMANDS ...
Page 134: ...13 10 CHAPTER 13 DNS COMMANDS ...
Page 142: ...15 6 CHAPTER 15 MULTICASTING AND IGMP COMMANDS ...
Page 160: ...17 8 CHAPTER 17 PPP COMMANDS ...
Page 182: ...21 6 CHAPTER 21 ADDRESS TRANSLATION COMMANDS ...
Page 186: ...22 4 CHAPTER 22 IPSEC COMMANDS ...
Page 188: ...23 2 CHAPTER 23 SECURITY ASSOCIATION SA COMMANDS ...
Page 192: ...24 4 CHAPTER 24 TCP COMMANDS ...
Page 204: ...25 12 CHAPTER 25 SNMP COMMANDS ...
Page 210: ...26 6 CHAPTER 26 IP FILTERS COMMANDS ...
Page 238: ...29 6 CHAPTER 29 TRACEROUTE COMMANDS ...
Page 255: ...xv RFC 1483 16 3 RFC 1483 MER 16 4 ...
Page 256: ...xvi ...
Page 260: ......