路由表:
R1
O*IA  0.0.0.0/0 [110/65] via 10.1.1.2, 00:18:22, Serial1/1
      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.1.1.0/24 is directly connected, Serial1/1
L        10.1.1.1/32 is directly connected, Serial1/1
      172.16.0.0/16 is variably subnetted, 8 subnets, 2 masks
C        172.16.0.0/24 is directly connected, Loopback0
L        172.16.0.1/32 is directly connected, Loopback0
C        172.16.1.0/24 is directly connected, Loopback1
L        172.16.1.1/32 is directly connected, Loopback1
C        172.16.2.0/24 is directly connected, Loopback2
L        172.16.2.1/32 is directly connected, Loopback2
C        172.16.3.0/24 is directly connected, Loopback3
L        172.16.3.1/32 is directly connected, Loopback3
R2
Gateway of last resort is not set
      10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
C        10.1.1.0/24 is directly connected, Serial1/0
L        10.1.1.2/32 is directly connected, Serial1/0
O IA     10.1.2.0/24 [110/128] via 172.17.1.2, 00:16:41, Serial1/2
O IA     10.1.3.0/24 [110/128] via 172.17.1.3, 00:16:41, Serial1/2
O IA     10.1.4.0/24 [110/192] via 172.17.1.3, 00:16:41, Serial1/2
      172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
O        172.16.0.0/22 is a summary, 00:18:56, Null0
O        172.16.0.1/32 [110/65] via 10.1.1.1, 00:18:56, Serial1/0
O        172.16.1.1/32 [110/65] via 10.1.1.1, 00:18:56, Serial1/0
O        172.16.2.1/32 [110/65] via 10.1.1.1, 00:18:56, Serial1/0
O        172.16.3.1/32 [110/65] via 10.1.1.1, 00:18:56, Serial1/0
      172.17.0.0/16 is variably subnetted, 2 subnets, 2 masks
C        172.17.1.0/24 is directly connected, Serial1/2
L        172.17.1.1/32 is directly connected, Serial1/2
      172.18.0.0/32 is subnetted, 2 subnets
O IA     172.18.0.1 [110/129] via 172.17.1.3, 00:16:43, Serial1/2
O IA     172.18.1.1 [110/129] via 172.17.1.3, 00:16:43, Serial1/2
      172.19.0.0/32 is subnetted, 2 subnets
O IA     172.19.0.1 [110/129] via 172.17.1.2, 00:16:43, Serial1/2
O IA     172.19.1.1 [110/129] via 172.17.1.2, 00:16:43, Serial1/2
      172.20.0.0/32 is subnetted, 2 subnets
O IA     172.20.1.1 [110/193] via 172.17.1.3, 00:16:43, Serial1/2
O IA     172.20.2.1 [110/193] via 172.17.1.3, 00:16:43, Serial1/2
O E2  192.168.1.0/24 [110/100] via 172.17.1.2, 00:16:43, Serial1/2
O E2  192.168.3.0/24 [110/100] via 172.17.1.2, 00:16:43, Serial1/2
O E2  192.168.255.0/24 [110/100] via 172.17.1.2, 00:16:43, Serial1/2
R2#
R3
Gateway of last resort is not set
      10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
O IA     10.1.1.0/24 [110/128] via 172.17.1.1, 00:17:26, Serial1/2
C        10.1.2.0/24 is directly connected, Serial1/1
L        10.1.2.1/32 is directly connected, Serial1/1
O IA     10.1.3.0/24 [110/128] via 172.17.1.3, 00:17:26, Serial1/2
O IA     10.1.4.0/24 [110/192] via 172.17.1.3, 00:17:26, Serial1/2
      172.16.0.0/22 is subnetted, 1 subnets
O IA     172.16.0.0 [110/129] via 172.17.1.1, 00:17:26, Serial1/2
      172.17.0.0/16 is variably subnetted, 2 subnets, 2 masks
C        172.17.1.0/24 is directly connected, Serial1/2
L        172.17.1.2/32 is directly connected, Serial1/2
      172.18.0.0/32 is subnetted, 2 subnets
