cisco路由配置命令_第1頁(yè)
cisco路由配置命令_第2頁(yè)
cisco路由配置命令_第3頁(yè)
cisco路由配置命令_第4頁(yè)
cisco路由配置命令_第5頁(yè)
已閱讀5頁(yè),還剩26頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、Router and switch配置命令精華壓縮版1、進(jìn)入 SETUP 模式 Router#setup2、時(shí)間設(shè)置 router#clock set hh:mm:ss date moth year3、routershow historyRouterterminal history size lines4、router#show version5、router#show running-config6、router#show starup-config7、router(config)#hostname name 主機(jī)命名8、router(config)#banner motd # messag

2、e # 開(kāi)機(jī)時(shí)的固定顯示信息、9、router(config)#enable password password 特權(quán)模式明文密碼10、router(config)#no enable password11、router(config)#enable secret password 特權(quán)模式加密密碼12、router(config)#no enable secret13、router(config)#service password-encryption 特權(quán)模式把明文密碼加密密碼,但沒(méi) enable secret安全可以反解14、router(config)#line console 控制臺(tái)

3、密碼15、router(config-line)#login16、router(config-line)#password password17、router(config-line)#exec-timeout mm ss 禁止控制臺(tái)會(huì)話自動(dòng)退出18、router(config-line)#logging synchronous 重顯被打亂的控制臺(tái)輸入router(config)#no ip domain-lookup 禁止域名解析19、router(config)#line vty 0 4 虛擬終端密碼20、router(config-line)#login21、router(config-

4、line)#password password22、router(config)#interface type number(slot/port端 口設(shè)置23、router(config-if)#ip address ip summast24、 router(config-if)#clock rate 64000 (時(shí)鐘頻率單位為 bps,只在 DCE 端設(shè)置)25、router(config-if)#bandwith 64(帶寬設(shè)置,單位為 KB)26、router(config-if)#no shutdown(shutdown)27、router(config-if )#media-typ

5、e type(10base)為以太網(wǎng)端口選擇適當(dāng)?shù)慕橘|(zhì)類(lèi)型28、router(config-if )#ctrl+z保存退出到特權(quán)模式29、router#30、router用戶模式enable進(jìn)入router#特權(quán)模式 config terminal 進(jìn)入router(config)#全 局配置模式31、Interface Router(config-if)#端 口設(shè)置Subinterface Router(config-subif)# 子端口設(shè)置Controller Router(config-controller)# 控制 口設(shè)置LineRouter(config-line)# 虛擬口設(shè)置R

6、outerRouter(config-router)# 路由設(shè)置IPX router Router(config-ipx-router)#IPX 路由設(shè)置32、router#show interface33、 router#show interface Ethernet 034、 router#show interface serial 035、router#show running-config36、router#show starup-config37、router#show flash38、router#show controller39、router#show controller i

7、nterface type40、router#show running-config router#copy running-config starup-configrouter#copy running-config tftprouter#copy starup-config tftprouter#copy flash tftprouter#copy tftp star-configrouter#copy tftp flash端口狀態(tài)Serial1 is up, line protocol is up 正常工作Serial1 is up, line protocol is down 連接問(wèn)題

8、Serial1 is down, line protocol is down 端口問(wèn)題Serial1 is administratively down, line protocol is down 人為關(guān)閉配置寄存器的值1、關(guān)閉路由器的電源重新啟動(dòng)按住ctrl+break鍵入進(jìn)2、 3、 o/r 0 x2142(跳過(guò)nvarm啟動(dòng)恢復(fù)密碼)4、I5、當(dāng)系統(tǒng)提示是否進(jìn)入setup模式時(shí),按N6、router7、routerenable8、router# 9、進(jìn)入修改后(包括密碼、寄存器的值:0 x2100為rom monitor啟動(dòng)、0 x2101為setup模式啟動(dòng)、0 x2102為10、ro

