Board logo

标题: 如何修改FLEX刀箱中以太网交换模块的CLI方式 [打印本页]

作者: 合肥亮少    时间: 2016-9-29 09:37     标题: 如何修改FLEX刀箱中以太网交换模块的CLI方式

知识点分析:

ibmnos-cli:一种老式的菜单命令行

iscli:大致 90% 以上的命令与 Cisco的相同或相似

以下操作请在未进行过配置的机器中操作。


操作步骤:

1、从ibmnos-cli模式进入到iscli模式
>> Main# boot
------------------------------------------------------------
[Boot Options Menu]
     sched     - Scheduled Switch Reset Menu
     image     - Select software image to use on next boot
     conf      - Select config block to use on next boot
     netboot   - NetBoot and NetConfig menu
     mode      - Select CLI mode to use on next boot
     prompt    - Prompt for selectable CLI mode
     gtimg     - Download new software image via SFTP/FTP/TFTP
     ptimg     - Upload selected software image via SFTP/FTP/TFTP
     reset     - Reset switch [WARNING: Restarts Spanning Tree]
     cur       - Display current boot options

>> Boot Options# mode

Currently set to use switch mode "ibmnos-cli" on next boot.

Specify new mode to use ["ibmnos-cli"/"iscli"]: iscli

Next boot will use mode "iscli".








重启交换机
Boot Options# reset
WARNING: There are unsaved configuration changes.
Confirm operation without saving changes (leave them pending) [y/n]: y

Reset will use software "image1" and the factory default config block.
>> Note that this will RESTART the Spanning Tree,
>> which will likely cause an interruption in network service.
Confirm reset [y/n]: y
Resetting at  2:28:11 Fri Aug 26, 2016...


2、从iscli模式进入到ibmnos-cli模式
Router>enable

Router#configure terminal

Router(config)#boot cli-mode ibmnos-cli

Next boot will use mode "ibmnos-cli".

Router(config)#reload

WARNING: The running-config is different to startup-config.

Confirm operation without saving running-config to startup-config (y/n) ? y

Reset will use software "image1" and the factory default config block.

>> Note that this will RESTART the Spanning Tree,

>> which will likely cause an interruption in network service.

Confirm reload (y/n) ? y

Resetting at  2:19:31 Fri Aug 26, 2016...














欢迎光临 合肥本本之星 合肥Thinkpad专卖店 合肥Apple专卖店 hfthink 合肥本之星信息科技有限公司 (http://hfthink.net/) Powered by Discuz! 7.2