思科华为基础命令对照表
2270 点击·0 回帖
![]() | ![]() | |
![]() | 思科华为基础命令对照表 思科 华为 show display show version disp version no undo show run disp current-configuration username local-user end return show start disp saved-configuration exit quit exit logout ctrl+z quit router rip rip router ospf ospf router bgp bgp hostname sysname access-list acl write save erase delete 0 simple 7 cipher logging info-center encapsulation link-protocol 例子: sysname liu-chao \设置主机名 interface Ethernet 0/0 进入接口模式 description T0 Switch-A \接口描述 ip address 192.168.10.222 255.255.255.0 \配置接口IP地址 undo shutdown \启用接口 local-user liu-chao \建立用户名liu-chao password simple liu-chao \设置密码为liu-chao service-type telnet \服务类型为telnet user-interface vty 0 4 \进入telnet通道,设置5个用户可以同时登陆 authentication-mode scheme \设置telnet的模式为本地用户名与密码登陆 user-interface console 0 设置console密码 authentication-mode password 密码认证 set authentication password simple liu-chao super password simple liu-chao \设置super密码, display version \查看VRP软件版本 display current-configuration \查看当前运行的配置 display saved-configuration \查看已保存过的配置 display interface Ethernet 0/0 \查看接品参数 display brief interface \查看接口基本状态 delete flash:/config.cfg \删除用SAVE保存过的配置 delete flash:/main.bin \删除VRP的映像文件(谨慎操作) save \保存配置 display 和ping 命令在任何视图下都可执行,不必切换到全局配置视图 | |
![]() | ![]() |