取消
显示结果 
搜索替代 
您的意思是: 
cancel
6834
查看次数
10
有帮助
7
回复

C2960X如何回到“legacy ”模式

BenLiang31942
Level 1
Level 1
型号:WS-C2960X-48FPS-L 版本: 15.2(4)E8
不小心进入了“new-style” 模式
switch#authentication display config-mode
Current configuration mode is new-style
请问有什么办法回到默认的 “legacy ”模式?
1 个已接受解答

已接受的解答

你好,
没有办法回退到legacy模式。
authentication display {legacy | new-style}
Example:
Device# authentication display new-style
Sets the display mode for authentication and policy configuration.
The default display mode is legacy.
You can use this command to switch between legacy and C3PL display mode until you execute the first explicit Identity-Based Networking Services command. After you enter the first explicit Identity-Based Networking Services command, for example when configuring a control class or control policy, the system displays a prompt to confirm whether you want to continue because this command will be disabled and you cannot revert to legacy mode.
Note
If you save the configuration while the new-style mode is enabled, and then perform a reload, the display mode is permanently set to new-style. The authentication display command is disabled and you cannot revert to legacy mode.
If you boot the standby device while in new-style mode, the standby device will be in new-style mode and after switchover the device remains in new-style mode. To switch back to legacy mode, you must use the authentication display legacy command and reload the standby switch.
可以看看authentication display legacy命令还可以使用吗?或者没有保存配置的话重启一下。可能现在authentication display legacy转换回原来的模式这个命令在这台2960上已经消失没法用了
另外,3850的文档也是说没法转换回去了:
After you enter the first explicit Session Aware Networking command, for example when configuring a control class or control policy, the system displays a prompt to confirm whether you want to continue because this command will be disabled and you cannot revert to legacy mode.
https://www.cisco.com/en/US/docs/ios-xml/ios/san/configuration/xe-3se/3850/san-cntrl-pol.html#d25e373a1635
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rps-Cheers | If it solves your problem, please mark as answer. Thanks !

在原帖中查看解决方案

7 条回复7

你好,
没有办法回退到legacy模式。
authentication display {legacy | new-style}
Example:
Device# authentication display new-style
Sets the display mode for authentication and policy configuration.
The default display mode is legacy.
You can use this command to switch between legacy and C3PL display mode until you execute the first explicit Identity-Based Networking Services command. After you enter the first explicit Identity-Based Networking Services command, for example when configuring a control class or control policy, the system displays a prompt to confirm whether you want to continue because this command will be disabled and you cannot revert to legacy mode.
Note
If you save the configuration while the new-style mode is enabled, and then perform a reload, the display mode is permanently set to new-style. The authentication display command is disabled and you cannot revert to legacy mode.
If you boot the standby device while in new-style mode, the standby device will be in new-style mode and after switchover the device remains in new-style mode. To switch back to legacy mode, you must use the authentication display legacy command and reload the standby switch.
可以看看authentication display legacy命令还可以使用吗?或者没有保存配置的话重启一下。可能现在authentication display legacy转换回原来的模式这个命令在这台2960上已经消失没法用了
另外,3850的文档也是说没法转换回去了:
After you enter the first explicit Session Aware Networking command, for example when configuring a control class or control policy, the system displays a prompt to confirm whether you want to continue because this command will be disabled and you cannot revert to legacy mode.
https://www.cisco.com/en/US/docs/ios-xml/ios/san/configuration/xe-3se/3850/san-cntrl-pol.html#d25e373a1635
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rps-Cheers | If it solves your problem, please mark as answer. Thanks !

BenLiang31942
Level 1
Level 1
YilinChen 发表于 2020-2-24 10:30
参考下文:
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ibns/configuration/15-e/ibns-15-e-book ...

你好,我在链接里面没有找到是怎么转换模式的,可以直接告诉我怎么操作吗?

BenLiang31942
Level 1
Level 1
1540488497lcj 发表于 2020-2-24 18:28
你好,
没有办法回退到legacy模式。

谢谢。
authentication display legacy 已经没有了,清空配置可以转回去吗?

YilinChen
Spotlight
Spotlight
BenLiang31942 发表于 2020-2-24 14:57
你好,我在链接里面没有找到是怎么转换模式的,可以直接告诉我怎么操作吗?

Identity-Based Networking Services Configuration
To convert all relevant authentication commands to their Class-Based Policy Language(CPL) control policy equivalents, use the authentication convert-to new-style command. This command permanently converts the legacy configuration on the switch to identity-based networking services.
尝试一下 no authentication convert-to new-style
如果不行,我能想到的办法就是先备份配置,然后清空配置,再重启设备了(把设备初始化)

BenLiang31942
Level 1
Level 1
YilinChen 发表于 2020-2-25 08:41
Identity-Based Networking Services Configuration
To convert all relevant authentication commands ...

好的,多谢!
现在这个设备短时间不能重启,这个设备原来是配置dot1x认证, MAB认证和NAC的,在这个模式下面,是怎么配置这些的呢?

YilinChen
Spotlight
Spotlight
BenLiang31942 发表于 2020-2-25 09:32
好的,多谢!
现在这个设备短时间不能重启,这个设备原来是配置dot1x认证, MAB认证和NAC的,在这个模式 ...

那就参考给你的链接,用新的的模式来配置呗;
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接