25 show ip dhcp binding, 26 show ip dhcp conflict – PLANET WGSW-50040 User Manual

Page 254

Advertising
background image

Commands for Security Function Chapter 6 Commands for TACACS+

DHCP clients and enable DHCP relay when DHCP server function is enabled.

Example:

Enabling DHCP server.

Switch(config)#service dhcp

15.1.25 show ip dhcp binding

Command:

show ip dhcp binding [ [<ip-addr>] [type {all | manual | dynamic}] [count] ]

Function:

Displays IP-MAC binding information.

Parameters:

<ip-addr> is a specified IP address in decimal format;

all stands for all binding types (manual binding and dynamic assignment);

manual for manual binding;

dynamic for dynamic assignment;

count displays statistics for DHCP address binding entries.

Command mode:

Admin and Configuration Mode.

Example:

Switch# show ip dhcp binding

IP address Hardware address Lease expiration Type

10.1.1.233 00-00-E2-3A-26-04 Infinite Manual

10.1.1.254 00-00-E2-3A-5C-D3 60 Automatic

Displayed information

Explanation

IP address

IP address assigned to a DHCP client

Hardware address

MAC address of a DHCP client

Lease expiration

Valid time for the DHCP client to hold the IP address

Type

Type of assignment: manual binding or dynamic

assignment.

15.1.26 show ip dhcp conflict

Command:

show ip dhcp conflict

Advertising