首页 > 代码库 > 2M线实验配置总结

2M线实验配置总结



 

2M线实验配置总结

1、查看路由器接口

 

R1#show ip int br

*Mar  1 00:26:28.868: %SYS-5-CONFIG_I: Configured from console by consolep  int br

Interface                  IP-Address      OK? Method Status                Protocol

Ethernet0/0                unassigned      YES unset  administratively down down

Ethernet0/1                unassigned      YES unset  administratively down down

Serial0/2                  unassigned      YES unset  administratively down down

Serial0/3                  unassigned      YES unset  administratively down down

 

2、开启E1接口

 

R1(config)#controller E1 0/0

R1(config-controller)#channel-group 1 timeslots 31

R1(config-controller)#exit

 

3、查看E1接口

 

R1#show ip int br

Interface                  IP-Address      OK? Method Status                Protocol

Ethernet0/0                unassigned      YES unset  administratively down down

Serial0/0:1                unassigned      YES unset  reset                 down   

Ethernet0/1                unassigned      YES unset  administratively down down

Serial0/2                  unassigned      YES unset  administratively down down

Serial0/3                  unassigned      YES unset  administratively down down

 

4、查看2M线接口serial0/0:1的封装类型

 

R1#show int serial 0/0:1  

Serial0/0:1 is reset, line protocol is down

Hardware is PowerQUICC Serial

MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,

reliability 255/255, txload 1/255, rxload 1/255

Encapsulation HDLC, loopback not set

Keepalive set (10 sec)

Last input never, output never, output hang never

Last clearing of "show interface" counters never

Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

Queueing strategy: weighted fair

Output queue: 0/1000/64/0 (size/max total/threshold/drops)

Conversations  0/0/256 (active/max active/max total)

Reserved Conversations 0/0 (allocated/max allocated)

Available Bandwidth 48 kilobits/sec

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

0 packets input, 0 bytes, 0 no buffer

Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort

0 packets output, 0 bytes, 0 underruns

0 output errors, 0 collisions, 2 interface resets

0 output buffer failures, 0 output buffers swapped out

0 carrier transitions

Timeslot(s) Used:31, SCC: 0, Transmitter delay is 0 flags

 

5、查看E1的帧格式

 

R1#show controllers E1

E1 0/0 is down.

Applique type is Channelized E1 - balanced

Far End Block Errors Detected

Receiver has loss of signal.

alarm-trigger is not set

Version info Firmware: 20051006, FPGA: 20, spm_count = 0

Framing is CRC4, Line Code is HDB3, Clock Source is Line.

CRC Threshold is 320. Reported from firmware  is 320.

Data in current interval (246 seconds elapsed):

0 Line Code Violations, 0 Path Code Violations

0 Slip Secs, 246 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 246 Unavail Secs

Total Data (last 3 15 minute intervals):

0 Line Code Violations, 0 Path Code Violations,

0 Slip Secs, 2700 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 2700 Unavail Secs

E1 0/1 is down.

Applique type is Channelized E1 - balanced

Far End Block Errors Detected

Receiver has loss of signal.

alarm-trigger is not set

Version info Firmware: 20051006, FPGA: 20, spm_count = 0

Framing is CRC4, Line Code is HDB3, Clock Source is Line.

CRC Threshold is 320. Reported from firmware  is 320.

Data in current interval (250 seconds elapsed):

0 Line Code Violations, 0 Path Code Violations

0 Slip Secs, 250 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 250 Unavail Secs

Total Data (last 3 15 minute intervals):

0 Line Code Violations, 0 Path Code Violations,

0 Slip Secs, 2700 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 2700 Unavail Secs

E1 1/0 is down.

Applique type is Channelized E1 - unbalanced

Transmitter is sending remote alarm.

Receiver has loss of signal.

alarm-trigger is not set

Framing is CRC4, Line Code is HDB3, Clock Source is Line.

Data in current interval (526 seconds elapsed):

0 Line Code Violations, 0 Path Code Violations

0 Slip Secs, 526 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 526 Unavail Secs

Total Data (last 3 15 minute intervals):

1 Line Code Violations, 0 Path Code Violations,

1 Slip Secs, 2700 Fr Loss Secs, 1 Line Err Secs, 0 Degraded Mins,

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 2700 Unavail Secs

E1 1/1 is down.

Applique type is Channelized E1 - unbalanced

Transmitter is sending remote alarm.

Receiver has loss of signal.

alarm-trigger is not set

Framing is CRC4, Line Code is HDB3, Clock Source is Line.

Data in current interval (528 seconds elapsed):

0 Line Code Violations, 0 Path Code Violations

0 Slip Secs, 528 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 528 Unavail Secs

Total Data (last 3 15 minute intervals):

0 Line Code Violations, 0 Path Code Violations,

1 Slip Secs, 2700 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 2700 Unavail Secs

 

6、修改E1的帧格式

 

R1(config)#controller E1 0/0

R1(config-controller)#framing no-crc4

R1(config-controller)#end

 

7、查看修改后的E1帧格式

 

R1#show controllers E1

E1 0/0 is down.

Applique type is Channelized E1 - balanced

