SNR S2989G-24TX-POE — настройка безопасности портов в сетевых устройствах [112/553]

Превью страниц Страница 112 / 553
SNR S2989G-24TX-POE [112/553] Example of port security
2-48
S2989G-24TX Operation Manual Chapter 2 Layer 2 services
Configuration
Command
Explanation
Port mode
switchport port-security
no switchport port-security
Configure port-security of the
interface.
switchport port-security mac-address
<mac-address> [vlan <vlan-id>]
no switchport port-security mac-address
<mac-address> [vlan <vlan-id>]
Configure the static security
MAC of the interface.
switchport port-security maximum <value> [vlan
<vlan-list>]
no switchport port-security maximum <value>
[vlan <vlan-list>]
Configure the maximum
number of the security MAC
address allowed by the
interface.
switchport port-security violation {protect |
recovery | restrict | shutdown}
no switchport port-security violation
When exceeding the
maximum number of the
configured MAC addresses,
MAC address accessing the
interface does not belongs to
this interface in MAC address
table or a MAC address is
configured to several
interfaces in same VLAN,
both of them will violate the
security of the MAC address.
switchport port-security aging {static | time
<value> | type {absolute | inactivity}}
no switchport port-security violation aging {static
| time | type}
Enable port-security aging
entry of the interface, specify
aging time or aging type.
Admin mode
clear port-security {all | configured | dynamic |
sticky} [[address <mac-addr> | interface
<interface-id>] [vlan <vlan-id> ]]
Clear the secure MAC entry
of the interface.
show port-security [interface <interface-id>]
[address | vlan]
Show port-security
configuration.
2.11.3
Example of PORT SECURITY

Содержание

666

Узнайте, как настроить безопасность портов на сетевых интерфейсах, включая управление MAC-адресами и параметры старения. Подробные команды и объяснения.