6-15
[Switch] interface gigabitethernet 1/0/1
# Set the port security mode to userLoginWithOUI.
[Switch-GigabitEthernet1/0/1] port-security port-mode userlogin-withoui
4) Verify the configuration
After completing the above configurations, you can use the following command to view the
configuration information of the RADIUS scheme named radsun:
<Switch> display radius scheme radsun
SchemeName : radsun
Index : 1 Type : standard
Primary Auth IP : 192.168.1.2 Port : 1812 State : active
Primary Acct IP : 192.168.1.3 Port : 1813 State : active
Second Auth IP : 192.168.1.3 Port : 1812 State : active
Second Acct IP : 192.168.1.2 Port :1813 State : active
Auth Server Encryption Key : name
Acct Server Encryption Key : money
Interval for timeout(second) : 5
Retransmission times for timeout : 5
Interval for realtime accounting(minute) : 15
Retransmission times of realtime-accounting packet : 5
Retransmission times of stop-accounting packet : 500
Quiet-interval(min) : 5
Username format : without-domain
Data flow unit : Byte
Packet unit : one
Use the following command to view the configuration information of the ISP domain named sun:
<Switch> display domain sun
Domain = sun
State = Active
Access-limit = 30
Accounting method = Required
Default authentication scheme : radius=radsun
Default authorization scheme : radius=radsun
Default accounting scheme : radius=radsun
Domain User Template:
Idle-cut = Disabled
Self-service = Disabled
Use the following command to view the port security configuration information:
<Switch> display port-security interface gigabitethernet 1/0/1
Equipment port-security is enabled
Trap is disabled
Disableport Timeout: 20s
OUI value:
Index is 1, OUI value is 123401
Index is 2, OUI value is 123402
Index is 3, OUI value is 123403
Index is 4, OUI value is 123404