run show port-security interface
The run show port-security interface command displays the detailed port security configuration and statistical information based on secure ports.
Command Syntax
run show port-securityinterface [gigabit-ethernet <interface-name>]
Parameter
Parameter | Description |
gigabit-ethernet <interface-name> | Optional. Specifies a secure interface name. The value is a string.
|
Example
- Run run show port-security interface command to view the detailed port security configuration and statistical information of all the secure ports.
admin@Xorplus# run show port-security interface Interface ge-1/1/22 ---------------------------------------- Port Security : enabled Violation action : restrict Block type : N/A Sticky : true Maximum MAC limit : 2 Total MAC addresses : 0 Configured MAC addresses : 0 Sticky MAC addresses : 0 Security violation count : 0 Interface ge-1/1/23 ---------------------------------------- Port Security : enabled Violation action : shutdown-temp Block type : N/A Sticky : true Maximum MAC limit : 1 Total MAC addresses : 0 Configured MAC addresses : 0 Sticky MAC addresses : 0 Security violation count : 0 Interface ge-1/1/34 ---------------------------------------- Port Security : enabled Violation action : protect Block type : N/A Sticky : false Maximum MAC limit : 1 Total MAC addresses : 0 Configured MAC addresses : 0 Sticky MAC addresses : 0 Security violation count : 0
- Run command run show port-security interface gigabit-ethernet <interface-name> to view the detailed port security configuration and statistical information of a specific secure port.
admin@Xorplus# run show port-security interface gigabit-ethernet ge-1/1/22 Interface ge-1/1/22 ---------------------------------------- Port Security : enabled Violation action : restrict Block type : N/A Sticky : true Maximum MAC limit : 2 Total MAC addresses : 0 Configured MAC addresses : 0 Sticky MAC addresses : 0 Security violation count : 0
Copyright © 2024 Pica8 Inc. All Rights Reserved.