• All
  • Test
  • Startup
  • Experience Case
  • FAQ
Product line
Search
Cancel
Documents type
Author
Time
Search

★ H3C Comware V7 device HWTACACS Authentication by Cisco ISE Server Configuration Examples

2022-07-11 17:26:25 Published
  • 0Followed
  • -1Collected ,276Browsed
fans:0 follow:0

Network Topology

ISE---DUT---Client

Problem Description

Configuring Cisco ISE-based HWTACACS authentication for SSH login

Process Analysis

As shown, the PC is connected to the DUT. The ISE server performs HWTACACS authentication for the client when the client logs in to the DUT through SSH.

The client has the following permissions after it logs in to the DUT through SSH:

Has the permissions of the level-15 user role.

Cannot access the display cpu-usage command.

Solution

Procedures

Configuring the DUT

1. Configure an HWTACACS scheme:

# Create HWTACACS scheme ise

<DUT> system-view

[DUT] hwtacacs scheme tac

# Specify the ISE server at 10.0.10.141 as the primary authentication, authorization, and accounting servers and specify a shared key for secure communication with the ISE server. Make sure the shared key is the same as the shared secret configured on the ISE server.

[DUT-hwtacacs-ise] primary authentication 10.0.10.141 key simple expert

[DUT-hwtacacs-ise] primary authorization 10.0.10.141 key simple expert

[DUT-hwtacacs-ise] primary accounting 10.0.10.141 key simple expert

# Exclude the domain name from usernames sent to the ISE server.

[DUT-hwtacacs-ise] user-name-format without-domain

# Specify 192.168.0.53 as the NAS IP address of HWTACACS packets sent to the ISE server.

Make sure the NAS IP address is the same as that specified on the ISE server for the DUT.

[DUT-hwtacacs-ise] nas-ip 192.168.0.53

[DUT-hwtacacs-ise] quit

2. Configure an ISP domain:

# Create ISP domain ise.

[DUT] domain ise

# Configure the ISP domain to use HWTACACS scheme ise for login user authentication and authorization and to not perform accounting for login users.

[DUT-isp-ise] authentication login hwtacacs-scheme ise

[DUT-isp-ise] authorization login hwtacacs-scheme ise

[DUT-isp-ise] accounting login none

# Configure the ISP domain to use HWTACACS scheme ise for command authorization and accounting.

[DUT-isp-ise] authorization command hwtacacs-scheme ise

[DUT-isp-ise] accounting command hwtacacs-scheme ise

[DUT-isp-ise] quit

# Configure the domain ise as default

[DUT] domain default enable ise

3. Enable the default role feature.

[DUT] role default-role enable

4. Enable command authorization and accounting.

[DUT] line vty 0 63

[DUT-line-vty0-63] authentication-mode scheme

[DUT-line-vty0-63] command authorization

[DUT-line-vty0-63] command accounting

[DUT-line-vty0-63] quit

Configuring the ISE server

1. Create a network access user:

a)       On the top navigation bar, select Work Centers > Device Administration > Identities.

b)       From the left navigation pane, select Users.

c)       Click Add.

d)       On the page that opens, set the name to edwin001 and password to Pwd@12345.

Make sure the password contains uppercase letters, lowercase letters, and digits.

e)       Click Save.


2. Add the AC to the server as a network access device:

a)       On the top navigation bar, select Work Centers > Device Administration > Network Resources.

b)       From the left navigation pane, select Network Devices.

c)       Click Add.

d)       On the page that opens, set the name to Test_5560X_EI, specify IP address 192.168.0.53, select TACACS Authentication Settings, and set the shared secret to expert.

Make sure the IP address is the same as the NAS IP address of HWTACACS packets on the DUT.

Make sure the shared secret is the same as the shared key configured on the DUT.

e)       Save the configuration.


3. Configure authentication protocols:

a)       On the top navigation bar, select Work Centers > Device Administration > Policy Elements.

b)       From the left navigation pane, select Results > Allowed Protocols.

c)       Use the default allowed protocols service named Default Device Admin.


4. Configure a TACACS profile:

a)       On the top navigation bar, select Work Centers > Device Administration > Policy Elements.

b)       From the left navigation pane, select Results > TACACS Profiles.

c)       Click Add.

d)       On the page that opens, set the name to Test_tacacs, select Default Privilege, and set the default privilege to level 15.

e)       Save the configuration.


5. Configure a TACACS command set:

a)       On the top navigation bar, select Work Centers > Device Administration > Policy Elements.

b)       From the left navigation pane, select Results > TACACS Command Sets.

c)       Click Add.

d)       On the page that opens, set the name to Test_tacacs_command. In the Commands area, select Permit any command that is not listed below and deny the display cpu-usage command.

e)       Save the configuration.


6. Configure an authentication and authorization policy set:

a)       On the top navigation bar, select Work Centers > Device Administration > Device Admin Policy Sets.

b)       Click the plus icon + under Policy Sets.

c)       Set the policy set name to Test_tacacs_policy.


d)       Click the icon in the View column for the authentication and authorization policy set named Test_tacacs_policy.

e)       In the Authorization Policy area, add an authorization policy as follow:


f)        Save the configuration.

7. Enable device access authentication service:

a)       On the top navigation bar, select Administration > System > Deployment.

b)       Select the admin node, and then click Edit.


c)       On the page that opens, select the Enable Device Admin Service option and save the configuration.


Verifying the configuration

1.      Verify that the client can log in to the AC through SSH after it provides the correct username and password.


2.      Verify that the client can access only commands permitted by the level-15 role. For example, the client can access the display memory command. Verify that the client cannot access the display cpu-usage command.


Please rate this case:   
0 comments

No comments

Add Comments:

举报

×

侵犯我的权益 >
对根叔知了社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔知了社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明

提出建议

    +

Login before you can operate!

login

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作