9、uter#copy running-config starup-config11、router#reload12、也可以在router#setup進(jìn)入setup模式靜態(tài)路由協(xié)議設(shè)置router(config)#ip route network submask(要到達(dá)的網(wǎng)絡(luò)號(hào)掩碼)ip address(下一跳或出口 ip 地 址)router(config)#ip route s0(出口端口或下一跳 IP 地址)rip設(shè)置router(config)#router riprouter(config-router)#network network-numberrouter#show ip prot

10、ocol 查看 RIP 信息router#show ip route 查看路由表router#debug ip rip 查看 RIP 更新信息router(config-router)#passive-interface e0(阻止發(fā)出作息)router(config-router)#ip rip receive version 1 2接收 1、2RIP 版本信息igrp設(shè)置router(config)#router igrp as numberrouter(config-router)#network network numberrouter#show ip route 查看路由表route

11、r#debug ip igrp events 查看IGRP路由更新大概信息router#debug ip igrp transaction 查看 IGRP 路由更新詳細(xì)信息Router(config-router)#variance multiplier 控制 IGRP load balancingRouter(config-router)#traffic-share balanced | min控制 load-balanced traffic 的分布 eigrp設(shè)置router(config)#router eigrp as number router(config-router)#netw

12、ork network numberrouter(config)#no auto-summry 關(guān)閉 自動(dòng)匯總router(config)# auto-summry打開(kāi)自動(dòng)匯總(默認(rèn)是打開(kāi)的)router#show ip route eigrp顯示當(dāng)前的路由表里的EIGRP條目router#show ip protocol顯示活動(dòng)的路由協(xié)議進(jìn)程的參數(shù)和當(dāng)前的狀態(tài)router#show ip eigrp neighbors 顯示被 EIGRP 發(fā)現(xiàn)的鄰居router#show ip eigrp traffic顯示發(fā)出和收到的IP EIGRP包的數(shù)量router#show ip eigrp top

13、ology 顯示 IP EIGRP 的拓?fù)浔鞷outer#debug ip eigrpospf設(shè)置Router(config)#router ospf process-idRouter(config-router)#network address(可以是網(wǎng)絡(luò)號(hào)也可以是 Ip 地址 mask(通配掩碼)area area-idRouter(config-if)# ip ospf priority numbe 配置 OSPF 的優(yōu)先級(jí)Router#show ip protocols 驗(yàn)證 OSPF 的配置Router#show ip route顯示路由器學(xué)到的所有路由Router#show ip

14、ospf interface type number 顯示 area-ID 和鄰接信息、Router#show ip ospf neighbor基于每接口顯示OSPF鄰居信息Router#debug ip ospf eventsRouter#debug ip ospf packetRouter(config)# interface loopback number(lookback 回路配置)Router(config-if)# ip address ip-address subnet-maskRouter(config-if)# ip ospf cost cost-numbe 修改 OSPF

15、的 Cost 數(shù)值Router(config-if)# ip ospf authentication-key key 配置明文 口令Router(config-if)# ip ospf messge-digest-key keyid md5 key 配己置 MD5 口令(keyid和key必須配對(duì)一致,兩鄰居才可以通信)Router(config-route)# area area-id authentication message-digestmessage-digest為可選 項(xiàng),使用后路由器只傳送口令消息的摘要(或散列)配置OSPF區(qū) 域的驗(yàn)證:3. Router(config-if)#

16、 ip ospf hello-interval seconds 配己置 hello 間隔:Router(config-if)# ip ospf dead-interval seconds配置 down 機(jī)判斷間隔訪問(wèn)列表標(biāo)準(zhǔn)訪問(wèn)列表(standard access lists):只使用源IP地址來(lái)做過(guò)濾決定Router(config)#access-list 10 deny 55Router(config)#access-list 10 permit anyRouter(config)#int e1Router(config-if)#ip access-group 10 out使用IP標(biāo)準(zhǔn)AC

