- 相關(guān)推薦
思科、華為、H3C常用命令對(duì)比大全
路由命令是交換機(jī)最基本的命令了,思科、華為、H3C這些網(wǎng)絡(luò)設(shè)備的命令還是挺多的,不過(guò)我們一般用的路由交換機(jī)設(shè)備都是最簡(jiǎn)單的了,先學(xué)基本命令,再學(xué)其他功能命令。
思科、華為、H3C常用命令對(duì)比大全
CISCO | H3C | HUAWEI | 描述 |
no | undo | undo | 取消、關(guān)閉當(dāng)前設(shè)置 |
show | display | display | 顯示查看 |
exit | quit | quit | 退回上級(jí) |
hostname | sysname | sysname | 設(shè)置主機(jī)名 |
en, config terminal | system-view | system-view | 進(jìn)入全局模式 |
delete | delete | delete | 刪除文件 |
reload | reboot | reboot | 重啟 |
write | save | save | 保存當(dāng)前配置 |
username | local-user | local-user | 創(chuàng)建用戶(hù) |
shutdown | shutdown | shutdown | 禁止、關(guān)閉 端口 |
show version | display version | display version | 顯示當(dāng)前系統(tǒng)版本 |
show startup-config | display saved-configuration | display saved-configuration | 查看已保存過(guò)的配置 |
show running-config | display current-configuration | display current-configuration | 顯示當(dāng)前配置 |
no debug all | ctrl+d | ctrl+d | 取消所有debug命令 |
erase startup-config | reset saved-configuration | reset saved-configuration | 刪除配置 |
end | return | return | 退到用戶(hù)視圖 |
exit | logout | logout | 登出 |
logging | info-center | info-center | 指定信息中心配置信息 |
line | user-interface | user-interface | 進(jìn)入線(xiàn)路配置(用戶(hù)接口)模式 |
start-config | saved-configuration | saved-configuration | 啟動(dòng)配置 |
running-config | current-configuration | current-configuration | 當(dāng)前配置 |
host | ip host | ip host | host名字和ip地址對(duì)應(yīng) |
交換部分 | |||
enable password | set authentication password simple | set authentication password simple | 配置明文密碼 |
interface type/number | interface type/number | interface type/number | 進(jìn)入接口 |
interface vlan 1 | interface vlan 1 | interface vlan 1 | 進(jìn)入vlan配置vlan管理地址 |
interface rang | interface ethID to ID | interface ethID to ID | 定議多個(gè)端口的組 |
enabl esecret | super password | super password | 設(shè)置特權(quán)口令 |
duplex (half|full|auto) | duplex (half|full|auto) | duplex (half|full|auto) | 配置接口狀態(tài) |
speed (10/100/1000) | speed (10/100/1000) | speed (10/100/1000) | 配置端口速率 |
switchport mode trunk | port link-type trunk | port link-type trunk | 配置trunk |
vlan ID /no vlan ID | vlan batch ID /undo vlan batch ID | vlan batch ID /undo vlan batch ID | 添加、刪除vlan |
switchport access vlan | port default vlan ID | port acces vlan ID | 將端口接入vlan |
show interface | display interface | display interface | 查看接口 |
show vlan ID | display vlan ID | display vlan ID | 查看vlan |
encapsulation | link-protocol | link-protocol | 封裝協(xié)議 |
channel-group 1 mode on | port link-aggregation group 1 | port link-aggregation group 1 | 鏈路聚合 |
ip routing | 默認(rèn)開(kāi)啟 | 默認(rèn)開(kāi)啟 | 開(kāi)啟三層交換的路由功能 |
no switchport | 不支持 | 不支持 | 開(kāi)啟接口三層功能 |
vtp domain | GVRP | GVRP | 對(duì)跨以太網(wǎng)交換機(jī)的VLAN進(jìn)行動(dòng)態(tài)注冊(cè)和刪除 |
spanning-tree vlan ID root primary | stp instance id root primary | stp instance id root primary | stp配置根網(wǎng)橋 |
spanning-tree vlan ID priority | stp primary vlaue | stp primary vlaue | 配置網(wǎng)橋優(yōu)先級(jí) |
show spanning-tree | dis stp brief | dis stp brief | 查看STP配置 |
路由部分 | |||
ip route 0.0.0.0 0.0.0.0 | ip route-static 0.0.0.0 0.0.0.0 | ip route-static 0.0.0.0 0.0.0.0 | 配置默認(rèn)路由 |
ip route 目標(biāo)網(wǎng)段+掩碼 下一跳 | ip route-static 目標(biāo)網(wǎng)段+掩碼 下一跳 | ip route-static 目標(biāo)網(wǎng)段+掩碼 下一跳 | 配置靜態(tài)路由 |
show ip route | display ip routing-table | display ip routing-table | 查看路由表 |
router rip /network 網(wǎng)段 | rip /network 網(wǎng)段 | rip /network 網(wǎng)段 | 啟用rip、并宣告網(wǎng)段 |
router ospf | ospf | ospf | 啟用ospf |
network ip 反碼 area <area-id> | area <area-id> | area <area-id> | 配置OSPF區(qū)域 |
no auto-summary | rip split-horizon | rip split-horizon | 配置RIP V2水平分割 |
show ip protocol | display ip protocol | display ip protocol | 查看路由協(xié)議 |
access-list 1-99 permit/deny IP |
rule id permit source IP |
rule id permit source IP | 標(biāo)準(zhǔn)訪問(wèn)控制列表 |
access-list 100-199 permit/deny protocol source IP+反碼 destination IP+反碼 operator operan | rule {normal|special}{permit|deny}{tcp|udp}source {<ip wild>|any}destination <ip wild>|any}[operate] | rule {normal|special}{permit|deny}{tcp|udp}source {<ip wild>|any}destination <ip wild>|any}[operate] | 擴(kuò)展訪問(wèn)控制列表 |
standby group-number ip virtual-ip | vrrp vrid number virtual-ip | vrrp vrid number virtual-ip | 配置HSRP組 |
standby group-number priority | vrrp vrid number priority | vrrp vrid number priority | 配置HSRP優(yōu)先級(jí) |
standby group-number preempt | vrrp vrid number preempt-mode | vrrp vrid number preempt-mode | 配置HSRP占先權(quán) |
standby group-number track | 配置端口跟蹤 | ||
ip nat inside source static | nat server global <ip> [port] inside <ip> port [protocol] | nat server global <ip> [port] inside <ip> port [protocol] | 配置靜態(tài)地址轉(zhuǎn)換 |
更多相關(guān)文章推薦:
5.華為S系列交換機(jī)配置的常見(jiàn)問(wèn)題
8.2016年華為認(rèn)證考試:IP城域網(wǎng)優(yōu)化解析
【思科、華為、H3C常用命令對(duì)比】相關(guān)文章:
思科與H3C配置命令對(duì)比MSTP VRRP08-09
華為思科交換機(jī)基本配置07-08
華為交換機(jī)常用命令大全06-22
思科CCNP培訓(xùn)08-22
思科認(rèn)證流程09-02
思科認(rèn)證級(jí)別09-22
思科認(rèn)證的含金量08-25
cisco常用命令大全07-19
Linux常用命令匯總03-19
Linux常用命令大全06-11