O IA     172.18.0.1 [110/129] via 172.17.1.3, 00:17:26, Serial1/2
O IA     172.18.1.1 [110/129] via 172.17.1.3, 00:17:27, Serial1/2
      172.19.0.0/32 is subnetted, 2 subnets
O        172.19.0.1 [110/65] via 10.1.2.2, 00:19:30, Serial1/1
O        172.19.1.1 [110/65] via 10.1.2.2, 00:19:30, Serial1/1
      172.20.0.0/32 is subnetted, 2 subnets
O IA     172.20.1.1 [110/193] via 172.17.1.3, 00:17:27, Serial1/2
O IA     172.20.2.1 [110/193] via 172.17.1.3, 00:17:27, Serial1/2
O N2  192.168.1.0/24 [110/100] via 10.1.2.2, 00:19:30, Serial1/1
O N2  192.168.3.0/24 [110/100] via 10.1.2.2, 00:19:30, Serial1/1
O N2  192.168.255.0/24 [110/100] via 10.1.2.2, 00:19:30, Serial1/1
R3#
R4
Gateway of last resort is not set
      10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
O IA     10.1.1.0/24 [110/128] via 172.17.1.1, 00:18:04, Serial1/2
O IA     10.1.2.0/24 [110/128] via 172.17.1.2, 00:18:04, Serial1/2
C        10.1.3.0/24 is directly connected, Serial1/1
L        10.1.3.1/32 is directly connected, Serial1/1
O IA     10.1.4.0/24 [110/128] via 10.1.3.2, 00:19:42, Serial1/1
      172.16.0.0/22 is subnetted, 1 subnets
O IA     172.16.0.0 [110/129] via 172.17.1.1, 00:18:04, Serial1/2
      172.17.0.0/16 is variably subnetted, 2 subnets, 2 masks
C        172.17.1.0/24 is directly connected, Serial1/2
L        172.17.1.3/32 is directly connected, Serial1/2
      172.18.0.0/32 is subnetted, 2 subnets
O        172.18.0.1 [110/65] via 10.1.3.2, 00:20:02, Serial1/1
O        172.18.1.1 [110/65] via 10.1.3.2, 00:20:03, Serial1/1
      172.19.0.0/32 is subnetted, 2 subnets
O IA     172.19.0.1 [110/129] via 172.17.1.2, 00:18:05, Serial1/2
O IA     172.19.1.1 [110/129] via 172.17.1.2, 00:18:05, Serial1/2
      172.20.0.0/32 is subnetted, 2 subnets
O IA     172.20.1.1 [110/129] via 10.1.3.2, 00:19:43, Serial1/1
O IA     172.20.2.1 [110/129] via 10.1.3.2, 00:19:43, Serial1/1
O E2  192.168.1.0/24 [110/100] via 172.17.1.2, 00:18:05, Serial1/2
O E2  192.168.3.0/24 [110/100] via 172.17.1.2, 00:18:05, Serial1/2
O E2  192.168.255.0/24 [110/100] via 172.17.1.2, 00:18:05, Serial1/2
R5
O*IA  0.0.0.0/0 [110/65] via 10.1.2.1, 00:20:51, Serial1/0
      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.1.2.0/24 is directly connected, Serial1/0
L        10.1.2.2/32 is directly connected, Serial1/0
      172.19.0.0/16 is variably subnetted, 4 subnets, 2 masks
C        172.19.0.0/24 is directly connected, Loopback0
L        172.19.0.1/32 is directly connected, Loopback0
C        172.19.1.0/24 is directly connected, Loopback1
L        172.19.1.1/32 is directly connected, Loopback1
R     192.168.1.0/24 [120/1] via 192.168.255.2, 00:00:02, Serial1/1
R     192.168.3.0/24 [120/1] via 192.168.255.2, 00:00:02, Serial1/1
      192.168.255.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.255.0/24 is directly connected, Serial1/1
L        192.168.255.1/32 is directly connected, Serial1/1
R6
Gateway of last resort is 192.168.255.1 to network 0.0.0.0
R*    0.0.0.0/0 [120/10] via 192.168.255.1, 00:00:25, Serial1/0
      10.0.0.0/24 is subnetted, 1 subnets
R        10.1.2.0 [120/1] via 192.168.255.1, 00:00:25, Serial1/0
      172.19.0.0/24 is subnetted, 2 subnets
