資源描述:
《H3C 配置命令》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、H3C交換機配置命令詳解華為3COM交換機配置命令詳解1、配置文件相關(guān)命令[Quidway]displaycurrent-configuration??????;顯示當(dāng)前生效的配置[Quidway]displaysaved-configuration????????;顯示flash中配置文件,即下次上電啟動時所用的配置文件resetsaved-configuration????????;檫除舊的配置文件reboot????????????????????????;交換機重啟displayversion???
2、??????????????;顯示系統(tǒng)版本信息2、基本配置[Quidway]superpassword???????????????????;修改特權(quán)用戶密碼[Quidway]sysname????????????????????????;交換機命名[Quidway]interfaceethernet0/1??????????????;進入接口視圖[Quidway]interfacevlanx??????????????????;進入接口視圖[Quidway-Vlan-interfacex]ipaddress10.65.1.1255.255.0.0??;配置V
3、LAN的IP地址[Quidway]iproute-static0.0.0.00.0.0.010.65.1.2???;靜態(tài)路由=網(wǎng)關(guān)3、telnet配置[Quidway]user-interfacevty04??????????????????;進入虛擬終端[S3026-ui-vty0-4]authentication-modepassword?????;設(shè)置口令模式[S3026-ui-vty0-4]setauthentication-modepasswordsimple222??;設(shè)置口令[S3026-ui-vty0-4]userprivilegelevel3
4、??????????????;用戶級別4、端口配置[Quidway-Ethernet0/1]duplex{half
5、full
6、auto}???;配置端口工作狀態(tài)[Quidway-Ethernet0/1]speed{10
7、100
8、auto}?????;配置端口工作速率[Quidway-Ethernet0/1]flow-control??????????????;配置端口流控[Quidway-Ethernet0/1]mdi{across
9、auto
10、normal}??;配置端口平接扭接[Quidway-Ethernet0/1]portlink-type{trunk
11、
12、access
13、hybrid}??;設(shè)置端口工作模式[Quidway-Ethernet0/1]undoshutdown??????????????;激活端口[Quidway-Ethernet0/2]quit??????????????????;退出系統(tǒng)視圖5、鏈路聚合配置[DeviceA]link-aggregationgroup1modemanual??;創(chuàng)建手工聚合組1[DeviceA]interfaceethernet1/0/1???;將以太網(wǎng)端口Ethernet1/0/1加入聚合組1[DeviceA-Ethernet1/0/1]portlink-aggr
14、egationgroup1[DeviceA-Ethernet1/0/1]interfaceethernet1/0/2??????????;將以太網(wǎng)端口Ethernet1/0/1加入聚合組1[DeviceA-Ethernet1/0/2]portlink-aggregationgroup1[DeviceA]link-aggregationgroup1service-typetunnel??????#在手工聚合組的基礎(chǔ)上創(chuàng)建Tunnel業(yè)務(wù)環(huán)回組。[DeviceA]interfaceethernet1/0/1????????????????????????#將以太網(wǎng)
15、端口Ethernet1/0/1加入業(yè)務(wù)環(huán)回組。[DeviceA-Ethernet1/0/1]undostp[DeviceA-Ethernet1/0/1]portlink-aggregationgroup16、端口鏡像[Quidway]monitor-port???? ;指定鏡像端口[Quidway]portmirror?? ?。恢付ū荤R像端口[Quidway]portmirrorint_listobserving-portint_typeint_
16、num;指定鏡像和被鏡像7、VLAN配