
Authentication Commands
4-67
port security
This command enables or configures port security. Use the
no
form without any
keywords to disable port security. Use the
no
form with the appropriate keyword to
restore the default settings for a response to security violation or for the maximum
number of allowed addresses.
Syntax
port security
[
action
{
shutdown
|
trap
|
trap-and-shutdown
}
|
max-mac-count
address-count
]
no port security
[
action
|
max-mac-count
]
•
action
- Response to take when port security is violated.
•
shutdown
- Disable port only.
•
trap
- Issue SNMP trap message only.
•
trap-and-shutdown
- Issue SNMP trap message and disable port.
• max-mac-count
address-count
- The maximum number of MAC addresses
that can be learned on a port. (Range: 0 - 20)
Default Setting
Status: Disabled
Action: None
Maximum Addresses: 0
Command Mode
Interface Configuration (Ethernet)
Command Usage
• If you enable port security, the switch will stop dynamically learning new
addresses on the specified port. Only incoming traffic with source addresses
already stored in the dynamic or static address table will be accepted.
• To use port security, first allow the switch to dynamically learn the <source MAC
address, VLAN> pair for frames received on a port for an initial training period,
and then enable port security to stop address learning. Be sure you enable the
learning function long enough to ensure that all valid VLAN members have been
registered on the selected port.
• To add new VLAN members at a later time, you can manually add secure
addresses with the
mac-address-table static
command, or turn off port
security to re-enable the learning function long enough for new VLAN members
to be registered. Learning may then be disabled again, if desired, for security.
• A secure port has the following restrictions:
• Cannot use port monitoring.
• Cannot be a multi-VLAN port.
• Cannot be connected to a network interconnection device.
• Cannot be a trunk port.
• If a port is disabled due to a security violation, it must be manually re-enabled
using the
no
shutdown
command.
Summary of Contents for VDSL Switch-VS4512
Page 1: ...VDSL Switch VS4512 VDSL Switch VS4512DC Management Guide...
Page 2: ......
Page 22: ...Introduction 1 8...
Page 100: ...Configuring the Switch 3 70 Web Click VDSL Performance Monitor Information...
Page 146: ...Configuring the Switch 3 116...
Page 320: ...A 4 Software Specifications...
Page 322: ...B 2 Troubleshooting...
Page 332: ...Index Index 4...
Page 333: ......