
mac-address static
6.2.1
mac-address static
Command Description
mac-address static mac-addr vlan vlan-id interface interface-id
//This command is used to add a static MAC address.
no mac-address static mac-addr vlan vlan-id
// This command is used to delete a static MAC address.
Parameter
Parameter
Parameters of the command mode
mac-addr
It specifies the MAC address.
vlan-id
It specifies the VLAN to which the
MAC address belongs. The value
ranges from
1
to
4094
.
interface-id
It specifies the physical port to which
the MAC address belongs.
Default
None
Command Mode
Global configuration mode
Example
//Run the following command to bind the MAC address 00-00-00-00-00-01 to port
10 that belongs to VLAN2:
switch(config)# mac-address static 00-00-00-00-00-01 vlan 2 interface T10
6.3
ARP binding
ARP binding configuration commands include:
ip-mac bind
show ip-mac bind
Function Brief
In order to r manage the computer bette in the network, you can use
the ARP binding function to control the network access (IP binding).
Note:
Because it is a private function, showing in ARP table is still
dynamic item when static binding.