Command Reference MAC Address Commands
Configuration
Examples
The following example binds the IP address 192.168.5.2 and the MAC address 00do.f822.33aa and
forward the corresponding packets:
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# address-bind 192.168.5.2 00d0.f822.33aa
Ruijie(config)# address-bind ipv6-mode compatible
Command Description Related
Commands
N/A N/A
Platform
Description
N/A
clear mac-address-table dynamic
Use this command to clear the dynamic MAC address.
clear mac-address-table dynamic [ address mac-addr [ interface interface-id ] [ vlan vlan-id ]
Parameter Description
dynamic
Clear all the dynamic MAC addresses.
address mac-addr
Clear the specified dynamic MAC address.
interface interface-id
Clear all the dynamic MAC addresses of the specified interface.
Parameter
Description
vlan vlan-id
Clear all the dynamic MAC addresses of the specified VLAN.
Defaults
N/A
Command
Mode
Privileged EXEC mode.
Usage Guide Use the show mac-address-table dynamic command to display all the dynamic MAC addresses.
Configuration
Examples
The following example clears all the dynamic MAC addresses:
Ruijie# clear mac-address-table dynamic
Command Description Related
Commands
show mac-address-table dynamic
Use this command to display dynamic MAC address.
Platform
Description
N/A
mac-address-table aging-time
Use this command to specify the aging time of the dynamic MAC address. Use the no form of the