![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/46/14651ff9-768d-4b79-9311-420a5abc824b/14651ff9-768d-4b79-9311-420a5abc824b-bg295.png)
static-mac
OVERVIEW
configCategory:
configPrimary context:
the section called “static-mac” (page 594)Related Commands
Usage: static-mac <MAC-ADDR> vlan <VLAN-ID> interface <PORT-LIST>
Description: Lock down a MAC address to a port on a vlan.
Parameters:
o MAC-ADDR - MAC address to lock down.
o vlan VLAN-ID - VLAN on which to lock down the MAC address.
o interface PORT-LIST - Port list on which to lock down the MAC address.
COMMAND STRUCTURE
■ [no] static-mac MAC-ADDR interface -- The port list on which to lock down the MAC address.
([ethernet] PORT-NUM) (p. 659)
■ [no] static-mac MAC-ADDR vlan -- The VLAN ID on which to lock down the MAC address. (VLAN-ID)
(p. 659)
EXAMPLES
Example: static-mac MAC-ADDR <...>
Lock MAC address 0800095F3AD6 to port A1 on VLAN V1:
ProCurve(cong)# static-mac 0800095F3AD6 vlan V1 interface A1
COMMAND DETAILS
vlan (p. 659)interface (p. 659)
interface
■ [no] static-mac MAC-ADDR interface [ETHERNET] PORT-NUM
The port list on which to lock down the MAC address.
vlan
■ [no] static-mac MAC-ADDR vlan VLAN-ID
The VLAN ID on which to lock down the MAC address.
659© 2009 Hewlett-Packard Development Company, L.P.