技术在于专研
分类: 系统运维
2007-03-16 14:59:28
Router# configure terminal
Router(config)# controller e1 1/1/0
Router(config-controll)# channel-group 20 timeslot 1-5, 20-23
Router(config-controll)# channel-group 21 timeslot 6-19
Router(config-controll)# interface serial 1/1/0:20
Router(config-if)# ip address 10.20.30.1 255.255.255.0
Router(config-if)# interface serial 1/1/0:21
Router(config-if)# ip address 10.20.40.1 255.255.255.0
Router# show interface serial 3/0:30
Serial3/0:30 is up, line protocol is up (looped)
Hardware is Multichannel E1
MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation HDLC, CRC 16, Data non-inverted, keepalive set (10 sec)
Last input 00:00:08, output 00:00:08, output hang never
Last clearing of “show interface” counters 00:00:27
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/64/0 (size/threshold/drops)
Conversations 0/1 (active/max active)
Reserved Conversations 0/0 (allocated/max allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
2 packets input, 48 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
2 packets output, 48 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffers copied, 0 interrupts, 0 failures
0 carrier transitions
no alarm present
Timeslot(s) Used:31, subrate: 64Kb/s, transmit delay is 0 flags
这是打环测试
另有配置
fax interface-type fax-mail
mta receive maximum-recipients 0
!
controller E1 0/0
channel-group 0 timeslots 1-31
!
!
!
!
interface FastEthernet0/0
ip address 10.3.128.1 255.255.255.0
ip access-group 110 in
ip access-group 110 out
duplex auto
speed auto
!
interface Serial0/0:0
ip address 10.3.253.6 255.255.255.252
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
ip address 10.3.253.18 255.255.255.252
no ip mroute-cache
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/1 10
ip route 10.3.2.161 255.255.255.255 Serial0/0:0 5
ip route 10.3.141.0 255.255.255.128 Serial0/0:0 5
ip route 10.3.142.0 255.255.255.128 Serial0/0:0 5
no ip http server
ip pim bidir-enable
!
!
access-list 110 deny tcp any any eq 445
access-list 110 permit tcp any any
access-list 110 permit udp any any
access-list 110 permit icmp any any
!
snmp-server community public RO
snmp-server community admin RW
call rsvp-sync
!
!
mgcp profile default
!
dial-peer cor custom