17、L來(lái)控制VTY線路的訪問(wèn).Router(config)#access-list 50 permit Router(config)#line vty 0 4Router(config-line)#access-class 50 in刪除IP標(biāo)準(zhǔn)ACLRouter(config-line)#no ip access-class 50 inRouter(config)#no access-list 50擴(kuò)展訪問(wèn)列表(extended access lists):它比較源IP地址和目標(biāo)IP地址,層3的協(xié)議字段層4 端口號(hào) 來(lái)做過(guò)濾決定Router(config)#access-list 110 den

18、y tcp any host eq 21Router(config)#access-list 110 deny tcp any host eq 23Router(config)#access-list 110 permit ip any anyRouter(config)#int e1Router(config-if)#ip access-group 110 out虛擬通道訪問(wèn)router(config)#access-list 12 permit 55router(config)#line vty 0 4outer(config-line)#access-class 12 inshow ip

19、 interface:只顯示IP訪問(wèn)列表信息show ip interface:顯示所有接口的信息和配置的ACL信息show ip interface接口號(hào):顯示具體某個(gè)接口的信息和配置的ACL信息show running-config:顯示DRAM信息和ACL信息,以及接口對(duì)ACL的應(yīng)用信息.交換機(jī)配置交換機(jī)上設(shè)置登陸口令Switch(config)# enable password level level passwordSwitch(config)# no enable password level level passwordhostname1900/2900(config)#host

20、name hostnameIP Address1900(config)#ip address ip address mask1900(config)#ip address 1 2950(config#interface vlan 12950(config-if)#ip address ip_address mask2950(config-if)#ip address 1 default gateway1900/2950(config)#ip default-gateway ip address1900/2950(config)#ip default-gateway 查看交換機(jī)的IP地址1900

21、#show ipIP address: 1Subnet mask: Default gateway: Management VLAN: 12950#show interface vlan 1Vlan1 is up, line protocol is upHardware is Cat5k Virtual Ethernet, address is 0010.f6a9.9800 (bia 0010.f6a9.9800)Internet address is 9/24Broadcast address is 55設(shè)置雙工選項(xiàng)1900(config)#interface e0/11900(config

22、-if)#duplex auto | full |full-flow-control | half2950(config)#interface fe0/12950(config-if)#duplex auto | full | half設(shè)置端口速度:switch(config-if)# speed 10|100|auto查勘雙工選項(xiàng)Switch#show interfaces fastethernet0/3查看MAC地址表1900/2950#show mac-address-table配置永久MAC地址1900(config)#mac-address-table permanent mac-a

23、ddress type module/port1900(config)#mac-address-table permanent 2222.2222.2222 ethernet 0/31900#show mac-address-table2950(config)#mac-address-table static mac_addr vlan vlan_id interface int1 int2 . int15 配置受限靜態(tài)MAC地址1900(config)#mac-address-table restricted static mac-address type module/port src-i

24、f-list1900(config)#mac-address-table restricted static 1111.1111.1111 e0/4 e0/11900#show mac-address-table2950(config)#mac-address-table secure mac-addr interface vlan vlan-id2950(config)#mac-address-table secure 0003.3333.3333 fa 0/1 vlan 12950#show mac-address-table配置端口安全性1900(config-if)#port secu

25、re max-mac-count count1900(config)#interface e0/41900(config-if)#port secure1900(config-if)#port secure max-mac-count 11900(config)#address-violation suspend | disable | ignore1900# show mac-address-table security2950(config-if)#port security max-mac-count count2950(config)#interface fa0/12950(confi

26、g-if)#port security2950#show mac-address-table secure2950#show port-security管理配置文件1900#copy nvram t HYPERLINK ftp:/host/dst_file ftp:/host/dst_file1900#copy t HYPERLINK ftp:/host/src_file ftp:/host/src_file nvram1950#copy nvram t HYPERLINK /wgswd.cfg /wgswd.cfg2950#copy startup-config t HYPERLINK ft

