資源描述:
《思科與華為命令區(qū)別》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、功能Cisco命令華為命令?????進入全局模式#configureterminalsystem?????顯示當前配置showrunning-configdisplaycurrent-configuration?????顯示版本信息showversiondisplayversion?????顯示vlan信息showvlandisplayvlan?????顯示接口信息showinterface接口displayinterface接口?????交換機路由器?????命名hostname主機名sysname主機名????
2、?修改特權(quán)密碼enablepassword密碼(明文)enablesecret密碼(密文)superpassword密碼?????進入接口模式interface接口interface接口?????進入vlan模式interfacevlanvlan號interfacevlanvlan號?????給接口配IPipaddress<掩碼>ipaddress<掩碼>?????配telnet密碼linevty04password密碼loginuser-interfacevty04authentication-modepasswo
3、rdsetauthentication-modepasswordsimple密碼userprivilegelevel3?????激活端口noshutdownundoshutdown?????關(guān)閉端口shutdownshutdown?????退出exitquit?????創(chuàng)建VLANvlanvlan號vlanvlan號?????VLAN中增加?????端口porte0/1porte0/2toe0/4?????當前端口加入?????到VLANswitchportaccessvlanvlan號portaccessvlanvlan號????
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è)置生成樹啟?????動與否spanning-treevlanvlan號(默認開啟)stpenable
12、disable(默認關(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é)議默認就是link-protocolhdlc?????設(shè)靜態(tài)路由iproute網(wǎng)絡(luò)號掩碼下一跳IP/接口iproute-static網(wǎng)絡(luò)號掩碼下一跳IP/接口?????啟用RIP路由routerripripripworkripinputripoutput?????配置路由器的?????IDintloopback0ipaddIP地址掩碼routeridA.B.C.D?????啟動OS
16、PF協(xié)議routerospf進程號ospfenable?????配置OSPF區(qū)域net網(wǎng)絡(luò)號反向掩碼areaint接口ospfenablearea?????標準ACL命令格?????式access-list列表號permit
17、deny源IP反向掩碼acl[match-orderconfig
18、auto]rule[normal
19、special]{permit
20、deny}[sourcesource-addrsource-wildcard
21、any]?????擴展ACL配置acces
22、s-list列表號permit
23、deny協(xié)議源IP反向掩碼目的IP反向掩碼eq端口號acl[match-orderconfig
24、auto]rule{normal
25、special}{permit
26、deny}{tc