Common IPSG Operations : Deleting Static Binding Entries

Latest reply: Jul 29, 2016 03:05:25 2244 1 0 0

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 0/0/1 command to delete all entries on the specified interface GE0/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                     --              --  /--  /--    GE0/0/1         
192.168.2.2                     --              --  /--  /--    GE0/0/1         
192.168.2.3                     --              --  /--  /--    GE0/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 GE0/0/1.
<HUAWEI> system-view
[HUAWEI] undo user-bind static interface gigabitethernet 0/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.

 

 

  • x
  • convention:

user_1763575
Created Jul 29, 2016 03:05:25 Helpful(0) Helpful(0)

Common IPSG Operations : Deleting Static Binding Entries

Thank you
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login