27、p:/host/dst_file ftp:/host/dst_file清除NVRAM1900#delete nvram2950#erase startup-configvlan配置1900 VLAN 建立1900 下,使用 vlan vlan# name name vlan#命令,如下:en#config t(config)#hostname 19001900(config)#vlan 2 name sales1900(config)#vlan 3 name marketing1900(config)#vlan 4 name mis1900(config)#exit端口分配1900(confi

28、g-if)#vlan-membership static 21900(config)#int e0/41900(config-if)#vlan-membership static 31900(config)#int e0/51900(config-if)#vlan-membership static 41900(config-if)#exit1900(config)#exitVLAN驗(yàn)證1900#sh vlan2900 VLAN 建立在2950下創(chuàng)建VLAN,在特權(quán)模式下使用vlan database命令2950#vlan database2950(vlan)#vlan 2 name Mark

29、etingVLAN 2 modified:Name: Marketing2950(vlan)#vlan 3 name AccountingVLAN 3 added:Name: Accounting2950(vlan)#applyAPPLY complete2950(vlan)#Ctrl+C2950#端口分配2950 下的端 口配置,使用 switchport access vlan vlan#命令,2950(config-if)#int f0/22950(config-if)#switchport access vlan 22950(config-if)#int f0/32950(config

30、-if)#switchport access vlan 32950(config-if)#int f0/42950(config-if)#switchport access vlan 42950(config-if)#exit2950(config)#exit驗(yàn)證配置信息,如下:2950#sh vlan或2950#sh vlan brieftrunk配置1900 trunk 配置1900(config)#int f0/261900(config-if)#trunk on2950下在接口配置模式,使用switchport命令,如下:2950(config)#int f0/122950(confi

31、g-if)# switchport trunk encapsulation isl|dot1q2950(config-if)#AZ將某VLAN從中繼中刪除2950(config-if)# switchport trunk allowed vlan remove vlan-list添加某個(gè)VLAN到中繼線路2950(config-if)# switchport trunk allowed vlan add vlan-listConfiguring Inter-VLAN Routing給連接1900的trunk端口配置,使用encapsulation isl vlan#命令,如下:2600Rout

32、er(config)#int f0/0.12600Router(config-subif)#encapsulation isl vlan#2600Router(config-subif)#ip add ip add submask給連接2950的這樣配置,如下:2600Router(config)#int f0/0.12600Router(config-subif)#encapsulation dot1q vlan#2600Router(config-subif)#ip add ip add submaskVTP配置1900(config)#vtp server1900(config)#vtp

33、 domain noco1900(config)#vtp password noko在特權(quán)模式下使用show vtp命令驗(yàn)證,如下:1900#sh vtpVTP version: 1Configuration revision: 0Maximum VLANs supported locally: 1005Number of existing VLANs: 5VTP domain name: nocoVTP password: nokoVTP operating mode: Server2950如下:2950(config)#vtp mode server2950(config)#vtp dom

34、ain noco驗(yàn)證信息,如下:2950#sh vtp ?counters VTP statisticsstatus VTP domain status2950#sh vtp statusNAT配置配置靜態(tài)轉(zhuǎn)換Router(config)#ip nat inside source static local-ip global-ipRouter(config-if)#ip nat insideRouter(config-if)#ip nat outside配置動(dòng)態(tài)地址轉(zhuǎn)換Router(config)#ip nat pool name start-ip end-ip netmask netmask

35、 | prefix-length prefix-lengthRouter(config)#access-list access-list-number permit source source-wildcardRouter(config)#ip nat inside source list access-list-number pool name配置 OverloadingRouter(config)#access-list access-list-number permitsource source-wildcardRouter(config)#ip nat inside source li

