
Chapter 44 DHCP Commands
where
<portlist> | = You can specify a single port <1>, all ports <*> or a list of |
| ports <1,3,enet1>. You can also include a range of ports |
| <1,5,6~10,enet1,enet2>. |
Use this command to display a summary of DHCP packets on the specified port(s). The following example displays the settings of port 1.
Figure 148 DHCP Counter Statistics Command Example
ras> | statistics | dhcp counter 1 | ack | overflow | |
port discover | offer | request | |||
1 | 0 | 0 | 0 | 0 | 0 |
|
|
|
|
|
|
Each field is described in the following table.
port | = | The selected DSL port number(s). |
discover | = | The number of DHCP Discover packets on this port. |
offer | = | The number of DHCP Offer packets on this port. |
request | = | The number of DHCP Request packets on this port. |
ack | = | The number of DHCP Ack packets on this port. |
overflow | = | The DHCP server can assign up to 32 IP addresses at one |
|
| time to each port. This field displays the number of requests |
|
| from DHCP clients above this limit. |
Syntax:
ras> statistics dhcp snoop <portlist>
where
<portlist> | = You can specify a single port <1>, all ports <*> or a list of |
| ports <1,3,enet1>. You can also include a range of ports |
| <1,5,6~10,enet1,enet2>. |
Use this command to look at the DHCP snooping table on the specified port(s). The following example displays the settings of port 1.
Figure 149 DHCP Snoop Statistics Command Example
ras> statistics dhcp snoop 1 | ip | ||
port | overflow | mac | |
|
|
|
|
| 297 |
|
|