MES53xx, MES33xx, MES23xx Ethernet Switch Series
173
Table 5.199. Privileged EXEC mode commands
Command
Value/Default value
Action
clear ip dhcp binding
{
ip_address
| *}
-
Delete entries from the table of correspondence between
physical addresses and the addresses taken from the pool and
assigned by the DHCP server:
- ip_address
- IP address assigned by the DHCP server;
- * - delete all records.
show ip dhcp
-
Display DHCP server configuration.
show ip dhcp
excludedaddresses
-
Display the IP addresses which will not be assigned to DHCP
clients by the DHCP server.
show ip dhcp pool host
[
ip
_
address
|
name
]
name: (1..32) characters
Display configuration for static addresses of the DHCP server:
-
ip_address
- client IP address;
-
name
- name of the DHCP address pool.
show ip dhcp pool network
[
name
]
name: (1..32) characters
Display configuration for the DHCP address pool of the DHCP
server:
-
name
- name of the DHCP address pool.
show ip dhcp binding
[
ip_address
]
-
Display the IP addresses which are mapped to the client
physical addresses as well as the lease period, assignment
method, and status of the IP addresses.
show ip dhcp server
statistics
-
Display statistics of the DHCP server.
Examples of command usage
Configure the
test
DHCP pool and specify the following parameters for the DHCP client:
domain name –
test.ru
, default gateway –
192.168.45.1
and default DNS server –
192.168.45.112
.
console#
console#
configure
console(config)#
ip dhcp pool network
test
console(config-dhcp)#
address
192.168.45.0 255.255.255.0
console(config-dhcp)#
domain-name
test.ru
console(config-dhcp)#
dns-server
192.168.45.112
console(config-dhcp)#
default-router
192.168.45.1
11.3
ACL Configuration
ACL (Access Control List) is a table that defines filtration rules for ingress and egress traffic based on
IP and MAC addresses, protocols, TCP/UDP ports specified in the packets.
ACLs for IPv6, IPv4 and MAC addresses must have different names.
IPv6 and IPv4 lists can be used simultaneously in one physical interface. A MAC-based ACL
can not be used with both IPv6 and IPv4 lists at the same time. Two lists of the same type
can not be used for the same interface.
The ACL creation and modification commands are available in the global configuration mode.
Global configuration mode commands
Command line prompt in the global configuration mode is as follows:
console (config)#