3.21.3 Static MAC Table Configuration
Use this command to assign a static MAC address to the specific port or ports.
Command Syntax:
mac address-table static <v_mac_addr> vlan <v_vlan_id> { [ interface <port_type> [ <v_port_type_list> ] ] }
Argument | Description | |
Parameter |
| 48 bit MAC address: xx:xx:xx:xx:xx:xx |
| VLAN IDs range from 1 to 4095 | |
| GigabitEthernet | |
| List of Port ID, for example, 1/1,3-4 | |
Default | N.A | |
Mode | Global Configuration mode | |
Usage | Assigns a static MAC address to a port. To remove it, use the ‘no’ version of the command. | |
Example | Example 1: Assign static MAC address 00:11:22:33:44:55 to port 1 on VLAN 1.
|