扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
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)#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-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接入的优胜之处就在于支持多对点的接入,多对点的接入路由器的设置跟点对点的设置是完全一样的。
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。