Displaying Port Security Configuration; Port Security Configuration Example - 3Com 4210 PWR Configuration Manual

9/18/26 port and pwr 9/18/26 port 4210 series switch
Table of Contents

Advertisement

Displaying Port
Security Configuration
Port Security
Configuration
Example
Port Security
Configuration Example
Before continuing, make sure that:
Port security is enabled.
The maximum number of security MAC addresses allowed on the port is set.
The security mode of the port is set to autolearn.
Table 86 Configure a security MAC address
Operation
Enter system view
Add a security
In system
MAC address
view
In Ethernet
port view
After the above configuration, you can use the display command in any view to
display port security information and verify your configuration.
Table 87 Display port security configuration
Operation
Display information about
port security configuration
Display information about
security MAC address
configuration
Network requirements
Implement access user restrictions through the following configuration on
Ethernet1/0/1 of the switch.
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.
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.
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.

Displaying Port Security Configuration

Command
system-view
mac-address security
mac-address interface
interface-type
interface-number vlan vlan-id
interface interface-type
interface-number
mac-address security
mac-address vlan vlan-id
Command
display port-security [
interface interface-list ]
display mac-address
security [ interface
interface-type
interface-number ] [ vlan
vlan-id ] [ count ]
129
Remarks
-
Either is required.
By default, no security MAC
address is configured.
Remarks
You can execute the display
command in any view.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents