Port-Security Mac-Address Dynamic; Port-Security Mac-Address Security - HP HSR6600 Command Reference Manual

Hide thumbs Also See for HSR6600:
Table of Contents

Advertisement

port-security mac-address dynamic

Use port-security mac-address dynamic to enable the dynamic secure MAC function. This function
converts sticky MAC addresses to dynamic, and disables saving them to the configuration file.
Use undo port-security mac-address dynamic to disable the dynamic secure MAC function. Then, all
dynamic secure MAC addresses are converted to sticky MAC addresses, and you can manually
configure sticky MAC address.
Syntax
port-security mac-address dynamic
undo port-security mac-address dynamic
Default
The dynamic secure MAC function is disabled. Sticky MAC addresses can be saved to the configuration
file, and once saved, survive a device reboot.
Views
Layer 2 Ethernet interface view
Default command level
2: System level
Usage guidelines
After you execute this command, you cannot manually configure sticky MAC address, and secure MAC
addresses automatically learned by a port in autoLearn mode are also dynamic. All dynamic MAC
addresses are lost at reboot. Use this command when you want to clear all sticky MAC addresses after
a device reboot.
You can display dynamic secure MAC addresses by using the display port-security mac-address security
command.
Examples
# Enable the dynamic secure MAC function on interface GigabitEthernet 3/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] port-security mac-address dynamic
Related commands
display port-security mac-address security
mac-address dynamic

port-security mac-address security

Use port-security mac-address security to add a secure MAC address in Layer 2 Ethernet interface view
or system view.
Use undo port-security mac-address security to remove a secure MAC address.
Syntax
In Layer 2 Ethernet interface view:
port-security mac-address security [ sticky ] mac-address vlan vlan-id
200

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 6600

Table of Contents