思科3640路由器怎么設置
Cisco依靠自身的技術和對網(wǎng)絡經(jīng)濟模式的深刻理解,成為了網(wǎng)絡應用的成功實踐者之一,那你知道思科3640路由器怎么設置嗎?下面是學習啦小編整理的一些關于思科3640路由器怎么設置的相關資料,供你參考。
思科3640路由器的設置一、 設置路由器管理信息
1、 用扁平控制線接上9孔接頭,連接CONSOLE到終端或PC串口,設置終端或直接連至串口的超級終端的參數(shù):BAND率9600,無奇偶校驗,8位數(shù)據(jù)位,1位停止位.
2、 路由器上電,終端屏幕會顯示上電過程。
3、 進入特權模式設置口令
line vty 0 4
password bc123
exit
enable secret bc123fzq123
exit
4、 在特權模式設置路由器信息:
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、 進入全局模式,配置以太網(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
設置IP路由功能開放
ip routing
設置撥入客戶名和口令
username user1 password 123
設置撥號組參數(shù),為撥號客戶指定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 ;路由器遠程撥入端口
設置內(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
設置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路由器的設置二、 CISCO路由器廣域網(wǎng)配置向?qū)?/strong>
1、dial-on demand routing (ddr)是用公共電話網(wǎng)提供了網(wǎng)絡連接。
通常的,廣域網(wǎng)大多數(shù)使用專線連接的,路由器連接到類似MODEM OR ISDNTAS 的數(shù)據(jù)終端DCE設備上,他們支持同步V.25BITS協(xié)議,你可以用SCRIPTS AND DIALER命令設定撥號串。
DDR比較適用于用戶對數(shù)率要求不高,偶爾有數(shù)據(jù)傳輸或只是在特定時候傳輸數(shù)據(jù),比如銀行每晚傳送報表等等情況下。
當一個感興趣的包到達路由器時,產(chǎn)生一個DDR請求,路由器發(fā)送呼叫建立信息給指定的串口的DCE設備,這個呼叫就把本地的和遠程的設備連接起來,一旦沒有數(shù)據(jù)傳輸,空閑時間開始記時,超過設置的記時時間,連接終止。DDR現(xiàn)在都用靜態(tài)路由來傳輸數(shù)據(jù),避免路由交換引起的DDR撥號。
和XNS可以通過DDR路由尋址,同步串口,異步串口和ISDN端口可以配置成到一個或多個目的地的DDR連接。
下面是一個典型的DDR連接:
在配置DDR過程中,我們可以把一個或幾個物理端口配置成一個邏輯撥號接口,他可以是同步V.25方式,同步DYR啟動撥號或異步CHATSCRIPT方式在端口配置模式下:
在一個端口激活DIAL-ON-DEMAND ROUTING
命令:dialer in-band
指定一個端口為撥號訪問組:dialer-group group-number
指定一個單一電話號碼:dialer string dialer-string
斷線前空前等待時間:dialer idle-time seconds
定義一個或多個目的電話號碼表:
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) 輔助口作撥號備份
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
假設是7500系列路由器,E1接口(MIP板)在插槽4上面。 一個CHANNEL-GROUP 可對應多個時間槽,本例中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 時,為減少路由交換引起的呼叫,通常用靜態(tài)路由,而當一對多情況下,不在一個子網(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路由器怎么設置”的人還看了:
5.cisco怎么樣