router#show running-config ;显示当前配置状态
router#show startup-config ;显示NVRAM配置状态
router#show ip interface brief ;检查整个路由器接口状态
例如:
CHAOY_CISCO2621XM#sh ip interface brief
Interface IP-Address OK? Method Status Protocol
ocol
FastEthernet0/0 172.31.3.1 YES NVRAM up down
FastEthernet0/1 unassigned YES NVRAM administratively down down
Serial1/0:0 172.31.1.2 YES NVRAM up up
Loopback0 10.10.10.2 YES manual up up
router#show ip route ;显示路由表
例如:
CHAOY_CISCO2621XM#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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
172.31.0.0/16 is variably subnetted, 3 subnets, 2 masks
C 172.31.1.0/30 is directly connected, Serial1/0:0
C 172.31.1.1/32 is directly connected, Serial1/0:0
O 172.31.1.4/30 [110/100] via 172.31.1.1, 00:04:14, Serial1/0:0
10.0.0.0/24 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, Loopback0
router#show interface fastethernet0/0 ;显示接口状态
router#show controller e1 1/0 ;显示E1端口状态
router#show interface serial1/0:0 ;显示二层封装和三层ip
router#show cdp neighber detail ;显示邻居路由器信息
router#ping 172.31.1.1 ;检测网络通路
router#traceroute 172.31.1.1 ;跟踪路由
注意:需要在各电厂现有的三层交换机或路由器里面添加如下路由
switch(config)#ip route 172.31.0.0 255.255.0.0
Last modification:July 14, 2020
© Allow specification reprint