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
Summary of Contents for RG-S2900G-E Series
Page 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Page 91: ...Configuration Guide Configuring PoE Configuration ...
Page 133: ...Configuration Guide EEE Configuration ...
Page 319: ...Configuration Guide QinQ Configuration ...
Page 408: ......
Page 409: ...IP Routing Configuration 1 Static Route Configuration ...
Page 412: ......
Page 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Page 757: ......
Page 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Page 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Page 901: ...Configuration Guide ERSPAN Configuration ...
Page 902: ...Web based Configuration 1 Web based Configuration ...