Command Reference Guide
SROS Command Line Interface Reference Guide Global Configuration Mode Command Set
5991-2114 © Copyright 2005 Hewlett-Packard Development Company, L.P. 325
mac address-table static <mac address> vlan <vlan id> interface
[ethernet | atm] <interface id>
Use the mac address-table static command to insert a static MAC address entry into the MAC address
table. Use the no form of this command to remove an entry from the table.
Syntax Description
<mac address> Enter a valid 48-bit MAC address.
<vlan id> Enter a valid VLAN interface ID (1-4094).
interface Choose either the ethernet or atm interface.
<interface id> Enter any valid slot/port interface ID (e.g., eth 0/1).
Default Values
By default, there are no static entries configured.
Command Modes
(config)# Global Configuration Mode required
Usage Examples
The following example adds a static MAC address to Ethernet 0/1 on VLAN 4:
(config)#mac address-table static 00:12:79:00:00:01 vlan 4 interface ethernet 0/1