Receiver has loss of signal.

alarm-trigger is not set

Version info Firmware: 20051006, FPGA: 20, spm_count = 0

Framing is NO-CRC4, Line Code is HDB3, Clock Source is Line.

CRC Threshold is 320. Reported from firmware  is 320.

Data in current interval (899 seconds elapsed):

0 Line Code Violations, 0 Path Code Violations

0 Slip Secs, 899 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 899 Unavail Secs

Total Data (last 3 15 minute intervals):

0 Line Code Violations, 0 Path Code Violations,

0 Slip Secs, 2700 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 2700 Unavail Secs

E1 0/1 is down.

Applique type is Channelized E1 - balanced

Far End Block Errors Detected

Receiver has loss of signal.

alarm-trigger is not set

Version info Firmware: 20051006, FPGA: 20, spm_count = 0

Framing is CRC4, Line Code is HDB3, Clock Source is Line.

CRC Threshold is 320. Reported from firmware  is 320.

Data in current interval (1 seconds elapsed):

0 Line Code Violations, 0 Path Code Violations

0 Slip Secs, 1 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 1 Unavail Secs

Total Data (last 4 15 minute intervals):

0 Line Code Violations, 0 Path Code Violations,

0 Slip Secs, 3600 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 3600 Unavail Secs

E1 1/0 is down.

Applique type is Channelized E1 - unbalanced

Transmitter is sending remote alarm.

Receiver has loss of signal.

alarm-trigger is not set

Framing is CRC4, Line Code is HDB3, Clock Source is Line.

Data in current interval (278 seconds elapsed):

0 Line Code Violations, 0 Path Code Violations

0 Slip Secs, 278 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 278 Unavail Secs

Total Data (last 4 15 minute intervals):

1 Line Code Violations, 0 Path Code Violations,

1 Slip Secs, 3600 Fr Loss Secs, 1 Line Err Secs, 0 Degraded Mins,

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 3600 Unavail Secs

E1 1/1 is down.

Applique type is Channelized E1 - unbalanced

Transmitter is sending remote alarm.

Receiver has loss of signal.

alarm-trigger is not set

Framing is CRC4, Line Code is HDB3, Clock Source is Line.

Data in current interval (279 seconds elapsed):

0 Line Code Violations, 0 Path Code Violations

0 Slip Secs, 279 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 279 Unavail Secs

Total Data (last 4 15 minute intervals):

0 Line Code Violations, 0 Path Code Violations,

1 Slip Secs, 3600 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,

0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 3600 Unavail Secs

 

8、修改2M线接口的封装类型

 

R1(config)#int s0/0:1

R1(config-if)# encapsulation ppp

R1(config-if)#end

 

9、查看2M线接口的封装类型

 

R1#show int s0/0:1

Serial0/0:1 is reset, line protocol is down

Hardware is PowerQUICC Serial

MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,

reliability 255/255, txload 1/255, rxload 1/255

Encapsulation PPP, LCP Closed, loopback not set

Keepalive set (10 sec)

Last input never, output never, output hang never

Last clearing of "show interface" counters 00:01:37

Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

Queueing strategy: weighted fair

Output queue: 0/1000/64/0 (size/max total/threshold/drops)

Conversations  0/0/256 (active/max active/max total)

Reserved Conversations 0/0 (allocated/max allocated)

Available Bandwidth 48 kilobits/sec

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

0 packets input, 0 bytes, 0 no buffer

Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort

0 packets output, 0 bytes, 0 underruns

0 output errors, 0 collisions, 0 interface resets

0 output buffer failures, 0 output buffers swapped out

0 carrier transitions

Timeslot(s) Used:31, SCC: 0, Transmitter delay is 0 flags

 

10、配置2M线接口地址

 

R1(config)#int s1/0:1

R1(config-if)#ip add 10.1.1.1 255.255.255.0

R1(config-if)#no shu

R1(config-if)#end

 

11、查看2M线接口状态

 

R1#show ip int br

*Mar  1 01:27:28.503: %SYS-5-CONFIG_I: Configured from console by consolep int br

Interface                  IP-Address      OK? Method Status                Protocol

Ethernet0/0                unassigned      YES unset  administratively down down

Ethernet0/1                unassigned      YES unset  administratively down down

Serial0/2                  unassigned      YES unset  administratively down down

Serial0/3                  unassigned      YES unset  administratively down down

Serial1/0:1                10.1.1.1        YES manual up                    up   

 

12、查看路由表

 

R1#show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2

i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

ia - IS-IS inter area, * - candidate default, U - per-user static route

o - ODR, P - periodic downloaded static route

 

Gateway of last resort is not set

 

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C       10.1.1.2/32 is directly connected, Serial1/0:1

C       10.1.1.0/24 is directly connected, Serial1/0:1

 

提示:如过你的帧格式、封装类型、还有IP地址都配置没有问题,那么你可以把2M线的两根线互相换一下,想必问题可以解决了。本文用于2M线测试与学习使用,没有其他用途。


本文出自 “仰天笑” 博客,请务必保留此出处http://taumy.blog.51cto.com/7947685/1562458

2M线实验配置总结