資源描述:
《cisco與華為配置命令》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、cisco與華為命令比較功能Cisco命令華為命令?????進(jìn)入全局模式#configureterminalsystem?????顯示當(dāng)前配置showrunning-configdisplaycurrent-configuration?????顯示版本信息showversiondisplayversion?????顯示vlan信息showvlandisplayvlan?????顯示接口信息showinterface接口displayinterface接口?????交換機(jī)路由器?????命名hostname主機(jī)名sysname主機(jī)名?
2、????修改特權(quán)密碼enablepassword密碼(明文)enablesecret密碼(密文)superpassword密碼?????進(jìn)入接口模式interface接口interface接口?????進(jìn)入vlan模式interfacevlanvlan號(hào)interfacevlanvlan號(hào)?????給接口配IPipaddress<掩碼>ipaddress<掩碼>?????配telnet密碼linevty04password密碼loginuser-interfacevty04authentication-modepasswordseta
3、uthentication-modepasswordsimple密碼userprivilegelevel3?????激活端口noshutdownundoshutdown?????關(guān)閉端口shutdownshutdown?????退出exitquit?????創(chuàng)建VLANvlanvlan號(hào)vlan?vlan號(hào)????VLAN中增加?????端口?porte0/1porte0/2toe0/4?????當(dāng)前端口加入?????到VLANswitchportaccessvlanvlan號(hào)portaccessvlanvlan號(hào)?????設(shè)置端口工作?????模式
4、switchportmodetrunk
5、access
6、dynamicportlink-typetrunk
7、access
8、hybrid?????設(shè)trunk允許的????VLANswitchporttrunkallowedvlanremove
9、addIDporttrunkpermitvlan?ID
10、All?????指定鏡像端口monitorsession1destinationint接口monitor-port接口?????指定被鏡像端?????口monitorsession1sourceint接口bothportmirror接口?????設(shè)置生成樹啟
11、?????動(dòng)與否spanning-treevlanvlan號(hào)(默認(rèn)開啟)stpenable
12、disable(默認(rèn)關(guān)閉)?????端口的聚合interfacerangef0/1–4channel-group1modeonlink-aggregatione0/1toe0/4ingress
13、bothundolink-aggregatione0/1
14、all?????設(shè)置主vlan?isolate-user-vlanenable?????設(shè)置主vlan包括?????的子vlan?isolate-user-vlan?secondary
15、?????顯示路由信息showiproutedisplayiproute?????綁定HDLC協(xié)議默認(rèn)就是link-protocolhdlc?????設(shè)靜態(tài)路由iproute網(wǎng)絡(luò)號(hào)掩碼下一跳IP/接口iproute-static網(wǎng)絡(luò)號(hào)掩碼下一跳IP/接口?????啟用RIP路由routerripripripworkripinputripoutput?????配置路由器的????IDintloopback0ipadd?IP地址掩碼routerid?A.B.C.D?????啟動(dòng)OSPF協(xié)議routerospf進(jìn)程號(hào)ospfenable?????配置OSP
16、F區(qū)域net網(wǎng)絡(luò)號(hào)反向掩碼areaint接口ospfenablearea?????標(biāo)準(zhǔn)ACL命令格?????式access-list列表號(hào)permit
17、deny源IP反向掩碼acl[match-orderconfig
18、auto]??????????????????rule[normal
19、special]{permit
20、deny}[sourcesource-addrsource-wildcard
21、any]?????擴(kuò)展ACL配置access-list列表號(hào)permit
22、deny協(xié)議源IP反向掩
23、碼目的IP反向掩碼eq端口號(hào)acl[match-orderconfig
24、auto]r