HP 6125XLG R2306-HP 6125XLG Blade Switch Security Configuration Guide - Page 111
Verifying the configuration
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 111 highlights
# Set port security's limit on the number of MAC addresses to 64 on the port. [Device] interface ten-gigabitethernet 1/1/5 [Device-Ten-GigabitEthernet1/1/5] port-security max-mac-count 64 # Set the port security mode to macAddressElseUserLoginSecure. [Device-Ten-GigabitEthernet1/1/5]port-security port-mode mac-else-userlogin-secure # Set the NTK mode of the port to ntkonly. [Device-Ten-GigabitEthernet1/1/5] port-security ntk-mode ntkonly [Device-Ten-GigabitEthernet1/1/5] quit Verifying the configuration # Display the port security configuration. [Device] display port-security interface ten-gigabitethernet 1/1/5 Port security is enabled globally AutoLearn aging time is 0 minutes Disableport Timeout: 20s OUI value: Ten-GigabitEthernet1/1/5 is link-up Port mode: macAddressElseUserLoginSecure NeedToKnow mode: NeedToKnowOnly Intrusion protection mode: NoAction Max number of secure MAC addresses: 64 Current number of secure MAC addresses: 0 Authorization is permitted After users pass authentication, you can use the following commands to display the user authentication information on the port: # Display MAC authentication information. [Device] display mac-authentication interface ten-gigabitethernet 1/1/5 MAC address authentication is enabled User name format is fixed account Fixed username: aaa Fixed password: ****** Offline detect period is 60s Quiet period is 5s Server response timeout value is 100s Max number of users is 1024 per slot Current number of online users is 3 Current authentication domain is sun Silent MAC user info: MAC Addr From Port Port Index Ten-GigabitEthernet1/1/5 is link-up MAC address authentication is enabled Max number of online users is 256 Current number of online users is 3 102