![思科模擬器命令_第1頁(yè)](http://file3.renrendoc.com/fileroot_temp3/2021-12/14/e4fa4833-3988-48db-bac5-a352cd9550fa/e4fa4833-3988-48db-bac5-a352cd9550fa1.gif)
![思科模擬器命令_第2頁(yè)](http://file3.renrendoc.com/fileroot_temp3/2021-12/14/e4fa4833-3988-48db-bac5-a352cd9550fa/e4fa4833-3988-48db-bac5-a352cd9550fa2.gif)
![思科模擬器命令_第3頁(yè)](http://file3.renrendoc.com/fileroot_temp3/2021-12/14/e4fa4833-3988-48db-bac5-a352cd9550fa/e4fa4833-3988-48db-bac5-a352cd9550fa3.gif)
![思科模擬器命令_第4頁(yè)](http://file3.renrendoc.com/fileroot_temp3/2021-12/14/e4fa4833-3988-48db-bac5-a352cd9550fa/e4fa4833-3988-48db-bac5-a352cd9550fa4.gif)
![思科模擬器命令_第5頁(yè)](http://file3.renrendoc.com/fileroot_temp3/2021-12/14/e4fa4833-3988-48db-bac5-a352cd9550fa/e4fa4833-3988-48db-bac5-a352cd9550fa5.gif)
版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、1.計(jì)算機(jī)命令:PCA logi n: root password: linux# shutdow n -h now# logout;使用root用戶(hù);口令是 linux;同init 0關(guān)機(jī)# logi n# ifconfig# ifconfig eth0 <ip address> n etmask <n etmask>;顯示IP地址;設(shè)置IP地址# ifconfig ehtO <ip addressnetmask <netmask> down; 刪除 IP 地址# route add gw <ip># route del
2、 gw <ip># route add default gw <ip># route del default gw <ip># route;設(shè)置網(wǎng)關(guān);刪除網(wǎng)關(guān);顯示網(wǎng)關(guān)# pi ng <ip># telnet <ip>2.交換機(jī)支持的命令: 交換機(jī)基本狀態(tài):switch: rommon>交換機(jī)的ROM狀態(tài);路由器的ROM狀態(tài)host name>host name#host name(c on fig)# host name(c on fig-if)#;用戶(hù)模式;特權(quán)模式;全局配置模式;接口狀態(tài)交換機(jī)口令設(shè)置:
3、switch>e nableswitch#c onfig termi nal switch(c on fig)#host name <host name> switch(c on fig)#e nable secret xxx switch(c on fig)#e nable password xxa switch(c on fig)#li ne con sole 0 switch(c on fig-li ne)#li ne vty 0 4 switch(c on fig-li ne)#logi nswitch(c on fig-li ne)#password xx swit
4、ch#exit;進(jìn)入特權(quán)模式;進(jìn)入全局配置模式;設(shè)置交換機(jī)的主機(jī)名;設(shè)置特權(quán)加密口令;設(shè)置特權(quán)非密口令;進(jìn)入控制臺(tái)口;進(jìn)入虛擬終端;允許登錄;設(shè)置登錄口令xx;返回命令交換機(jī)VLAN設(shè)置:switch#vla n database switch(vla n)#vla n 2 switch(vla n)#no via n 2 switch(co nfig)#i nt f0/1;進(jìn)入VLAN設(shè)置;建 VLAN 2;刪 vlan 2;進(jìn)入端口 1當(dāng)前端口加入vlan 2;設(shè)置為干線;設(shè)置允許的vlan;設(shè)置vlan中繼;設(shè)置發(fā)vtp域名;設(shè)置發(fā)vtp密碼;設(shè)置發(fā)vtp模式;設(shè)置發(fā)vtp模式;進(jìn)入vl
5、an 1;設(shè)置IP地址;設(shè)置默認(rèn)網(wǎng)關(guān) ;查看閃存switch(c on fig-if)#switchport access via n 2 switch(c on fig-if)#switchport mode trunk switch(c on fig-if)#switchport trunk allowed vla n 1,2 switch(c on fig-if)#switchport trunk en cap dot1q switch(c on fig)#vtp domai n <n ame> switch(c on fig)#vtp password <word&g
6、t; switch(c on fig)#vtp mode server switch(c on fig)#vtp mode clie nt交換機(jī)設(shè)置IP地址:switch(c on fig)#i nterface vla n 1switch(c on fig-if)#ip address <IP> <mask> switch(c on fig)#ip default-gateway <IP> switch#dir flash:交換機(jī)顯示命令: switch#write switch#show vtp switch#show run switch#show v
7、la n switch#show in terface switch#show int f0/0;保存配置信息;查看vtp配置信息;查看當(dāng)前配置信息;查看vlan配置信息;查看端口信息;查看指定端口信息;顯示配置信息;顯示接口信息;顯示路由信息;顯示鄰居信息;重新起動(dòng);進(jìn)入特權(quán)模式;進(jìn)入全局配置模式;設(shè)置交換機(jī)的主機(jī)名;設(shè)置特權(quán)加密口令;設(shè)置特權(quán)非密口令;進(jìn)入控制臺(tái)口;進(jìn)入虛擬終端;要求口令驗(yàn)證;設(shè)置登錄口令xx;返回特權(quán)模式;返回命令3.路由器支持的命令: 路由器顯示命令:router#show run router#show in terface router#show ip route
8、router#show cdp nei router#reload路由器口令設(shè)置:router>e nablerouter#c onfig termi nal router(co nfig)#host name <host name> router(c on fig)#e nable secret xxx router(co nfig)#e nable password xxb router(co nfig)#li ne con sole 0 router(co nfig-li ne)#li ne vty 0 4 router(co nfig-li ne)#log in ro
9、uter(co nfig-li ne)#password xx router(co nfig)#(Ctrl+z) router#exit路由器配置:router(config)#int sO/O;進(jìn)入 Serail 接口router(co nfig-if)# no shutdow n;激活當(dāng)前接口router(co nfig-if)#clock rate 64000;設(shè)置同步時(shí)鐘router(config-if)#ip address <ip> <netmask> 設(shè)置 IP 地址router(config-if)#ip address <ip> <n
10、etmask> second; 設(shè)置第二個(gè) IProuter(co nfig-if)# int f0/0.1;進(jìn)入子接口;綁定vlan中繼協(xié)議;跳過(guò)配置文件;正常使用配置文件;重新引導(dǎo);保存配置;保存配置到tftp;開(kāi)機(jī)配置存到tftp;下傳文件到flash;下載配置文件router(config-subif.1)#ip address <ip> <netmask> ; 設(shè)置子接口 IP router(c on fig-subif.1)#e ncapsulati on dot1q <n> router(co nfig)#co nfig-register
11、 0x2142 router(co nfig)#co nfig-register 0x2102 router#reload路由器文件操作:router#copy runnin g-c onfig startup-c onfig router#copy runnin g-c onfig tftp router#copy startup-c onfig tftp router#copy tftp flash:router#copy tftp startup-c onfig;進(jìn)入ROM監(jiān)控狀態(tài);跳過(guò)配置文件;恢復(fù)配置文件;重新引導(dǎo);從con sole傳輸文件;設(shè)置路由器IP;設(shè)置路由器掩碼;指定TF
12、TP服務(wù)器;指定下載的文件;從tftp下載;查看閃存內(nèi)容;弓I導(dǎo)IOSROM狀態(tài):Ctrl+Breakrommon>confreg 0x2142rommon>confreg 0x2102rommon> resetrommon> copy xmodem:<s name> flash:<d name> rommo n>IP_ADDRESS= rommon> IP_SUBNET_MASK= rommon> TFTP_SERVER= IPrommo n> TFTP_FILE
13、=c2600.b in rommon> tftpd nld rommon> dir flash:rommon >boot靜態(tài)路由:ip route <ip-address> <sub net-mask> <gateway> ; 命令格式router(co nfig)#ip route ;靜態(tài)路由舉例router(co nfig)#ip route ;默認(rèn)路由舉例 動(dòng)態(tài)路由:;啟動(dòng)路由轉(zhuǎn)發(fā)router(co nfig)#ip rout ingro
14、uter(co nfig)#router riprouter(co nfig-router)# network <n etid> router(co nfig-router)# negihbor <ip>幀中繼命令:router(c on fig)#frame-relay switch ing router(co nfig-sO)#e ncapsulatio n frame-relay router(c on fig-s0)#fram-relay lmi-type cisco router(c on fig-s0)#frame-relay in tf-type DCE
15、router(c on fig-s0)#frame-relay dlci 16 router(c on fig-s0)#frame-relay local-dlci 20 router(config-s0)#frame-relay interface-dlci 16 ; router(c on fig)#log-adjace ncy-cha nges router(co nfig)#i nt s0/0.1 poi nt-to-poi nt router#show frame pvc router#show frame map;啟動(dòng)RIP路由協(xié)議。;設(shè)置發(fā)布路由;點(diǎn)對(duì)點(diǎn)幀中繼用。;使能幀中繼交換
16、;使能幀中繼;設(shè)置管理類(lèi)型;設(shè)置為DCE;設(shè)置虛電路號(hào);記錄鄰接變化;設(shè)置子接口點(diǎn)對(duì)點(diǎn);顯示永久虛電路;顯示映射基本訪問(wèn)控制列表:router(c on fig)#access-list <nu mber> permit|de ny <source_ip> <wild|a ny> router(c on fig)# in terface <in terface>; default:de ny anyrouter(config-if)#ip access-group <number> in|out ; defaultut例1:route
17、r(co nfig)#access-list 1 deny host router(co nfig)#access-list 1 permit anyrouter(co nfig)#i nt f0/0router(co nfig-if)#ip access-group 4 in例2:router(c on fig)#access-list 4 permit router(co nfig)#access-list 4 de ny 55router(co nfig)#access-list 4 permit 0.0
18、.255.255router(co nfig)#access-list 4 deny 55router(co nfig)#access-list 4 permit anyrouter(co nfig)#i nt f0/1router(co nfig-if)#ip access-group 4 in擴(kuò)展訪問(wèn)控制列表:access-list <nu mber> permit|de ny icmp <SP wild> <D_IP wild>type access-list <nu mber> permit|de
19、ny tcp <SP wild> <D_IP wild>port例1:router(co nfig)#access-list 101 deny icmp any echo router(co nfig)#access-list 101 permit ip any anyrouter(co nfig)#i nt sO/Orouter(co nfig-if)#ip access-group 101 in例2:router(co nfig)#access-list 102 deny tcp any eq
20、80 router(co nfig)#access-list 102 permit ip any anyrouter(co nfig)#i nterface s0/1router(c on fig-if)#ip access-group 102 out刪除訪問(wèn)控制例表:router(co nfig)# no access-list 102router(co nfig-if)# no ip access-group 101 in路由器的nat配置Router(co nfig-if)#ip nat in side;當(dāng)前接口指定為內(nèi)部接口Router(co nfig-if)#ip n at outs
21、ide;當(dāng)前接口指定為外部接口Router(c on fig)#ip nat in side source static p <私有 IP> < 公網(wǎng) IP> port Router(co nfig)#ip nat in side source static Router(co nfig)#ip nat in side source static tcp 80 80Router(co nfig)#ip n at pool p1 0 Rou
22、ter(c on fig)#ip nat in side source list 1 pool p1Router(c on fig)#ip nat in side dest in ati on list 2 pool p2Router(c on fig)#ip nat in side source list 2 in terface s0/0 overloadRouter(c on fig)#ip n at pool p2 type rotary Router#show ip nat tran slatio nrotary參數(shù)
23、是輪流的意思,地址池中的IP輪流與NAT分配的地址匹配。 overload參數(shù)用于PAT將內(nèi)部IP映射到一個(gè)公網(wǎng)IP不同的端口上。外部網(wǎng)關(guān)協(xié)議配置routerA(co nfig)#router bgp 100routerA(co nfig-router)# network routerA(c on fig-router)# neighbor remote-as 200配置PPP驗(yàn)證:RouterA(c on fig)#user name <RouterB> password <word>RouterA(co nfig)#i nt s0Ro
24、uterA(c on fig-if)#ppp authe nticati on chap|pap4. PIX防火墻命令;命名接口和級(jí)別;設(shè)置接口方式;設(shè)置接口方式Pix525(c on fig)# nameif ethernet0 outside security0Pix525(c on fig)# in terface ether net0 autoPix525(co nfig)#i nterface ethernet1 100fullPix525(co nfig)#i nterface ethernet1 100full shutdow nPix525(co nfig)#ip addres
25、s in side Pix525(co nfig)#ip address outside 52;定義公網(wǎng)IP區(qū)間;例句;例句Pix525(c on fig)#global (if_ name) n atid ip-ipPix525(co nfig)#global (outside) 1 -5Pix525(co nfig)#global (outside) 1 Pix525(c on fig)# no global (outside) 1 133.0.0.
26、1;去掉設(shè)置Pix525(c on fig)# nat (if_ name) n at_id localp n etmarkPix525(c on fig)# nat (in side) 1 0 0 內(nèi)網(wǎng)所有主機(jī)(0代表)可以訪問(wèn)global 1指定的外網(wǎng)。Pix525(co nfig)# nat (in side) 1 內(nèi)網(wǎng)/16網(wǎng)段的主機(jī)可以訪問(wèn)global 1指定的外網(wǎng)。Pix525(c on fig)#route if_n ame 0 0 gateway_ip metric;命令格式Pix525(co nf
27、ig)#route outside 0 0 1;例句Pix525(co nfig)#route in side 1;例句Pix525(co nfig)#static (in side, outside) 表示內(nèi)部ip地址,訪問(wèn)外部時(shí)被翻譯成全局地址。Pix525(c on fig)#static (dmz, outside) 中間區(qū)域ip地址,訪問(wèn)外部時(shí)被翻譯成133.0.0
28、.1全局地址。1. switch配置命令(1)模式轉(zhuǎn)換命令用戶(hù)模式-特權(quán)模式,使用命令"enable"特權(quán)模式-全局配置模式,使用命令"config t"全局配置模式-接口模式,使用命令"interface+接口類(lèi)型+接口號(hào)" 全局配置模式一線控模式,使用命令"line+接口類(lèi)型+接口號(hào)" 注:用戶(hù)模式:查看初始化的信息.特權(quán)模式:查看所有信息、調(diào)試、保存配置信息 全局模式:配置所有信息、針對(duì)整個(gè)路由器或交換機(jī)的所有接口 接口模式:針對(duì)某一個(gè)接口的配置線控模式:對(duì)路由器進(jìn)行控制的接口配置(2)配置命令show ru
29、nning config 顯示所有的配置show versi n顯示版本號(hào)和寄存器值shut down關(guān)閉接口no shutdow n 打開(kāi)接口ip add +ip地址配置IP地址sec on dary+IP地址為接口配置第二個(gè)IP地址show interface+接 口類(lèi)型+接口號(hào) 查看接口管理性 show con trollers in terface 查看接口是否有 DCE 電纜 show history查看歷史記錄 show term inal查看終端記錄大小hostname+主機(jī)名配置路由器或交換機(jī)的標(biāo)識(shí)config memory修改保存在 NVRAM中的啟動(dòng)配置 exec time
30、out 0 0設(shè)置控制臺(tái)會(huì)話超時(shí)為0 service password-e ncrypti n 手工加密所有密碼 enable password密碼 配置明文密碼ena sec 密碼 配置密文密碼line vty 0 4/15 進(jìn)入 tel net 接口 password +密碼配置tel net密碼 line aux 0 進(jìn)入 AUX 接口 password +密碼配置密碼 line con 0 進(jìn)入 CON 接口 password +密碼配置密碼 bandwidth+數(shù)字配置帶寬 no ip address刪除已配置的IP地址 show startup config查看NVRAM 中的配置
31、信息 copy run-config startup config 保存信息到 NVRAM write保存信息到NVRAM erase startup-config清除NVRAM 中的配置信息 show ip in terface brief查看接口的謫要信息 banner motd # +言息+ #配置路由器或交換機(jī)的描素信息 description+信息配置接口聽(tīng)描素信息 vlan database進(jìn)入VLAN數(shù)據(jù)庫(kù)模式 vlan +vlan號(hào)+名稱(chēng) 倉(cāng)S建VLAN switchport access vlan +vlan號(hào) 為 VLAN 為配接口 in terface vlan +vla
32、 n 號(hào) 進(jìn)入 VLAN 接口模式 ip add +ip地址 為VLAN配置管理IP地址 vtp+service/tracsparent/client 配置 SW 的 VTP 工作模式 vtp +domain+域名 配置SW的VTP域名 vtp +password +密碼 配置SW的密碼 switchport mode trunk 啟用中繼 no vian +vlan 號(hào) 刪除 VLAN show spamming-tree vlan +vlan號(hào) 查看 VLA 怕生成樹(shù)議2. 路由器配置命令ip route+非直連網(wǎng)段+子網(wǎng)掩碼+下一跳地址配置靜態(tài)/默認(rèn)路由show ip route 查看路
33、由表show protocols顯示出所有的被動(dòng)路由協(xié)議和接口上哪些協(xié)議被設(shè)置show ip protocols顯示了被配置在路由器上的路由選擇協(xié)議,同時(shí)給出了在路由選擇協(xié)議中使用 的定時(shí)器等信息router rip激活RIP協(xié)議network +直連網(wǎng)段 發(fā)布直連網(wǎng)段in terface lookback 0 激活邏輯接口passive-interface +接口類(lèi)型+接口號(hào) 配置接口為被動(dòng)模式debug ip + 協(xié)議 動(dòng)態(tài)查看路由更新信息undebug all關(guān)閉所有DEBUG信息 router eigrp +as號(hào) 激活EIGRP路由協(xié)議 network +網(wǎng)段+子網(wǎng)掩碼 發(fā)布直連網(wǎng)段
34、 show ip eigrp n eighbors 查看鄰居表 show ip eigrp topology 查看拓扌卜表 show ip eigrp traffic 查看發(fā)送包數(shù)量 router ospf +process-ID 激活 OSPF 協(xié)議 network+直連網(wǎng)段+area+區(qū)域號(hào)發(fā)布直連網(wǎng)段 show ip ospf 顯示 OSPF 的進(jìn)程號(hào)和 ROUTER-ID encapsulation+封裝格式更改圭寸裝格式 no ip admai n-lookup關(guān)閉路由器的域名查找 ip routing在三層交換機(jī)上啟用路由功能 show user查看SW的在線用戶(hù) clear li
35、ne +線路號(hào) 清除線路3. 三層交換機(jī)配置命令配置一組二層端口con figure termi nal進(jìn)入配置狀態(tài)n terface range port-ra nge進(jìn)入組配置狀態(tài)配置三層端口con figure termi nal進(jìn)入配置狀態(tài)in terface fastethernet | gigabitether net in terface-id | vla n via n-id | port- cha nnel port-cha nn el-nu mber進(jìn)入端口配置狀態(tài) no switchport把物理端口變成三層口 ip address ip_address subnet_m
36、as配置 IP 地址和掩碼 no shutdow n 激活端口例:Switch(c on fig)# in terface gigabitether netO/2Switch(c on fig-if)# no switchportSwitch(co nfig-if)# ip address 1 Switch(c on fig-if)# no shutdow n配置VLANcon figure termi nal進(jìn)入配置狀態(tài)vlan vlan-id輸入一個(gè) VLAN號(hào),然后進(jìn)入vlan配態(tài),可以輸入一個(gè)新的 VLAN 號(hào)或舊的來(lái)進(jìn)行修改。name
37、 vlan-name可選)輸入一個(gè) VLAN名,如果沒(méi)有配置 VLAN名,缺省的名字 是VLAN號(hào)前面用0填滿的4位數(shù),如 VLAN0004是VLAN4的缺省名字mtu mtu-size (可選)改變MTU大小例Switch# con figure termi nalSwitch(co nfig)# vlan 20Switch(c on fig-vla n)# n ame test20Switch(c on fig-vla n)# end或Switch# vla n databaseSwitch(vla n)# vlan 20 name test20Switch(vla n)# exit將端口
38、分配給一個(gè)VLANcon figure termi nal進(jìn)入配置狀態(tài)in terface in terface-id 進(jìn)入要分配的端口switchport mode access 定義二層口switchport access vlan vlan-id 把端口分配給某一 VLAN例Switch# con figure termi nalEn ter con figurati on comma nds, one per line. End with CNTL/Z.Switch(c on fig)# in terface fastethernetO/1Switch(c on fig-if)# sw
39、itchport mode accessSwitch(c on fig-if)# switchport access vla n 2Switch(c on fig-if)# endSwitch#配置 VLAN trunkcon figure termi nal進(jìn)入配置狀態(tài)in terface in terface-Id 進(jìn)入端口配置狀態(tài)switchport trunk encapsulation isl | dot1q | negotiate酉己置 trunk 圭寸裝 ISL 或 802.1Q 或自動(dòng)協(xié)商switchport mode dynamic auto | desirable | tr
40、unk 配置二層 trunk 模式。dynamic auto自動(dòng)協(xié)商是否成為trunkdynamic desirable把端口設(shè)置為 trunk 女口果對(duì)方端口是 trunk, desirable,配置 Native VLAN(802.1q)或自動(dòng)模式,trunk設(shè)置端口為強(qiáng)制的trunk方式,而不理會(huì)對(duì)方端口是否為 trunkswitchport access vlan vian-id可選)指定一個(gè)缺省 VLAN,如果此端口不再是 trunkswitchport trunk native vlan vlan-id 指定 802.1Q native VLAN 號(hào)例:Switch# con fi
41、gure termi nalEn ter con figurati on comma nds, one per line. End with CNTL/Z.Switch(c on fig)# in terface fastethernet0/4Switch(c on fig-if)# switchport mode trunkSwitch(c on fig-if)# switchport trunk en capsulati on dotlqSwitch(c on fig-if)# end定義TRUNK允許的VLANcon figure termi nal子 進(jìn)入配置狀態(tài)in terface
42、in terface-id 進(jìn)入端口配置switchport mode trunk 配置二層口為 trunkswitchport trunk allowed vlan add | all | except | remove vlan-list 可選)配置 trunk 允許的 VLAN.使用 add, all, except, remove關(guān)健字no switchport trunk allowed vlan 允許所有 VLAN 通過(guò)例Switch(c on fig)# in terface fastethernetO/1Switch(c on fig-if)# switchport trunk
43、 allowed vla n remove 2Switch(c on fig-if)# end配置 Native VLAN ( 802.1q)con figure termi nal進(jìn)入配置狀態(tài)in terface in terface-id 進(jìn)入配置成 802.1qtru nk 的端口switchport trunk native vlan vian-ld 酉己置 native VLAN 號(hào)no switchport trunk native vla n端口配置命令回到缺省的狀態(tài)配置基于端口權(quán)值的負(fù)載均衡con figure term inal 進(jìn)入 Switch 1 酉己置狀態(tài)vtp do
44、main domain-name 配置 VTP 域vtp mode server 將 Switch 1 配置成 VTP server.show vtp status 驗(yàn)證 VTP 的配置show vlan 驗(yàn)證 VLANcon figure termi nal進(jìn)入配置狀態(tài)in terface fastethernet 0/1 進(jìn)入 F0/1 端口switchport trunk encapsulation isl | dotlq | negotiate配置 trunk 圭寸裝 switchport mode trunk 配置成 trunkshow in terfaces fastetherne
45、t0/1 switchport 驗(yàn)證 VLAN 配置按以上步驟對(duì)想要負(fù)載均衡的接口進(jìn)行配置在另一個(gè)交換機(jī)上進(jìn)行此配置show vlan當(dāng)trunk已經(jīng)起來(lái),在switch2上驗(yàn)證已經(jīng)學(xué)到相的 vlan配置 con figure termi nal在Switch 1上進(jìn)入配置狀態(tài)in terface fastethernet0/1 進(jìn)入要配置的端口spanning-tree vlan 8 port-priority 10 將端口權(quán)值 10 賦與 VLAN 8. spanning-tree vlan 9 port-priority 10 將端口權(quán)值 10 賦與 VLAN 9. spanning-t
46、ree vlan 10 port-priority 10 將端口權(quán)值 10 賦與 VLAN 10. in terface fastethernet0/2 進(jìn)入 F0/210 賦與 VLAN 3.10 賦與 VLAN 410 賦與 VLAN 510 賦與 VLAN 10spa nnin g-tree vla n 3 port-priority 10 將端口權(quán)值spa nnin g-tree vla n 4 port-priority 10 將端口權(quán)值 spa nnin g-tree vla n 5 port-priority 10 將端口權(quán)值 spa nnin g-tree vla n 6 po
47、rt-priority 10 將端口權(quán)值end退出 show runnin g-c onfig 驗(yàn)證配置 copy runnin g-c onfig startup-c onfig 保存配置配置STP路徑值的負(fù)載均衡Trunkl 走 VLAN8 10, Trunk2 走 VLAN2 4con figure term inal 進(jìn)入 Switch 1 酉己置狀態(tài)in terface fastethernet 0/1 進(jìn)入 FO/1switchport trunk en capsulati on isl | dot1q | n egotiate!己置圭寸裝switchport mode trunk
48、 配置 Trunk,缺省是 ISL 圭寸裝 exit退回在F0/2 口上重復(fù)2 4步驟exit退回show runnin g-c onfig 驗(yàn)證配置show vlan 驗(yàn)證 switch1 已經(jīng)學(xué)到 Viancon figure termi nal進(jìn)入配置狀態(tài)in terface fastethernet 0/1 進(jìn)入 FO/1spanning-tree vlan 2 cost 30 設(shè)置 Vian2 生成樹(shù)路徑值為 30spanning-tree vlan 3 cost 30 設(shè)置 Vian3 生成樹(shù)路徑值為 30spanning-tree vlan 4 cost 30 設(shè)置 Vian4
49、生成樹(shù)路徑值為 30end退出在switch1的F0/2上重復(fù)9 11步驟設(shè)置VLAN8,9 , 10生成樹(shù)路徑值為30end退出show runnin g-c onfig 驗(yàn)證配置copy runnin g-c onfig startup-c onfig 保存配置補(bǔ)充:CISCO命令集 路由選擇協(xié)議及排障*ip route 命令Router(config)# ip route <目錄網(wǎng)絡(luò)或子網(wǎng)號(hào) > 子網(wǎng)掩碼 <下一路由器IP地址| 從本地出口的地址 > 管理距離0255,默認(rèn)為1(注:靜態(tài)地址配置)*ip default-network 命令Router(config)# ip default-
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025至2030年中國(guó)手動(dòng)卷膜系統(tǒng)數(shù)據(jù)監(jiān)測(cè)研究報(bào)告
- 廣電設(shè)備用編碼器與解碼器考核試卷
- 地毯材質(zhì)的可持續(xù)性與環(huán)保評(píng)價(jià)考核試卷
- 2025-2030年增味劑企業(yè)制定與實(shí)施新質(zhì)生產(chǎn)力戰(zhàn)略研究報(bào)告
- 農(nóng)產(chǎn)品初加工活動(dòng)相關(guān)主題名稱(chēng)續(xù)二考核試卷
- 2025-2030年地道臘肉香腸體驗(yàn)館行業(yè)跨境出海戰(zhàn)略研究報(bào)告
- 2025-2030年地質(zhì)衛(wèi)星數(shù)據(jù)智能分析軟件行業(yè)跨境出海戰(zhàn)略研究報(bào)告
- 2025-2030年在線語(yǔ)言學(xué)習(xí)APP企業(yè)制定與實(shí)施新質(zhì)生產(chǎn)力戰(zhàn)略研究報(bào)告
- 2025-2030年手工銅質(zhì)耳環(huán)企業(yè)制定與實(shí)施新質(zhì)生產(chǎn)力戰(zhàn)略研究報(bào)告
- 2025-2030年可穿戴血氧飽和度監(jiān)測(cè)儀企業(yè)制定與實(shí)施新質(zhì)生產(chǎn)力戰(zhàn)略研究報(bào)告
- 2024年10月時(shí)政100題(附答案)
- 《走進(jìn)神奇》說(shuō)課稿
- 江蘇省無(wú)錫市2024年中考數(shù)學(xué)試卷(含答案)
- 2024年內(nèi)蒙古中考語(yǔ)文試卷五套合卷附答案
- 2024年保密知識(shí)測(cè)試試題及答案(奪冠)
- 湖南2024年湖南省衛(wèi)生健康委直屬事業(yè)單位招聘276人筆試歷年典型考題及考點(diǎn)附答案解析
- SF-36生活質(zhì)量調(diào)查表(SF-36-含評(píng)分細(xì)則)
- 五年級(jí)下冊(cè)語(yǔ)文教案 學(xué)習(xí)雙重否定句 部編版
- 不需公證的遺囑范文
- 南京地區(qū)幼兒園室內(nèi)空氣污染物與兒童健康的相關(guān)性研究
- 2024年湖南鐵路科技職業(yè)技術(shù)學(xué)院?jiǎn)握新殬I(yè)技能測(cè)試題庫(kù)及答案解析
評(píng)論
0/150
提交評(píng)論