CLI Commands for Security
RocketLinx ES7528 Industrial Managed PoE Rack Mount User Guide
: 2000509 Rev. A
- 115
CLI Commands for Security
CLI Commands for Security
This table provides information about the command lines for security configuration.
Feature
Command Line
Port Security
Add MAC
Switch(config)# mac-address-table static 00c0.4e01.0101 vlan 1
interface fa1
mac-address-table unicast static set ok!
Port Security
Switch(config)# interface fa1
Switch(config-if)# switchport port-security
Disables new MAC addresses learning and aging activities!
Rule
:
Add the static MAC, VLAN and Port binding first, then enable the port security to stop new
MAC learning.
Disable Port
Security
Switch(config-if)# no switchport port-security
Enable new MAC addresses learning and aging activities!
Display
Switch# show mac-address-table static
Destination Address Address Type Vlan Destination Port
------------------- --------------- ------- -----------------
00c0.4e01.0101 Static 1 fa1
IP Security
IP Security
Switch(config)# ip security
Set ip security enable ok.
Switch(config)# ip security host 192.168.250.33
Add ip security host 192.168.250.33 ok.
Display
Switch# show ip security
ip security is enabled
ip security host:
192.168.250.33