192
MES1000, MES2000 Ethernet Switches
fastethernet
fa_port
| port-
channel
po
}]
ports.
clear pppoe intermediate-
agent statistics [interface
{gigabitethernet
gi_port
|
fastethernet
fa_port
| port-
channel
po
}]
gi_port: (1..3/0/1..28);
fa_port: (1..3/0/1..24);
po: (1…8).
Clears statistics of PPPoE Intermediate Agent. If the command
does not explicitly specify an interface, it is performed for all
interfaces with enabled PPPoE IA and trusted ports.
show pppoe intermediate-
agent sessions [interface
{gigabitethernet
gi_port
|
fastethernet
fa_port
| port-
channel
po
}]
gi_port: (1..3/0/1..28);
fa_port: (1..3/0/1..24);
po: (1…8).
Displays all registered client sessions. If the command does
not explicitly specify an interface, all sessions are displayed
sorted by interfaces.
5.30
DHCP Server Configuration
DHCP server performs centralised management of network addresses and corresponding
configuration parameters, and automatically provides them to subscribers. This help to avoid manual
configuration of network devices and decreases the number of errors.
Global Configuration Mode Commands
Command line request in the global configuration mode appears as follows:
console(config)#
Table 5.233 Global configuration mode commands
Command
Value/
Default Value
Action
ip dhcp server
-/disabled
Enables the DHCP server option for the switch.
no ip dhcp server
Disables the DHCP server option for the switch.
ip dhcp pool host
name
(1–32) characters
Enters the configuration mode for static addresses of DHCP
server.
no ip dhcp pool host
name
Deletes configuration of the DHCP client with the specified
name.
ip dhcp pool network
name
(1–32) characters
Enters the configuration mode for DHCP address pool of DHCP
server.
-
name
—name of the DHCP address pool.
no ip dhcp pool network
name
Deletes the DHCP pool with the specified name.
ip dhcp excluded-address
low-address
[
high-address
]
-
Specifies the IP addresses which will not be assigned to DHCP
clients by the DHCP server.
-
low-address
—the first IP address of the range;
-
high-address
—the last IP address of the range.
no ip dhcp excluded-
address
low-address
[
high-address
]
Removes an IP address from the list of exceptions to be
further assigned to a DHCP client.
ip dhcp ping enable
-/disabled
Enables ICMP requests to the address being assigned prior to
its assignment to a DHCP client to ensure that the IP address is
not already in use.
no ip dhcp ping enable
Sets the default value.
ip dhcp ping count
number
number: (1–10)/2
Defines the number of ICMP requests to be sent.
no ip dhcp ping count
Sets the default value.
ip dhcp ping timeout
time
time: (300– 1000)/500
msec
Defines the time period for the DHCP server to wait for a
response to the ICMP request which has been sent to the
address.
no ip dhcp ping timeout
Sets the default value.