資源描述:
《H3C 配置命令.doc》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、.H3C交換機(jī)配置命令詳解華為3COM交換機(jī)配置命令詳解1、配置文件相關(guān)命令[Quidway]displaycurrent-configuration??????;顯示當(dāng)前生效的配置[Quidway]displaysaved-configuration????????;顯示flash中配置文件,即下次上電啟動(dòng)時(shí)所用的配置文件resetsaved-configuration????????;檫除舊的配置文件reboot????????????????????????;交換機(jī)重啟displayversion??????????
2、???????;顯示系統(tǒng)版本信息2、基本配置[Quidway]superpassword???????????????????;修改特權(quán)用戶密碼[Quidway]sysname????????????????????????;交換機(jī)命名[Quidway]interfaceethernet0/1??????????????;進(jìn)入接口視圖[Quidway]interfacevlanx??????????????????;進(jìn)入接口視圖[Quidway-Vlan-interfacex]ipaddress10.65.1.1255.255.0.0??;配置VLAN的IP地址[Quidwa
3、y]iproute-static0.0.0.00.0.0.010.65.1.2???;靜態(tài)路由=網(wǎng)關(guān)3、telnet配置[Quidway]user-interfacevty04??????????????????;進(jìn)入虛擬終端[S3026-ui-vty0-4]authentication-modepassword?????;設(shè)置口令模式[S3026-ui-vty0-4]setauthentication-modepasswordsimple222??;設(shè)置口令[S3026-ui-vty0-4]userprivilegelevel3??????????????;用戶級(jí)別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、access
12、hybrid}??;設(shè)置端口工作模式[Quidw
13、ay-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-aggregationgroup1[DeviceA-Ethernet1/0/1]int
14、erfaceethernet1/0/2??????????;將以太網(wǎng)端口Ethernet1/0/1加入聚合組1[DeviceA-Ethernet1/0/2]portlink-aggregationgroup..1[DeviceA]link-aggregationgroup1service-typetunnel??????#在手工聚合組的基礎(chǔ)上創(chuàng)建Tunnel業(yè)務(wù)環(huán)回組。[DeviceA]interfaceethernet1/0/1????????????????????????#將以太網(wǎng)端口Ethernet1/0/1加入業(yè)務(wù)環(huán)回組。[DeviceA-Ethernet1/0/1
15、]undostp[DeviceA-Ethernet1/0/1]portlink-aggregationgroup16、端口鏡像[Quidway]monitor-port?????。恢付ㄧR像端口[Quidway]portmirror?? ??;指定被鏡像端口[Quidway]portmirrorint_listobserving-portint_typeint_num;指定鏡像和被鏡像7、VL