36、staccess-list-number interface interface overload清除 NAT Translation TableRouter#clear ip nat translation *清除所有的動(dòng)態(tài)地址轉(zhuǎn)換條目Router#clear ip nat translation inside global-iplocal-ip outside local-ip global-ip清除一個(gè)簡(jiǎn)單的動(dòng)態(tài)地址轉(zhuǎn)換條目(內(nèi)、外)Router#clear ip nat translation outsidelocal-ip global-ip清除一個(gè)簡(jiǎn)單的動(dòng)態(tài)地址轉(zhuǎn)換(外)Route

37、r#clear ip nat translation protocol inside global-ipglobal-port local-ip local-port outside local-iplocal-port global-ip global-port清除一個(gè)擴(kuò)展動(dòng)態(tài)地址 轉(zhuǎn)換條目Show命令輸出信息Router#show ip nat translations1.在基于IOS的交換機(jī)上設(shè)置主機(jī)名/系統(tǒng)名:switch(config)# hostname hostname在基于CLI的交換機(jī)上設(shè)置主機(jī)名/系統(tǒng)名:switch(enable) set system name name

38、-string在基于IOS的交換機(jī)上設(shè)置登錄口令:switch(config)# enable password level 1 password在基于CLI的交換機(jī)上設(shè)置登錄口令:switch(enable) set passwordswitch(enable) set enalbepass在基于IOS的交換機(jī)上設(shè)置遠(yuǎn)程訪問(wèn):switch(config)# interface vlan 1switch(config-if)# ip address ip-address netmaskswitch(config-if)# ip default-gateway ip-address在基于CLI的

39、交換機(jī)上設(shè)置遠(yuǎn)程訪問(wèn):switch(enable) set interface sc0 ip-address netmask broadcast-addressswitch(enable) set interface sc0 vlanswitch(enable) set ip route default gateway在基于IOS的交換機(jī)上啟用和瀏覽CDP信息:switch(config-if)# cdp enableswitch(config-if)# no cdp enable為了查看Cisco鄰接設(shè)備的CDP通告信息:switch# show cdp interface type mod

40、le/portswitch# show cdp neighbors type module/port detail在基于CLI的交換機(jī)上啟用和瀏覽CDP信息:switch(enable) set cdp enable|disable module/port為了查看Cisco鄰接設(shè)備的CDP通告信息:switch(enable) show cdp neighborsmodule/port vlan|duplex|capabilities|detail5.基于IOS的交換機(jī)的端口描述:switch(config-if)# de 月卻本 ion de 月卻本 ion-string基于CLI的交換機(jī)的

41、端口描述:switch(enable)set port name module/number de腳本 ion-string在基于IOS的交換機(jī)上設(shè)置端口速度:switch(config-if)# speed10|100|auto在基于CLI的交換機(jī)上設(shè)置端口速度:switch(enable) set port speed moudle/number 10|100|autoswitch(enable) set port speed moudle/number 4|16|auto在基于IOS的交換機(jī)上設(shè)置以太網(wǎng)的鏈路模式:switch(config-if)# duplex auto|full|h

42、alf在基于CLI的交換機(jī)上設(shè)置以太網(wǎng)的鏈路模式:switch(enable) set port duplex module/number full|half在基于IOS的交換機(jī)上配置靜態(tài)VLAN:switch# vlan databaseswitch(vlan)# vlan vlan-num name vlaswitch(vlan)# exitswitch# configure teriminalswitch(config)# interface interface module/numberswitch(config-if)# switchport mode accessswitch(co

43、nfig-if)# switchport access vlan vlan-numswitch(config-if)# end在基于CLI的交換機(jī)上配置靜態(tài)VLAN:switch(enable) set vlan vlan-num name nameswitch(enable) set vlan vlan-num mod-num/port-list9.在基于IOS的交換機(jī)上配置VLAN中繼線:switch(config)# interface interface mod/portswitch(config-if)# switchport mode trunkswitch(config-if)#

