
C
HAPTER
25
| General Security Measures
Port Security
– 876 –
C
OMMAND
M
ODE
Interface Configuration (Ethernet)
C
OMMAND
U
SAGE
◆
The default maximum number of MAC addresses allowed on a secure
port is zero (that is, port security is disabled). To use port security, you
must configure the maximum number of addresses allowed on a port
using the
port security max-mac-count
command.
◆
When port security is enabled using the
port security
command, or
the maximum number or allowed addresses is set to value lower than
the current limit after port security has been enabled, the switch first
clears all dynamically learned entries from the address table. It then
starts learning new MAC addresses on the specified port, and stops
learning addresses when it reaches a configured maximum number.
Only incoming traffic with source addresses already stored in the
dynamic or static address table will be accepted.
◆
To configure the maximum number of address entries which can be
learned on a port, specify the maximum number of dynamic addresses
allowed. The switch will learn up to the maximum number of allowed
address pairs <source MAC address, VLAN> for frames received on the
port. (The specified maximum address count is effective when port
security is enabled or disabled.) Note that you can manually add
additional secure addresses to a port using the
mac-address-table
static
command. When the port has reached the maximum number of
MAC addresses, the port will stop learning new addresses. The MAC
addresses already in the address table will be retained and will not be
aged out.
◆
MAC addresses that port security has learned, can be saved in the
configuration file as static entries. See command
port security
mac-address-as-permanent
.
◆
If port security is enabled, and the maximum number of allowed
addresses are set to a non-zero value, any device not in the address
table that attempts to use the port will be prevented from accessing the
switch.
◆
If a port is disabled due to a security violation, it must be manually re-
enabled using the
no
shutdown
command.
◆
A secure port has the following restrictions:
■
Cannot be connected to a network interconnection device.
■
Cannot be a trunk port.
E
XAMPLE
The following example enables port security for port 5, and sets the
response to a security violation to issue a trap message:
Console(config)#interface ethernet 1/5
Console(config-if)#port security action trap
Содержание ES3528MV2
Страница 1: ...Management Guide www edge core com ES3528MV2 ES3528MV2 DC 28 Port Fast Ethernet Layer 2 Switch...
Страница 2: ......
Страница 4: ......
Страница 48: ...CONTENTS 48...
Страница 68: ...SECTION I Getting Started 68...
Страница 78: ...CHAPTER 1 Introduction System Defaults 78...
Страница 96: ...SECTION II Web Configuration 96...
Страница 116: ...CHAPTER 3 Using the Web Interface Navigating the Web Browser Interface 116...
Страница 148: ...CHAPTER 4 Basic Management Tasks Resetting the System 148...
Страница 192: ...CHAPTER 5 Interface Configuration VLAN Trunking 192 Figure 65 Configuring VLAN Trunking...
Страница 226: ...CHAPTER 6 VLAN Configuration Configuring VLAN Translation 226...
Страница 236: ...CHAPTER 7 Address Table Settings Configuring MAC Address Mirroring 236...
Страница 270: ...CHAPTER 9 Congestion Control Automatic Traffic Control 270...
Страница 300: ...CHAPTER 11 Quality of Service Attaching a Policy Map to a Port 300...
Страница 418: ...CHAPTER 13 Security Measures DHCP Snooping 418...
Страница 588: ...CHAPTER 15 IP Configuration Setting the Switch s IP Address IP Version 6 588...
Страница 606: ...CHAPTER 16 IP Services Configuring the PPPoE Intermediate Agent 606...
Страница 676: ...CHAPTER 17 Multicast Filtering Multicast VLAN Registration for IPv6 676...
Страница 772: ...CHAPTER 20 System Management Commands Switch Clustering 772...
Страница 802: ...CHAPTER 22 Remote Monitoring Commands 802...
Страница 808: ...CHAPTER 23 Flow Sampling Commands 808...
Страница 872: ...CHAPTER 24 Authentication Commands PPPoE Intermediate Agent 872...
Страница 950: ...CHAPTER 25 General Security Measures Port based Traffic Segmentation 950...
Страница 1002: ...CHAPTER 27 Interface Commands Power Savings 1002...
Страница 1016: ...CHAPTER 28 Link Aggregation Commands Trunk Status Display Commands 1016...
Страница 1046: ...CHAPTER 30 Congestion Control Commands Automatic Traffic Control Commands 1046...
Страница 1058: ...CHAPTER 32 UniDirectional Link Detection Commands 1058...
Страница 1064: ...CHAPTER 33 Address Table Commands 1064...
Страница 1124: ...CHAPTER 35 ERPS Commands 1124...
Страница 1168: ...CHAPTER 36 VLAN Commands Configuring Voice VLANs 1168...
Страница 1182: ...CHAPTER 37 Class of Service Commands Priority Commands Layer 3 and 4 1182...
Страница 1202: ...CHAPTER 38 Quality of Service Commands 1202...
Страница 1360: ...CHAPTER 41 CFM Commands Delay Measure Operations 1360...
Страница 1382: ...CHAPTER 43 Domain Name Service Commands 1382...
Страница 1440: ...SECTION IV Appendices 1440...
Страница 1468: ...COMMAND LIST 1468...
Страница 1479: ......
Страница 1480: ...ES3528MV2 ES3528MV2 DC E112013 ST R03...