CISICO与华为命令的对比 (一)

一、cisico的基本配置

(1)router> 用户模式
(2)router# 特权模式
(3)router(config)# 全局配置模式
(4)router(config-if)# 接口模式
(5)Router>enable 从用户模式进入到特权模式
(6)Router#configure terminal 从特权到全局配置模式
(7)Router(config)#interface gigabitEthernet 0/0 进入接口模式

二、cisico与华为命名的部分对比**

CISICO与华为命令的对比 (一)
(1).进入console口 设置密码
HW:
<r1>sys
[r1]user-interface console 0
[r1-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):1234
CI:
Router>enable
Router#configure terminal
Router(config)#line console 0
Router(config-line)#login
Router(config-line)#password 1234
(2)更改名字
HW:
<Huawei>sys
[Huawei]sysname r1
CI:
Router>enable
Router#configure terminal
Router(config)#hostname r1
(3)显示端口ip
HW:
[r1]display ip routing-table
CI:
r1#show ip route
(4)激活端口--cisico是需要激活的,华为默认自动激活
r1>enable
r1#configure terminal
r1(config)#interface gi 0/0
r1(config-if)#no shutdown
(5)设置ip地址
HW:
[r1]interface gi0/0/0
[r1-GigabitEthernet0/0/0]ip add 192.168.1.1 24
CI:
Router#configure terminal
r1(config)#interface gi 0/0
r1(config-if)#no shutdown
r1(config-if)#ip address 192.168.1.2 255.255.255.0
(6)设置静态路由最后的命令
HW:
[AR1]ip route-static 目标网络 子网掩码 下一跳
CI:
R1#ip route 目标网络 子网掩码 下一跳

猜你喜欢

转载自blog.51cto.com/13721786/2110971
今日推荐