mac

Commands for MAC Address Table Configuration
211
Parameter: None.
Command mode: Port Mode.
Default: Disable.
Usage Guide: Enable mac-address-table synchronizing and global mac notification trap,
then enable mac-address-table mac trap and mac notification trap in port mode. This
command takes effect as subcommand of mac-address-table synchronizing trap
command after enable global mac-address-table synchronizing trap only.
Example: Enable mac notification trap in port mode after the global mac notification trap
is enabled.
Switch(config)#mac-address-table synchronizing enable
Switch(config-if-ethernet1/1)#mac-address-table trap enable
Switch(config-if-enternet1/1)#exit
Swtich(config-if-ethernet1/1)#
16.2.4 mac-address-table synchronizing enable
Command: mac-address-table synchronizing enable
no mac-address-table synchronizing enable
Function: Enable the monitor function for MAC, if a MAC is added or deleted, the
system will report this monitored event; the no command will cancel this function.
Parameter: None.
Command mode: Global Mode.
Default: Disable.
Usage Guide: The user enables this function to obtain the status of the MAC changing
or the accessed user.
Example: Enable the monitor function for MAC.
Switch(Config)#mac-address-table synchronizing enable
16.2.5 show port-security
Command: show port-security
Function: Display the secure MAC addresses of the port.
Command mode: Admin and Configuration Mode.
Default: The switch is not display port-security configuration.
Usage Guide: This command displays the secure port MAC address information.
Example:
Switch#show port-security
Security Port MaxSecurity Addr CurrentAddr Security Action