No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S1720, S2700, S3700, S5700, S6700, S7700, and S9700 Series Switches Common Operation Guide

This document describes the CLI-based configurations of universal protocols and common features for Huawei switches on basic networks.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Deleting Static Binding Entries

Deleting Static Binding Entries

If a binding entry is incorrect or the network rights of a bound host have been changed, you can run the undo user-bind static [ { { ip-address | ipv6-address } { start-ip [ to end-ip ] } &<1-10> | ipv6-prefix prefix/prefix-length } | mac-address mac-address | interface interface-type interface-number | vlan vlan-id [ ce-vlan ce-vlan-id ] ] * command to delete the entry.

  • When you delete a binding entry, the parameters specified in the undo command must be the same as the corresponding parameters in the binding entry; otherwise, the entry cannot be deleted.
  • Binding entries can be deleted in a batch, for example:
    • Run the undo user-bind static command to delete all binding entries.
    • Run the undo user-bind static interface gigabitethernet 1/0/1 command to delete all entries on the specified interface GE1/0/1.
    • Run the undo user-bind static vlan 10 command to delete all entries in VLAN 10.

The following example shows how to delete a static binding entry:

Run the display dhcp static user-bind all command to view all static binding entries on the device.
<HUAWEI> display dhcp static user-bind all                                          
DHCP static Bind-table:                                                         
Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping                          
IP Address                      MAC Address     VSI/VLAN(O/I/P) Interface       
--------------------------------------------------------------------------------
192.168.1.1                     0001-0001-0001  --  /--  /--    --              
192.168.1.2                     0002-0002-0002  --  /--  /--    GE1/0/2         
192.168.2.1                     --              --  /--  /--    GE1/0/1         
192.168.2.2                     --              --  /--  /--    GE1/0/1         
192.168.2.3                     --              --  /--  /--    GE1/0/1         
192.168.3.1                     0004-0004-0004  10  /--  /--    --              
192.168.3.2                     0005-0005-0005  10  /--  /--    --              
--------------------------------------------------------------------------------
Print count:           7          Total count:           7                      
# Delete the static binding entry of IP address 192.168.1.1.
<HUAWEI> system-view
[HUAWEI] undo user-bind static ip-address 192.168.1.1 mac-address 0001-0001-0001
# Delete the static binding entry of IP address 192.168.1.2.
<HUAWEI> system-view
[HUAWEI] undo user-bind static ip-address 192.168.1.2 mac-address 0002-0002-0002 interface gigabitethernet 1/0/2
# Delete all static binding entries on GE1/0/1.
<HUAWEI> system-view
[HUAWEI] undo user-bind static interface gigabitethernet 1/0/1
# Delete all static binding entries in VLAN 10.
<HUAWEI> system-view
[HUAWEI] undo user-bind static vlan 10

After the preceding steps are performed in sequence, all binding entries are deleted.

Translation
Download
Updated: 2018-09-03

Document ID: EDOC1000057410

Views: 89294

Downloads: 12189

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next