1-10
To do...
Use the command...
Remarks
In system
view
mac-address security mac-address
interface interface-type interface-number vlan
vlan-id
interface
interface-type interface-number
Add a security
MAC address
In Ethernet
port view
mac-address security mac-address vlan
vlan-id
Either is
required.
By default, no
security MAC
address is
configured.
Displaying and Maintaining Port Security Configuration
To do...
Use the command...
Remarks
Display information about port
security configuration
display port-security
[
interface interface-list
]
Display information about
security MAC address
configuration
display mac-address security
[
interface
interface-type
interface-number
] [
vlan vlan-id
]
[
count
]
Available in
any view
Port Security Configuration Example
Port Security Configuration Example
Network requirements
Implement access user restrictions through the following configuration on GigabitEthernet 1/0/1 of the
switch.
z
Allow a maximum of 80 users to access the port without authentication and permit the port to learn
and add the MAC addresses of the users as security MAC addresses.
z
To ensure that Host can access the network, add the MAC address 0001-0002-0003 of Host as a
security MAC address to the port in VLAN 1.
z
After the number of security MAC addresses reaches 80, the port stops learning MAC addresses. If
any frame with an unknown MAC address arrives, intrusion protection is triggered and the port will
be disabled and stay silent for 30 seconds.
Network diagram
Figure 1-1
Network diagram for port security configuration
Configuration procedure
# Enter system view.
<Switch> system-view
# Enable port security.
Содержание Switch 4800G PWR 24-Port
Страница 165: ...1 8 4 mac address es found on port GigabitEthernet1 0 2 ...
Страница 214: ...ii Displaying and Maintaining System Guard 4 1 ...
Страница 445: ...ii ...
Страница 727: ...i Table of Contents Appendix A Acronyms A 1 ...
Страница 730: ...A 3 VOD Video On Demand W WRR Weighted Round Robin X XID eXchange Identification XRN eXpandable Resilient Networking ...