华三交换机scheme被占用处理方法1、问题(Error: Such scheme is being used by online user, can not be modified or deleted!)

2、解决思路

3、修改配置,使得交换机可以无须密码登录

4、先不用关闭原来session,重新打开一个session(telnet),看不需要密码能否连上交换机

5、telnet上交换机后,再关闭原来3A session

6、开始修改3A配置

7、恢复交换机配置,使得交换机需要验证才能登录



1、问题(Error: Such scheme is being used by online user, can not be modified or deleted!)

使用3A登录交换机后,想在线更改华三交换机3A服务器的IP地址,结果报错方案被占用无法修改

2、解决思路

因为使用3A账号登录交换机,导致scheme占用,所以无法修改,那么可以修改下交换机配置,使得可以暂时先不用登录密码,使用telnet登录,然后再去修改3A配置,最后再将配置还原

3、修改配置,使得交换机可以无须密码登录

system-view
telnet server enable
user-interface vty 0 4
 authentication-mode none
 user privilege level 3
 undo command authorization
 quitreturn
save

4、先不用关闭原来session,重新打开一个session(telnet),看不需要密码能否连上交换机

5、telnet上交换机后,再关闭原来3A session

6、开始修改3A配置

system-view
domain acs
 authentication login none
 authorization login none
 accounting login nonequit
hwtacacs scheme acs
 secondary authentication 10.X.X.X
 secondary authorization 10.X.X.X
 secondary accounting 10.X.X.X
 primary authentication 10.X.X.X
 primary authorization 10.X.X.X
 primary accounting 10.X.X.Xquit
domain acs
 authentication login hwtacacs-scheme acs local
 authorization login hwtacacs-scheme acs local
 accounting login hwtacacs-scheme acs localquit
reuturn
save

7、恢复交换机配置,使得交换机需要验证才能登录

system-view
user-interface vty 0 4
 authentication-mode scheme
 undo user privilege level
 command authorizationquit
return
save