思科3640路由器怎么設(shè)置
Cisco依靠自身的技術(shù)和對(duì)網(wǎng)絡(luò)經(jīng)濟(jì)模式的深刻理解,成為了網(wǎng)絡(luò)應(yīng)用的成功實(shí)踐者之一,那你知道思科3640路由器怎么設(shè)置嗎?下面是學(xué)習(xí)啦小編整理的一些關(guān)于思科3640路由器怎么設(shè)置的相關(guān)資料,供你參考。
思科3640路由器的設(shè)置一、 設(shè)置路由器管理信息
1、 用扁平控制線接上9孔接頭,連接CONSOLE到終端或PC串口,設(shè)置終端或直接連至串口的超級(jí)終端的參數(shù):BAND率9600,無奇偶校驗(yàn),8位數(shù)據(jù)位,1位停止位.
2、 路由器上電,終端屏幕會(huì)顯示上電過程。
3、 進(jìn)入特權(quán)模式設(shè)置口令
line vty 0 4
password bc123
exit
enable secret bc123fzq123
exit
4、 在特權(quán)模式設(shè)置路由器信息:
hostname bc3640
ip domain-list jzl.cq
ip domain-list jz2.cq
ip domain-name jzl.cq
ip name-sever 10.54.34.1
5、 進(jìn)入全局模式,配置以太網(wǎng)地址
configure timinal
interface fastethernet 0/0
ip address 192.168.254.254 255.255.255.0
no shutdown
exit
interface fastethernet 1/0
ip address 10.154.34.253 255.255.255.252
noshut down
exit
設(shè)置IP路由功能開放
ip routing
設(shè)置撥入客戶名和口令
username user1 password 123
設(shè)置撥號(hào)組參數(shù),為撥號(hào)客戶指定ip地址
line 65 72
autoselect ppp
modem inout
transport inputall
exit
interface group-async1
ip unnumbered fastethernet 1/0
encapsulation ppp
dialer in band
dialer map ip 10.154.34.247 name user 1
async default routing
anync mode interactive
peer default ip address pool default
ppp authentication chap pap
group-ranger 65 72 ;路由器遠(yuǎn)程撥入端口
設(shè)置內(nèi)部ospf路由協(xié)議、靜態(tài)路由
access-list 77 permit 10.154.34.0 0.0.1.255
router ospf 110
redistribute connected subnets
redistribute static subnets
passive-interface fastethernet 0/0
network 10.154.34.0 0.0.255 area 0
network 10.154.35.0 0.0.0.255 area 0
distribute-list 77 out
exit
ip default-gateway 10.154.34.254
Ip router 0.0.0.0 0.0.0.0 10.154.34.254
Ip router 10.0.0.0 255.0.0.0 10.154.34.254
Ip router 192.168.0.0 255.255.0.0 192.168.254.1
設(shè)置NAT轉(zhuǎn)換
access-list 99 deny 192.168.3.1
access-list 99 permit 192.168.3.0 0.0.0.255
access-list 99 permit 192.168.0.0 0.0.255.255
ip nat pool netdyn 10.154.35.1 10.154.35.126 netmask 255.255.255.0
ip nat inside source list 99 pool netdyn overload
ip nat inside source static 192.168.3.1 10.154.35.1
interface fastethernet1/0
ip nat outside
exit
interface group-async1
ip nat outside
exit
interface fastethernet 0/0
ip nat insider
exit
write memory
思科3640路由器的設(shè)置二、 CISCO路由器廣域網(wǎng)配置向?qū)?/strong>
1、dial-on demand routing (ddr)是用公共電話網(wǎng)提供了網(wǎng)絡(luò)連接。
通常的,廣域網(wǎng)大多數(shù)使用專線連接的,路由器連接到類似MODEM OR ISDNTAS 的數(shù)據(jù)終端DCE設(shè)備上,他們支持同步V.25BITS協(xié)議,你可以用SCRIPTS AND DIALER命令設(shè)定撥號(hào)串。
DDR比較適用于用戶對(duì)數(shù)率要求不高,偶爾有數(shù)據(jù)傳輸或只是在特定時(shí)候傳輸數(shù)據(jù),比如銀行每晚傳送報(bào)表等等情況下。
當(dāng)一個(gè)感興趣的包到達(dá)路由器時(shí),產(chǎn)生一個(gè)DDR請(qǐng)求,路由器發(fā)送呼叫建立信息給指定的串口的DCE設(shè)備,這個(gè)呼叫就把本地的和遠(yuǎn)程的設(shè)備連接起來,一旦沒有數(shù)據(jù)傳輸,空閑時(shí)間開始記時(shí),超過設(shè)置的記時(shí)時(shí)間,連接終止。DDR現(xiàn)在都用靜態(tài)路由來傳輸數(shù)據(jù),避免路由交換引起的DDR撥號(hào)。
和XNS可以通過DDR路由尋址,同步串口,異步串口和ISDN端口可以配置成到一個(gè)或多個(gè)目的地的DDR連接。
下面是一個(gè)典型的DDR連接:
在配置DDR過程中,我們可以把一個(gè)或幾個(gè)物理端口配置成一個(gè)邏輯撥號(hào)接口,他可以是同步V.25方式,同步DYR啟動(dòng)撥號(hào)或異步CHATSCRIPT方式在端口配置模式下:
在一個(gè)端口激活DIAL-ON-DEMAND ROUTING
命令:dialer in-band
指定一個(gè)端口為撥號(hào)訪問組:dialer-group group-number
指定一個(gè)單一電話號(hào)碼:dialer string dialer-string
斷線前空前等待時(shí)間:dialer idle-time seconds
定義一個(gè)或多個(gè)目的電話號(hào)碼表:
dialer map protocol net-hop-address dialer-string
限定傳輸?shù)腶ccess-list表或特定協(xié)議:
dialer-list dialer-group list access-list-number或
dialer-list dialer-group protocol protocol name(permit/deny/list access-list-number)
具體配置:
!
interface serial 0
ip address 131.108.126.1 255.255.255.0
dialer in-band
dialer-group 1
!
dialer map ip 131.108.126.2 55551234
!
dialer idle-timeout 300
dialer backup example
A) 同步V.25bits方式
configuration for routerA:
interface serial 10:0
backup delay 0 10
backup interface serial 110
ip address 16.217.30.2 255.255.255.252
!
interface serial 110
ip address 16.30.16.81 255.255.255.25.0
encapsulation ppp
dialer in-band
dialer string 8292
dialer-group 1
pulse-time 1
!
dilar-list 1 protocol ip permit
B) 輔助口作撥號(hào)備份
configuration for routerA:
chat-script mydial “””atdt 8292” timeout 60 “connect”
!
interface serial 0
backup delay 0 0
backup interface async1
ip address 16.3.1.1 255.255.255.0
encapsulation ppp
!
interface async1
ip address 16.3.2.1 255.255.255.0
encapsulation ppp
keepalive 9
async default routing
async dynamic address
async dynamic routing
async mode dedicated
dialer string 8292
dialer-group 1
!
dialer-list 1 protocol ip permit
!
line aux 0
script dialer mydial
modeinout
transport output none
stopbits 1
flowcontrol hardware
speed 9600
subinterface example (frame realay)
configuration for routerA:
interface serial 0
encapsulation frame-relay
interface serial 0.1 multipoint
ip address 11.10.11.1 255.255.255.0
frame-relay interface-dlci 41
frame-relay interface-dlci42
configuration for routerC:
interface serial 0
encapsulation frame-relay
interface serial 0.1 point-point
ip address 11.10.16.2 255.255.255.0
frame-realy interface-dlci 46
configuration for routerB:
interface serial 0
encapsulation frame-relay
interface serial 0.1 multipoint
ip address 11.10.11.3 255.255.255.0
frame-relay interface-dlci 43
frame-relay interface-dlci 44
!
interface serial 0.2 point-point
ip address 11.10.13.1 255.255.255.0
frame-realy interface-dlci 48
frame relay switching example
configuration for routerA:
frame-relay switching
no ip address
frame-relay encapsulation
frame-relay route 163 tun0 43
frame-relay intf-type dce
!
interface serial0
ip address 131.108.100.1 255.255.255.0
!
interface tu 0
tunnel source serial 1
tunnel destintion 131.108.13.2
configuration for routerB:
frame-relay switching
!
interface serial 0
no Ip address
frame-relay encapsulation
frame-relay router 9 tun0 43
frame-relay interfac
e-type dce
!
int tu 0
tunnel source serial 1
tunnel destination 131.108.100.1
channelized E1interface example
假設(shè)是7500系列路由器,E1接口(MIP板)在插槽4上面。 一個(gè)CHANNEL-GROUP 可對(duì)應(yīng)多個(gè)時(shí)間槽,本例中SERIAL4/0:1有5*64的速率
configuration for router :
controller e1 0
framing no-crc4
chanel-group 0 timeslots1
channel-group 1 timeslots 2,7-9,20 speed 64
!
interface serial4/0:0
Ipaddress 16.217.30.2 255.255.255.252
Encapsulation ppp
!
interface serial 4/0:1
ip address 16.205030.5 255.255.255.252
X.25 EXAMPLE 在配置X.25 時(shí),為減少路由交換引起的呼叫,通常用靜態(tài)路由,而當(dāng)一對(duì)多情況下,不在一個(gè)子網(wǎng)中用subinface 配置
configuration for router:
interface serial 0
ip address 131.108.100.1 255.255.255.0
encapsulation X.25
X.25 address 041673226839
x.25 htc 16
x.25 map ip 131.108.100.2 041675222222
int s 0.1
ip address 131.108.101.1 255.255.255.0
x.25 mapip 131.108.101.2 041674222222
!
ip router 131.108.100.0 255.255.255.0 131.108.100.2
ip router 131.108.101.0 255.255.255.0 131.108.101.2
看過文章“思科3640路由器怎么設(shè)置”的人還看了:
2.思科路由器怎么進(jìn)入 思科路由器怎么設(shè)置
5.cisco怎么樣