硬件和软件版本
此配置是可适用的对所有Cisco IOS软件版本。
DCE边用广域网DCE电缆连接。
DTE边用广域网DTE电缆连接。
欲知关于广域网DCE/DTE电缆的更多信息参见串行电缆说明文件。
本文根据以下配置:
在此配置, Prasit作为DCE和Spicey是DTE。
配置
Prasit |
interface Serial0 ip address 5.0.2.1 255.255.255.0 encapsulation ppp clockrate 64000 no cdp enable |
Spicey |
interface Serial1 ip address 5.0.2.2 255.255.255.0 encapsulation ppp no cdp enable |
R1#show cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device IDLocal IntrfceHoldtmeCapabilityPlatformPort ID
//发现没有邻居.
R1#ping 5.0.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.0.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 44/76/124 ms
R1#
*May 28 23:24:36.487: IP: tableid=0, s=5.0.2.1 (local), d=5.0.2.2 (Serial2/1), routed via FIB
*May 28 23:24:36.487: IP: s=5.0.2.1 (local), d=5.0.2.2 (Serial2/1), len 100, sending
*May 28 23:24:36.535: IP: tableid=0, s=5.0.2.2 (Serial2/1), d=5.0.2.1 (Serial2/1), routed via RIB
*May 28 23:24:36.539: IP: s=5.0.2.2 (Serial2/1), d=5.0.2.1 (Serial2/1), len 100, rcvd 3
*May 28 23:24:36.543: IP: tableid=0, s=5.0.2.1 (local), d=5.0.2.2 (Serial2/1), routed via FIB
*May 28 23:24:36.543: IP: s=5.0.2.1 (local), d=5.0.2.2 (Serial2/1), len 100, sending
*May 28 23:24:36.639: IP: tableid=0, s=5.0.2.2 (Serial2/1), d=5.0.2.1 (Serial2/1), routed via RIB
*May 28 23:24:36.643: IP: s=5.0.2.2 (Serial2/1), d=5.0.2.1 (Serial2/1), len 100, rcvd 3
*May 28 23:24:36.647: IP: tableid=0, s=5.0.2.1 (local), d=5.0.2.2 (Serial2/1), routed via FIB
*May 28 23:24:36.647: IP: s=5.0.2.1 (local), d=5.0.2.2 (Serial2/1), len 100, sending
*May 28 23:24:36.763: IP: tableid=0, s=5.0.2.2 (Serial2/1), d=5.0.2.1 (Serial2
R1#/1), routed via RIB
*May 28 23:24:36.767: IP: s=5.0.2.2 (Serial2/1), d=5.0.2.1 (Serial2/1), len 100, rcvd 3
*May 28 23:24:36.771: IP: tableid=0, s=5.0.2.1 (local), d=5.0.2.2 (Serial2/1), routed via FIB
*May 28 23:24:36.771: IP: s=5.0.2.1 (local), d=5.0.2.2 (Serial2/1), len 100, sending
*May 28 23:24:36.831: IP: tableid=0, s=5.0.2.2 (Serial2/1), d=5.0.2.1 (Serial2/1), routed via RIB
*May 28 23:24:36.835: IP: s=5.0.2.2 (Serial2/1), d=5.0.2.1 (Serial2/1), len 100, rcvd 3
*May 28 23:24:36.835: IP: tableid=0, s=5.0.2.1 (local), d=5.0.2.2 (Serial2/1), routed via FIB
*May 28 23:24:36.839: IP: s=5.0.2.1 (local), d=5.0.2.2 (Serial2/1), len 100, sending
*May 28 23:24:36.875: IP: tableid=0, s=5.0.2.2 (Serial2/1), d=5.0.2.1 (Serial2/1), routed via RIB
*May 28 23:24:36.879: IP: s=5.0.2.2 (Serial2/1), d=5.0.2.1 (Serial2/1), len 100, rcvd 3
//发现物理邻居都没有也能通.