44、 switchport trunk encapsulation isl|dotlqswitch(config-if)# switchport trunk allowed vlan remove vlan-listswitch(config-if)# switchport trunk allowed vlan add vlan-list在基于CLI的交換機(jī)上配置VLAN中繼線:switch(enable) set trunk module/port on|off|desirable|auto|nonegotiateVlan-range isl|dotlq|dotl0|lane|negotiate

45、10.在基于IOS的交換機(jī)上配置VTP管理域:switch# vlan databaseswitch(vlan)# vtp domain domain-name在基于CLI的交換機(jī)上配置VTP管理域:switch(enable) set vtp domain domain-name在基于IOS的交換機(jī)上配置VTP模式:switch# vlan databaseswitch(vlan)# vtp domain domain-nameswitch(vlan)# vtp sever|cilent|transparentswitch(vlan)# vtp password password在基于CLI

46、的交換機(jī)上配置VTP模式:switch(enable) set vtp domain domain-name mode sever|cilent|transparent password password在基于IOS的交換機(jī)上配置VTP版本:switch# vlan databaseswitch(vlan)# vtp v2-mode在基于CLI的交換機(jī)上配置VTP版本:switch(enable) set vtp v2 enable在基于IOS的交換機(jī)上啟動(dòng)VTP剪裁:switch# vlan databaseswitch(vlan)# vtp pruning在基于CL I的交換機(jī)上啟動(dòng)VTP

47、剪裁:switch(enable) set vtp pruning enable在基于IOS的交換機(jī)上配置以太信道:switch(config-if)# port group group-number distribution source|destination在基于CLI的交換機(jī)上配置以太信道:switch(enable) set port channel moudle/port-range modeon|off|desirable|auto15.在基于IOS的交換機(jī)上調(diào)整根路徑成本:switch(config-if)# spanning-tree vlan vlan-list cost

48、cost在基于CLI的交換機(jī)上調(diào)整根路徑成本:switch(enable) set spantree portcost moudle/port costswitch(enable) set spantree portvlancost moudle/port cost costvlan-list16.在基于IOS的交換機(jī)上調(diào)整端口 ID:switch(config-if)# spanning-treevlan vlan-listport-priority port-priority在基于CLI的交換機(jī)上調(diào)整端口 ID:switch(enable) set spantree portpri mld

49、ule/portpriorityswitch(enable) set spantree portvlanpri module/portpriority vlans在基于IOS的交換機(jī)上修改STP時(shí)鐘:switch(config)# spanning-tree vlan vlan-list hello-time secondsswitch(config)# spanning-tree vlan vlan-list forward-time secondsswitch(config)# spanning-tree vlan vlan-list max-age seconds在基于CLI的交換機(jī)上修

50、改STP時(shí)鐘:switch(enable) set spantree hello intervalvlanswitch(enable) set spantree fwddelay delay vlanswitch(enable) set spantree maxage agingtiamevlan在基于IOS的交換機(jī)端口上啟用或禁用Port Fast特征:switch(config-if)#spanning-tree portfast在基于CLI的交換機(jī)端口上啟用或禁用Port Fast特征:switch(enable) set spantree portfast module/portena

51、ble|disable在基于IOS的交換機(jī)端口上啟用或禁用UplinkFast特征:switch(config)# spanning-tree uplinkfast max-update-rate pkts-per-second在基于CLI的交換機(jī)端口上啟用或禁用UplinkFast特征:switch(enable) set spantree uplinkfast enable|disablerate update-rate all-protocols off|on20.為了將交換機(jī)配置成一個(gè)集群的命令交換機(jī)首先要給管理接口分配一個(gè)IP地址,然后使用下列命令:switch(config)# c

