日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 人文社科 > 生活经验 >内容正文

生活经验

华三h3c交换机最详细的配置实例手册_华为/思科/华三基本命令对比

發布時間:2023/11/27 生活经验 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 华三h3c交换机最详细的配置实例手册_华为/思科/华三基本命令对比 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

很多朋友反映,對華為/思科/華三交換機配置命令有些分不清楚,那么今天弱電君和大家來看下他們的區別在哪里,這里對命令做了個匯總,平時對命令不熟的朋友這次可以看下。

CISCO

H3C

HUAWEI

描述

no

undo

undo

取消、關閉當前設置

show

display

display

顯示查看

exit

quit

quit

退回上級

hostname

sysname

sysname

設置主機名

en, config terminal

system-view

system-view

進入全局模式

delete

delete

delete

刪除文件

reload

reboot

reboot

重啟

write

save

save

保存當前配置

username

local-user

local-user

創建用戶

shutdown

shutdown

shutdown

禁止、關閉 端口

show version

display version

display version

顯示當前系統版本

show startup-config

display ?saved-configuration

display ?saved-configuration

查看已保存過的配置

show running-config

display ?current-configuration

display ?current-configuration

顯示當前配置

no debug all

ctrl+d

ctrl+d

取消所有debug命令

erase startup-config

reset saved-configuration

reset saved-configuration

刪除配置

end

return

return

退到用戶視圖

exit

logout

logout

登出

logging

info-center

info-center

指定信息中心配置信息

line

user-interface

user-interface

進入線路配置(用戶接口)模式

start-config

saved-configuration

saved-configuration

啟動配置

running-config

current-configuration

current-configuration

當前配置

host

ip host

ip host

host名字和ip地址對應

交換部分

enable password

set authentication ?password simple

set authentication ?password simple

配置明文密碼

interface type/number

interface type/number

interface type/number

進入接口

interface vlan 1

interface vlan 1

interface vlan 1

進入vlan配置vlan管理地址

interface rang

interface ethID to ID

interface ethID to ID

定議多個端口的組

enabl esecret

super password

super password

設置特權口令

duplex (half|full|auto)

duplex (half|full|auto)

duplex (half|full|auto)

配置接口狀態

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

封裝協議

channel-group 1 mode on

port link-aggregation ?group 1

port link-aggregation ?group 1

鏈路聚合

ip routing

默認開啟

默認開啟

開啟三層交換的路由功能

no switchport

不支持

不支持

開啟接口三層功能

vtp domain

GVRP

GVRP

對跨以太網交換機的VLAN進行動態注冊和刪除

spanning-tree vlan ID ?root primary

stp instance id root primary

stp instance id root primary

stp配置根網橋

spanning-tree vlan ID ?priority

stp primary vlaue

stp primary vlaue

配置網橋優先級

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

配置默認路由

ip route 目標網段+掩碼 下一跳

ip route-static 目標網段+掩碼 下一跳

ip route-static 目標網段+掩碼 下一跳

配置靜態路由

show ip route

display ip ?routing-table

display ip ?routing-table

查看路由表

router rip /network 網段

rip /network 網段

rip /network 網段

啟用rip、并宣告網段

router ospf

ospf

ospf

啟用ospf

network ip 反碼 area

area ?

area ?

配置OSPF區域

no auto-summary

rip split-horizon

rip split-horizon

配置RIP V2水平分割

show ip protocol

display ip protocol

display ip protocol

查看路由協議

access-list 1-99 ?permit/deny IP

rule id permit source ?IP

rule id permit source ?IP

標準訪問控制列表

access-list 100-199 ?permit/deny protocol source IP+反碼 ?destination IP+反碼 operator operan

rule ?{normal|special}{permit|deny}{tcp|udp}source {|any}destination ?|any}[operate]

rule ?{normal|special}{permit|deny}{tcp|udp}source {|any}destination ?|any}[operate]

擴展訪問控制列表

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優先級

standby group-number ?preempt

vrrp vrid number ?preempt-mode

vrrp vrid number ?preempt-mode

配置HSRP占先權

standby group-number ?track

配置端口跟蹤

ip nat inside source ?static

nat server global ? [port] inside port [protocol]

nat server global ? [port] inside port [protocol]

配置靜態地址轉換

AI人工智能-安防課程,安防行業目前難得誠意的在線課程,點擊左下角“閱讀原文”進行報名,系統化豐富您的“安防+AI”技術儲備。

這是關于安防最詳細的課程了

總結

以上是生活随笔為你收集整理的华三h3c交换机最详细的配置实例手册_华为/思科/华三基本命令对比的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。