236
# Create a user profile named
userc
.
[Device] user-profile userc
# Apply QoS policy
for_userc
to the outbound direction of user profile
userc
.
[Device-user-profile-userc] qos apply policy for_userc outbound
[Device-user-profile-userc] quit
7.
Configure local users:
# Create a local user named
usera
.
[Device] local-user usera class network
New local user added.
# Set the password to
a12345
for user
usera
.
[Device-luser-network-usera] password simple a12345
# Authorize user
usera
to use the LAN access service.
[Device-luser-network-usera] service-type lan-access
# Specify user profile
usera
as the authorization user profile for user
usera
.
[Device-luser-network-usera] authorization-attribute user-profile usera
[Device-luser-network-usera] quit
# Create a local user named
userb
.
[Device] local-user userb class network
New local user added.
# Set the password to
b12345
for user
userb
.
[Device-luser-network-userb] password simple b12345
# Authorize user
userb
to use the LAN access service.
[Device-luser-network-userb] service-type lan-access
# Specify user profile
userb
as the authorization user profile for user
userb
.
[Device-luser-network-userb] authorization-attribute user-profile userb
[Device-luser-network-userb] quit
# Create a local user named
userc
.
[Device] local-user userc class network
New local user added.
# Set the password to
c12345
for user
userc
.
[Device-luser-network-userc] password simple c12345
# Authorize user
userc
to use the LAN access service.
[Device-luser-network-userc] service-type lan-access
# Specify user profile
userc
as the authorization user profile for user
userc
.
[Device-luser-network-userc] authorization-attribute user-profile userc
[Device-luser-network-userc] quit
8.
Configure the authentication, authorization, and accounting methods for local users:
[Device] domain user
[Device-isp-user] authentication lan-access local
[Device-isp-user] authorization lan-access local
[Device-isp-user] accounting login none
[Device-isp-user] quit
9.
Configure 802.1X:
# Enable 802.1X on Ten-GigabitEthernet 1/0/1.
[Device] interface ten-gigabitethernet 1/0/1
[Device-Ten-GigabitEthernet1/0/1] dot1x
Содержание FlexFabric 5940 SERIES
Страница 251: ...238 ...