3-9
The above display information indicates that the DHCP snooping function is enabled, and the Ethernet
1/0/10 port is a trusted port.
display ip source static binding
Syntax
display ip source static binding [ vlan vlan-id | interface interface-type interface-number ]
View
Any view
Parameters
vlan-id: ID of the VLAN whose IP static binding entries are to be displayed.
interface-type interface-number: Type and number of the port whose IP static binding entries are to be
displayed.
Description
Use the display ip source static binding command to display the IP static binding entries configured.
If you specify a VLAN, all the IP static binding entries for the specified VLAN will be displayed. If you
specify a port, all the IP static binding entries for the specified port will be displayed.
Examples
# Display all IP static binding entries configured.
<Sysname> display ip source static binding
Type IP Address MAC Address Remaining VLAN Interface
lease
==== =============== =============== ========= ==== =================
S 192.168.0.25 0015-e20f-0101 infinite 1 Ethernet1/0/2
S 192.168.0.58 0001-e201-4f01 infinite 1 Ethernet1/0/3
S 192.168.0.101 000f-0101-0204 infinite 1 Ethernet1/0/2
S 192.168.0.122 000f-e20f-21a3 infinite 1 Ethernet1/0/3
S 192.168.0.144 0015-e943-712f infinite 1 Ethernet1/0/2
--- 5 static binding item(s) found ---
ip check source ip-address
Syntax
ip check source ip-address [ mac-address ]
undo ip check source ip-address [ mac-address ]
View
Ethernet port view
Parameters
mac-address: Enables IP filtering based on the source MAC address of the packets.