S2600E CLI Reference Guide Chapter 7 Port-based Flow Control Configuration Commands
Usage
guidelines
With port security, you can strictly control the input on a specific port
by restricting access to the MAC address and IP address (optional) of
the port on the switch. After you configure some secure addresses for
the port security-enabled port, only the packets from these addresses
can be forwarded. In addition, you can also restrict the maximum
number of secure addresses on a port. If you set the maximum value
to 1 and configure one secure address for this port, the workstation
(whose address is the configured secure Mac address) connected to
this port will occupy all the bandwidth of this port exclusively.
Examples
This example shows how to enable port security on interface
gigabitethernet 1/1, and the way to deal with violation is
shutdown
:
Ruijie(config)#
interface gigabitethernet
1/1
Ruijie(config-if)#
switchport port-security
Ruijie(config-if)#
switchport port-security violation
shutdown
Command
Description
Related
commands
show port-security
Show port security settings.
7.1.4
switchport port-security
aging
Use this command to set the aging time for all secure addresses on a interface. To enable this
function, you need to set the maximum number of secure addresses. In this way, you can
make the switch automatically add or delete the secure addresses on the interface. Use the
no
form of the command to apply the aging time on automatically learned address or to disable
the aging.
switchport port-security aging {static | time time }
no switchport port-security aging {static | time }
Parameter
Description
static
Apply the aging time to both manually
configured secure addresses and
automatically learned addresses.
Otherwise, apply it to only the
automatically learned secure addresses.
Parameter
description
time time
Specify the aging time for the secure
address on this port. Its range is 0-1440 in
minutes. If you set it to 0, the aging
function is disabled actually.
Содержание RG-S2600E Series
Страница 1: ...CLI Reference Guide RG S2600E Series Switch RGOS 10 4 3 p1 1...
Страница 5: ...Basic Configuration...
Страница 83: ...Ethernet Switching...
Страница 240: ...IPApplication...
Страница 263: ...S2600E P CLI Reference Guide Chapter 1 IP Address Configuration Commands Platform description...
Страница 317: ...S2600E P CLI Reference Guide Chapter 5 DHCP Relay Configuration Commands Platform description...
Страница 335: ...Network Management and Monitoring...
Страница 361: ...S2600E CLI Reference Guide Chapter 1 SNMP Configuration Command Platform description Supported by switches only...
Страница 408: ...S2600E CLI Reference Guide Chapter 5 SPAN Configuration Commands...
Страница 415: ...S2600E CLI Reference Guide Chapter 6 RSPAN Configuration Commands Platform description N A...
Страница 416: ...Multicast Commands...
Страница 449: ...S2600E P CLI Reference Guide Chapter 1 IGMP Snooping Commands Example3 Example4...
Страница 450: ...S2600E P CLI Reference Guide Chapter 1 IGMP Snooping Commands...
Страница 477: ...Security...
Страница 526: ...S2600E CLI Reference Guide Chapter 1 AAA Configuration Commands Platform description Supported by switch products only...
Страница 656: ...S2600E CLI Reference Guide Chapter 5 Web Authentication Configuration Commands Configuration Example...
Страница 735: ...S2600E CLI Reference Guide Chapter 10 DHCP Snooping Configuration Commands Examples Command Description Related commands...
Страница 877: ...S2600E CLI Reference Guide Chapter 16 Ruijie Switch Security Compatible Mode Configuration Commands...
Страница 878: ...ACL QOS...
Страница 953: ...Reliability...
Страница 985: ...S2600E CLI Reference Guide Chapter 4 Warm Reload Upgrade Configuration Commands Platform Description None...
Страница 1011: ...S2600E CLI Reference Guide Chapter 5 SRM Configuration Commands Command Description Related commands Platform description...
Страница 1012: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands 6 GRTD Configuration Commands 6 1 Configuration Related Commands...
Страница 1024: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description...
Страница 1027: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description 6 2 Test Related Commands...
Страница 1029: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands commands None Platform description...
Страница 1031: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description...
Страница 1035: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands 6 3 Display Related Commands...
Страница 1121: ...System Management...