Cisco 4500配備了一塊快速同步卡,為E1/G.703標準,可以直接接中繼線,但是它不是那種信道化的標準。配置只要按以下步驟: gy-4500-01#config ter Enter configuration commands, one per line. End with CNTL/Z. gy-4500-01(config)#int s0 gy-4500-01(config-if)#no shutdown gy-4500-01(config-if)#ip add 202.98.196.69 255.255.255.252 gy-4500-01(config-if)#timeslot 1-31 gy-4500-01(config-if)#ts16 gy-4500-01(config-if)#end gy-4500-01#write 按照以上的基本上可以完成配置,可以視情況加上以下參數: gy-4500-01#conf ter Enter configuration commands, one per line. End with CNTL/Z. gy-4500-01(config)#int s0 gy-4500-01(config-if)#bandwidth 2048 ;將帶寬設為2M gy-4500-01(config-if)#clock source line ; 時鐘源來自中繼線 gy-4500-01(config-if)#end gy-4500-01#write
MIP的設置 Cisco 7513配備了一塊MIP板,它的全稱為Multi-channel Interface PRocessor,同樣為E1/G.703標準,顧名思義,它支持信道化的E1。 下面簡要說一下它的配置步驟: 首先執行以下命令應該可以見到以下類似信息: gy-7513-01#show controller e1 E1 4/0 is down. Applique type is Channelized E1 - unbalanced Transmitter is sending remote alarm. Receiver has loss of signal. Framing is CRC4, Line Code is HDB3, Clock Source is Line. Data in current interval (335 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 1 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 335 Unavail Secs E1 4/1 is down. Applique type is Channelized E1 - unbalanced Transmitter is sending remote alarm. Receiver has loss of signal. Framing is CRC4, Line Code is HDB3, Clock Source is Line. Data in current interval (340 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 1 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 340 Unavail Secs 在按照以下步驟配置: gy-7513-01#conf ter Enter configuration commands, one per line. End with CNTL/Z. gy-7513-01(config)#controller e1 4/0 gy-7513-01(config-controller)#channel-group 1 timeslot 1-2 gy-7513-01(config-controller)#end gy-7513-01# 現在就相當于把第1,2個時隙映射成一個同步口,它的速率為2*64k=128k,用 show run的命令可以見到以下信息: gy-7513-01#sh run Building configuration...
Current configuration: ! version 11.2 ! hostname gy-7513-01 ! enable secret 5 $1$I8En$2vVrbsGngBedjDsJb6SRc0 enable passWord guiyang ! ip subnet-zero x25 routing ! controller E1 4/0 channel-group 1 timeslots 1-2 ! controller E1 4/1 ! interface Serial4/0:1 no ip address no ip mroute-cache ! 這時,就可以將serial4/0:1當一個標準的同步口來配置
X.25接入的配置 Cisco的路由器支持X.25的接入,包括終端接入方式,點對點接入,多對點接入。 終端接入 gy-7513-01#conf ter Enter configuration commands, one per line. End with CNTL/Z. gy-7513-01(config)#int s8/0 gy-7513-01(config-if)#no shutdown gy-7513-01(config-if)#no ip add gy-7513-01(config-if)#encapsulation x25 gy-7513-01(config-if)#bandwidth 64 gy-7513-01(config-if)#x25 add 78905678 gy-7513-01(config-if)#x25 htc 16 gy-7513-01(config-if)#x25 idle 8 gy-7513-01(config-if)#x25 nvc 8 gy-7513-01(config-if)#exit gy-7513-01(config)#translate x25 78905678 tcp 202.98.196.9 gy-7513-01(config)#exit gy-7513-01# 以上78905678為X.25端口的地址,而202.98.196.1為要直接登錄的主機的地址 還可以視是否接DTU加入以下參數: gy-7513-01#conf ter Enter configuration commands, one per line. End with CNTL/Z. gy-7513-01(config)#int s8/0 gy-7513-01(config-if)#clock rate 64000 gy-7513-01(config-if)#end gy-7513-01# 這樣用戶用X.25撥號接通X.25的這個端口后,就可以直接登錄到主機上 點對點的接入 兩個路由器之間可以用X.25網相連,只要按以下步驟配置即可: 路由器A的配置: gy-7513-01#conf ter Enter configuration commands, one per line. End with CNTL/Z. gy-7513-01(config)#int s8/0 gy-7513-01(config-if)#ip add 202.98.196.65 255.255.255.224 gy-7513-01(config-if)#encapsulation x25 gy-7513-01(config-if)#x25 add 12345678 gy-7513-01(config-if)#bandwidth 64 gy-7513-01(config-if)#x25 htc 16 gy-7513-01(config-if)#x25 idle 5 gy-7513-01(config-if)#x25 nvc 8 gy-7513-01(config-if)#x25 map ip 202.98.196.66 23456789 broadcast gy-7513-01(config-if)#x25 map ip 202.98.196.65 12345678 broadcast gy-7513-01(config-if)#end gy-7513-01# 以上12345678為本路由器所接的X.25的端口號,而23456789為對端路由器所接的X.25的端口號 還可以視是否接DTU加入以下參數: gy-7513-01#conf ter Enter configuration commands, one per line. End with CNTL/Z. gy-7513-01(config)#int s8/0 gy-7513-01(config-if)#clock rate 64000 gy-7513-01(config-if)#end gy-7513-01# 路由器B的配置 gy-2511-01#conf ter Enter configuration commands, one per line. End with CNTL/Z. gy-2511-01(config)#int s0 gy-2511-01(config-if)#ip add 202.98.196.66 255.255.255.224 gy-2511-01(config-if)#encapsulation x25 gy-2511-01(config-if)#x25 add 23456789 gy-2511-01(config-if)#bandwidth 64 gy-2511-01(config-if)#x25 htc 16 gy-2511-01(config-if)#x25 idle 5 gy-2511-01(config-if)#x25 nvc 8 gy-2511-01(config-if)#x25 map ip 202.98.196.66 23456789 broadcast gy-2511-01(config-if)#x25 map ip 202.98.196.65 12345678 broadcast gy-2511-01(config-if)#end gy-2511-01# 以上12345678為本路由器所接的X.25的端口號,而23456789為對端路由器所接的X.25的端口號 還可以視是否接DTU加入以下參數: gy-2511-01#conf ter Enter configuration commands, one per line. End with CNTL/Z. gy-2511-01(config)#int s0 gy-2511-01(config-if)#clock rate 64000 gy-2511-01(config-if)#end gy-2511-01# 多對點的接入 X.25接入的優勝之處就在于支持多對點的接入,多對點的接入路由器的設置跟點對點的設置是完全一樣的。