Port-Security Mac-Address Security - HP 5920 Command Reference Manual

Table of Contents

Advertisement

Related commands
display port-security
display port-security mac-address block
port-security timer disableport

port-security mac-address security

Use port-security mac-address security to add a secure MAC address.
Use undo port-security mac-address security to remove a secure MAC address.
Syntax
In Ethernet interface view:
port-security mac-address security [ sticky ] mac-address vlan vlan-id
undo port-security mac-address security [ sticky ] mac-address vlan vlan-id
In system view:
port-security mac-address security [ sticky ] mac-address interface interface-type interface-number vlan
vlan-id
undo port-security mac-address security [ [ mac-address [ interface interface-type interface-number ] ]
vlan vlan-id ]
Default
No secure MAC address entry is configured.
Views
Ethernet interface view, system view
Predefined user roles
network-admin
Parameters
sticky mac-address: Specifies a sticky MAC address, in H-H-H format. If you do not provide this keyword,
the command configures a static secure MAC address.
interface interface-type interface-number: Specifies an Ethernet port by its type and number.
vlan vlan-id: Specifies the VLAN that has the secure MAC address. The vlan-id argument represents the
ID of the VLAN in the range of 1 to 4094. Make sure that you have assigned the port to the specified
VLAN.
Usage guidelines
Secure MAC addresses are MAC addresses configured or learned in autoLearn mode, and if saved, can
survive a device reboot. You can bind a MAC address to only one port in a VLAN.
125

Advertisement

Table of Contents
loading

This manual is also suitable for:

59005920 series5900 series

Table of Contents