Got it

hwtacacs authorization not working

Latest reply: Dec 29, 2018 08:12:17 1731 5 6 0 0


【Problem Description】


Customer feedback:


aaa command authorization is not working on NE40E-X8A V8R10

 


The customer has authorization configured on TACACS server, they have a list of commands that are allowed for an accounthowever after authenticaiton all commands are accepted



【Problem Analysis】


Collect information as follow:


1、 Display diag file at NE40


2、 Debug inform at NE40.


<HUAWEI>debug hwtacacs all

[~HUAWEI-diagnose]debugging aaa all

<HUAWEI>t m

Info: Current terminal monitor is on.

<HUAWEI>t d


3、User information


<HUAWEI> display access-user username xxx verbose
<HUAWEI> display user-interface



After analysis the logs, we found the access privi level is 3


=======================================
                display user-interface
=======================================

 Idx  Type     Tx/Rx      Modem Privi ActualPrivi Auth  Int    
 0    CON 0    9600       -     3     -           P     9                  
 1    CON 0    9600       -     3     -           P     10                  
 33   AUX 0    9600       -     0     -           -     -                  
+ 34   VTY 0               -     0     3           A     -                  
+ 35   VTY 1               -     0     3           A     -                  



But from configuration hwtacacs is controller the level 15 user


authorization-scheme hwscheme
 authorization-mode hwtacacs local
 authorization-cmd 15 hwtacacs local


【Root Cause】


Configuration not match between tacacs server and device


【Solution Description】



So there have two way:


1 change the tacacs server make sure use lever is 15

2 change at device make the  authorization-cmd to 3


 authorization-scheme hwscheme
  authorization-mode hwtacacs local
  authorization-cmd 3 hwtacacs local



For more detail please reference:


http://support.huawei.com/hedex/pages/EDOC110003860131180AHD/05/EDOC110003860131180AHD/05/resources/software/nev8r10_vrpv8r16/user/vrp/authorization-cmd.html?ft=0&fe=10&hib=9.1.20.1.60&id=authorization-cmd&text=authorization-cmd&docid=EDOC1100038601



  • x
  • convention:

Torrent
Created Dec 29, 2018 03:31:30

1 change the tacacs server make sure use lever is 15

2 change at device make the authorization-cmd to 3



authorization-scheme hwscheme
authorization-mode hwtacacs local
authorization-cmd 3 hwtacacs local





For more detail please reference:



http://support.huawei.com/hedex/pages/EDOC110003860131180AHD/05/EDOC110003860131180AHD/05/resources/software/nev8r10_vrpv8r16/user/vrp/authorization-cmd.html?ft=0&fe=10&hib=9.1.20.1.60&id=authorization-cmd&text=authorization-cmd&docid=EDOC1100038601



thanks for sharing, we learned a lot
View more
  • x
  • convention:

lizhi94
Created Dec 29, 2018 03:44:59

  • x
  • convention:

Finn92
Created Dec 29, 2018 06:01:54

The authorization-cmd command configures command-line-based authorization for a user of a specified level.

The undo authorization-cmd command restores the default setting.

By default, command-line-based local authorization is used for all users and user groups at the levels 0 to 15.
View more
  • x
  • convention:

No.9527
Created Dec 29, 2018 06:56:44

HWTACACS prevents unauthorized users from attacking a network and supports command-line authorization. Compared with RADIUS, HWTACACS is more reliable in transmission and encryption, and is more suitable for security control.
View more
  • x
  • convention:

yjhd
Created Dec 29, 2018 08:12:17

  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.