資源描述:
《思科與華為命令區(qū)別》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫(kù)。
1、功能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-modepasswo
3、rdsetauthentication-modepasswordsimple密碼userprivilegelevel3?????激活端口noshutdownundoshutdown?????關(guān)閉端口shutdownshutdown?????退出exitquit?????創(chuàng)建VLANvlanvlan號(hào)vlanvlan號(hào)?????VLAN中增加?????端口porte0/1porte0/2toe0/4?????當(dāng)前端口加入?????到VLANswitchportaccessvlanvlan號(hào)portaccessvlanvlan號(hào)????
4、?設(shè)置端口工作?????模式switchportmodetrunk
5、access
6、dynamicportlink-typetrunk
7、access
8、hybrid?????設(shè)trunk允許的?????VLANswitchporttrunkallowedvlanremove
9、addIDporttrunkpermitvlanID
10、All?????指定鏡像端口monitorsession1destinationint接口monitor-port接口?????指定被鏡像端?????口monitorsession1sourceint接口both
11、portmirror接口?????設(shè)置生成樹(shù)啟?????動(dòng)與否spanning-treevlanvlan號(hào)(默認(rèn)開(kāi)啟)stpenable
12、disable(默認(rèn)關(guān)閉)?????端口的聚合interfacerangef0/1–4channel-group1modeonlink-aggregatione0/1toe0/4ingress
13、bothundolink-aggregatione0/1
14、all?????設(shè)置主vlanisolate-user-vlanenable?????設(shè)置主vlan包括?????的子vlanisolate-use
15、r-vlansecondary?????顯示路由信息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?????配置路由器的?????IDintloopback0ipaddIP地址掩碼routeridA.B.C.D?????啟動(dòng)OS
16、PF協(xié)議routerospf進(jìn)程號(hào)ospfenable?????配置OSPF區(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配置acces
22、s-list列表號(hào)permit
23、deny協(xié)議源IP反向掩碼目的IP反向掩碼eq端口號(hào)acl[match-orderconfig
24、auto]rule{normal
25、special}{permit
26、deny}{tc