The display firewall mac-binding command displays the running status of the address binding function and entries of the address binding.
display firewall mac-binding { enable | item [ ip-address ] [ vpn-instance { vpn-instance-name | public } ] }
| Parameter | Description | Value |
|---|---|---|
| enable | Displays the running status of the address binding function. | - |
| item | Displays the entries of the address binding. | - |
| ip-address | Specifies the IP address of the entry to be displayed. If this parameter is specified, the entry of the specified address is displayed. If this parameter is not specified, the entries of all addresses are displayed. | The value is in dotted decimal notation. |
| vpn-instance-name | Specifies the name of a VPN instance. | It must be the name of an existing VPN instance. |
| public | Indicates the public instance. | - |
# Display information about all address binding entries.
<sysname> display firewall mac-binding item Firewall Mac-binding items : Current items : 2 IP ADDRESS MAC ADDRESS VLAN-ID VPN-INSTANCE DESCRIPTION 192.168.1.1 00e0-fcff-0200 public 192.168.1.2 00e0-fcff-0100 public
# Display information about the specific address binding entries.
<sysname> display firewall mac-binding item 192.168.1.1 Firewall Mac-binding items : IP ADDRESS MAC ADDRESS VLAN-ID VPN-INSTANCE DESCRIPTION 192.168.1.1 00e0-fcff-0200 public
# Display the running status of the address binding function.
<sysname> display firewall mac-binding enable Mac-binding is enabled