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
Содержание OfficeConnect 3C100XF
Страница 1: ...http www 3com com OfficeConnect Gateway CLI User s Guide Release 1 0 Part No 10042302 Rev AA ...
Страница 14: ...xiv ...
Страница 18: ...iv ABOUT THIS GUIDE ...
Страница 30: ...1 12 CHAPTER 1 USING THE COMMAND LINE INTERFACE CLI ...
Страница 50: ...3 14 CHAPTER 3 ADMINISTRATIVE CLI COMMANDS ...
Страница 58: ...4 8 CHAPTER 4 CONFIGURING AND MANAGING USERS ...
Страница 70: ...6 8 CHAPTER 6 BRIDGING COMMANDS ...
Страница 78: ...8 4 CHAPTER 8 INTERFACE COMMANDS ...
Страница 82: ...9 4 CHAPTER 9 ARP COMMANDS ...
Страница 88: ...11 4 CHAPTER 11 DHCP COMMANDS ...
Страница 124: ...12 36 CHAPTER 12 IP ROUTING COMMANDS ...
Страница 134: ...13 10 CHAPTER 13 DNS COMMANDS ...
Страница 142: ...15 6 CHAPTER 15 MULTICASTING AND IGMP COMMANDS ...
Страница 160: ...17 8 CHAPTER 17 PPP COMMANDS ...
Страница 182: ...21 6 CHAPTER 21 ADDRESS TRANSLATION COMMANDS ...
Страница 186: ...22 4 CHAPTER 22 IPSEC COMMANDS ...
Страница 188: ...23 2 CHAPTER 23 SECURITY ASSOCIATION SA COMMANDS ...
Страница 192: ...24 4 CHAPTER 24 TCP COMMANDS ...
Страница 204: ...25 12 CHAPTER 25 SNMP COMMANDS ...
Страница 210: ...26 6 CHAPTER 26 IP FILTERS COMMANDS ...
Страница 238: ...29 6 CHAPTER 29 TRACEROUTE COMMANDS ...
Страница 255: ...xv RFC 1483 16 3 RFC 1483 MER 16 4 ...
Страница 256: ...xvi ...
Страница 260: ......