R        172.19.0.0 [120/1] via 192.168.255.1, 00:00:25, Serial1/0
R        172.19.1.0 [120/1] via 192.168.255.1, 00:00:25, Serial1/0
      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.1.0/24 is directly connected, Loopback0
L        192.168.1.1/32 is directly connected, Loopback0
      192.168.3.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.3.0/24 is directly connected, Loopback1
L        192.168.3.1/32 is directly connected, Loopback1
      192.168.255.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.255.0/24 is directly connected, Serial1/0
L        192.168.255.2/32 is directly connected, Serial1/0
R6#
R7
Gateway of last resort is not set
      10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
O IA     10.1.1.0/24 [110/192] via 10.1.3.1, 00:19:41, Serial1/0
O IA     10.1.2.0/24 [110/192] via 10.1.3.1, 00:19:50, Serial1/0
C        10.1.3.0/24 is directly connected, Serial1/0
L        10.1.3.2/32 is directly connected, Serial1/0
C        10.1.4.0/24 is directly connected, Serial1/1
L        10.1.4.1/32 is directly connected, Serial1/1
      172.16.0.0/22 is subnetted, 1 subnets
O IA     172.16.0.0 [110/193] via 10.1.3.1, 00:19:41, Serial1/0
      172.17.0.0/24 is subnetted, 1 subnets
O        172.17.1.0 [110/128] via 10.1.3.1, 00:19:51, Serial1/0
      172.18.0.0/16 is variably subnetted, 4 subnets, 2 masks
C        172.18.0.0/24 is directly connected, Loopback0
L        172.18.0.1/32 is directly connected, Loopback0
C        172.18.1.0/24 is directly connected, Loopback1
L        172.18.1.1/32 is directly connected, Loopback1
      172.19.0.0/32 is subnetted, 2 subnets
O IA     172.19.0.1 [110/193] via 10.1.3.1, 00:19:51, Serial1/0
O IA     172.19.1.1 [110/193] via 10.1.3.1, 00:19:51, Serial1/0
      172.20.0.0/32 is subnetted, 2 subnets
O        172.20.1.1 [110/65] via 10.1.4.2, 00:21:40, Serial1/1
O        172.20.2.1 [110/65] via 10.1.4.2, 00:21:40, Serial1/1
O E2  192.168.1.0/24 [110/100] via 10.1.3.1, 00:19:52, Serial1/0
O E2  192.168.3.0/24 [110/100] via 10.1.3.1, 00:19:52, Serial1/0
O E2  192.168.255.0/24 [110/100] via 10.1.3.1, 00:19:52, Serial1/0
R7#
R8
Gateway of last resort is 10.1.4.1 to network 0.0.0.0
O*IA  0.0.0.0/0 [110/65] via 10.1.4.1, 00:22:28, Serial1/0
      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.1.4.0/24 is directly connected, Serial1/0
L        10.1.4.2/32 is directly connected, Serial1/0
      172.20.0.0/16 is variably subnetted, 4 subnets, 2 masks
C        172.20.1.0/24 is directly connected, Loopback0
L        172.20.1.1/32 is directly connected, Loopback0
C        172.20.2.0/24 is directly connected, Loopback1
L        172.20.2.1/32 is directly connected, Loopback1
完成。
重要命令:
encapsulation frame-relay     //封装frame-relay
frame-relay map ip 172.17.1.3 204 broadcast  //pvc中模拟使用广播形式  对放的IP和本地的dlci
frame-relay route 402 interface Serial1/0 204  //帧中继路由,本地的dlci  出口 对方的dlci
area 1 stub   在区域1内的所有路由器启用,配置这条命令
area 1 stub no-summary  如上,no-summary 可以减少更多类型的LSA 3 4 5
area 4 nssa   nssa网络区域内有ASBR在不能配置stub类型下配置,减少LSA泛洪
area 4 nssa default-information-originate no-summary 如上
area 2 virtual-link 172.18.1.1   虚拟链路,是指区域2上有虚拟链路 172.18.1.1 router-id 而不是ip
area 2 virtual-link 172.17.1.3  链路上的路由器都要陪着