52、luster enablecluster-name cv為了從一條中繼鏈路上刪除VLAN,可使用下列命令:switch(enable) clear trunk module/port vlan-range用show vtp domain顯示管理域的VTP參數(shù).用show vtp statistics顯示管理域的VTP參數(shù).在Catalyst交換機(jī)上定義TrBRF的命令如下:switch(enable) set vlan vlan-name name name type trbrf bridge bridge-numstp ieee|ibm25.在Catalyst交換機(jī)上定義TrCRF的命令如下

53、:switch (enable) set vlan vlan-num name name type trcrfring hex-ring-num|decring decimal-ring-num parent vlan-num在創(chuàng)建好TrBRF VLAN之后,就可以給它分配交換機(jī)端口.對(duì)于以太網(wǎng)交換,可以采用如 下命令給VLAN分配端口:switch(enable) set vlan vlan-num mod-num/port-num命令show spantree顯示一個(gè)交換機(jī)端口的STP狀態(tài).配置一個(gè)ELAN的LES和BUS,可以使用下列命令:ATM (config)# interface

54、atm number.subint multiointATM(config-subif)# lane serber-bus ethernet elan-name配置 LECS:ATM(config)# lane database database-nameATM(lane-config-databade)# name elan1-name server-atm-address les1-nsap-addressATM(lane-config-databade)# name elan2-name server-atm-address les2-nsap-addressATM(lane-confi

55、g-databade)# name 30.創(chuàng)建完數(shù)據(jù)庫(kù)后,必須在主接口上啟動(dòng)LECS.命令如下:ATM(config-if)# lane config database database-nameATM(config-if)# lane config auto-config-atm-address將每個(gè)LEC配置到一個(gè)不同的ATM子接口上.命令如下:ATM(config)# interface atm number.subint multipointATM(config)# lane client ethernet vlan-num elan-num用 show lane server 顯示

56、LES 的狀態(tài).用show lane bus顯示bus的狀態(tài).用show lane database顯示LECS數(shù)據(jù)庫(kù)可內(nèi)容.用 show lane client 顯示 LEC 的狀態(tài).用show module顯示已安裝的模塊列表.用物理接口建立與VLAN的連接:router# configure terminalrouter(config)# interface media module/portrouter(config-if)# de 月卻本 ion de 月卻本 ion-stringrouter(config-if)# ip address ip-addr subnet-maskrou

57、ter(config-if)# no shutdown用中繼鏈路來(lái)建立與VLAN的連接:router(config)# interface module/port.subinterfacerouter(config-ig)# encapsulationisl|dotlq vlan-numberrouter(config-if)# ip address ip-address subnet-mask用LANE來(lái)建立與VLAN的連接:router(config)# interface atm module/portrouter(config-if)# no ip addressrouter(conf

58、ig-if)# atm pvc 1 0 5 qsaalrouter(config-if)# atm pvc 2 0 16 ilnirouter(config-if)# interface atm module/port.subinterface multipointrouter(config-if)# ip address ip-address subnet-maskrouter(config-if)# lane client ethernet elan-numrouter(config-if)# interface atm module/port.subinterface multipoin

59、trouter(config-if)# ip address ip-address subnet-namerouter(config-if)# lane client ethernet elan-namerouter(config-if)# 為了在路由處理器上進(jìn)行動(dòng)態(tài)路由配置可以用下列IOS命令來(lái)進(jìn)行:router(config)# ip routingrouter(config)# router ip-routing-protocolrouter(config-router)# network ip-network-numberrouter(config-router)# network i

60、p-network-number ( FengNet.Com)配置默認(rèn)路由:switch(enable) set ip route default gateway為一個(gè)路由處理器分配VLANID,可在接口模式下使用下列命令:router(config)# interface interface numberrouter(config-if)# mls rp vlan-id vlan-id-num在路由處理器啟用MLSP:為了把一個(gè)外置的路由處理器接口和交換機(jī)安置在同一個(gè)VTP域中:router(config)# interface interface numberrouter(config-i

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 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ì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論