EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Viewing Port Security Information

Ruijie RG-S2900G-E Series
943 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuration Guide Port-based Flow Control Configuration
In the interface configuration mode, use no switchport port-security aging time to disable the port
security aging. Use the no switchport port-security aging static to apply the aging time only to
dynamically learned security address.
The example below describes how to configure the port security aging time on interface
Gigabitethernet 0/3. The aging time is set to 8 minutes and it is applicable to statically-configured
secure addresses:
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# interface gigabitthernet 0/3
Ruijie(config-if)# switchport port-security aging time 8
Ruijie(config-if)# switchport port-security aging static
Ruijie(config-if)# end
Viewing Port Security Information
In the privileged mode, you can view the security information of a port by using the following
commands.
Command
Function
Ruijie#show port-security interface
[interface-id]
View the port security configuration of an interface.
Ruijie#show port-security address
View the secure address information.
Ruijie# show port-security address
[interface-id]
Show the secure address information on an
interface.
Ruijie# show port-security
Show the statistics of all the security ports, including
the maximum number of secure addresses, the
number of current addresses, and violation handling
mode.
The example below shows the port security configuration on interface gigabitethernet 0/3:
Ruijie# show port-security interface gigabitethernet 0/3
Interface Gi0/3
Port Security: Enabled
Port status : down
Violation mode:Shutdown
Maximum MAC Addresses:8
Total MAC Addresses:0
Configured MAC Addresses:0
Aging time : 8 mins
SecureStatic address aging : Enabled
The instance below shows all the secure addresses in the system.
Ruijie# show port-security address
Vlan Mac Address IP Address Type Port Remaining Age(mins)
----------------------------------------- ------------------
1 00d0.f800.073c 192.168.12.202 Configured Gi0/3 8
1 00d0.f800.3cc9 192.168.12.5 Configured Gi0/1 7

Table of Contents

Related product manuals