
137
CHAPTER 3
CLI CONFIGURATION
3.9.33.2 (config)# port-security aging
Syntax:
(config)# port-security aging
Explanation:
Enable port security aging function. If enabled, secured MAC addresses are subject to aging as discussed
in “Aging time” command. With aging enabled, a timer is started once the end-host gets secured. When the timer
expires, the switch starts looking for frames from the end-host, and if such frames are not seen within the next Aging
Period, the end-host is assumed to be disconnected, and the corresponding resources are freed on the switch.
Example:
Enable port security aging function.
Negation:
(config)# no port-security aging
Show:
> show port-security port [ interface ( <port_type> [ <v_port_type_list> ] ) ]
# show port-security port [ interface ( <port_type> [ <v_port_type_list> ] ) ]
3.9.33.3 (config)# port-security aging time
Syntax:
(config)# port-security aging time <v_10_to_10000000>
Explanation:
Configure a desired aging time value. If “Aging” is enabled, secured MAC addresses are subject to aging
as discussed this command. With aging enabled, a timer is started once the end-host gets secured. When the timer
expires, the switch starts looking for frames from the end-host, and if such frames are not seen within the next Aging
Period, the end-host is assumed to be disconnected, and the corresponding resources are freed on the switch.
Parameters:
<v_10_to_10000000>: Specify the aging time value. The allowed range is between 10 and 10,000,000 seconds.
Example:
Set the aging time value to 1800 seconds.
Negation:
(config)# no port-security aging time
Show:
> show port-security port [ interface ( <port_type> [ <v_port_type_list> ] ) ]
# show port-security port [ interface ( <port_type> [ <v_port_type_list> ] ) ]
3.9.33.4 (config-if)# port-security
Syntax:
(configt-if)# port-security
Explanation:
Enable the port security function on the selected ports.
Example:
Enable Gigabit Ethernet port 1-10’s port security function.
# config t
(config)# port-security aging time 1800
# config t
(config)# port-security aging
Содержание IFS-1604GSM Series
Страница 385: ......