关键代码:
R1:
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config-if)#encapsulation frame-relay
R1(config-if)#exit
R1(config)#interface serial 0/1.1 point-to-point
R1(config-subif)#no frame-relay inverse-arp
R1(config-subif)#no arp frame-relay
R1(config-subif)#ip add 12.12.12.1 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 102
R1(config-fr-dlci)#exit
R1(config-subif)#exit
R1(config)#interface serial 0/1.2 point-to-point
R1(config-subif)#no frame-relay inverse-arp
R1(config-subif)#no arp frame-relay
R1(config-subif)#ip add 13.13.13.1 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 103
R1(config-fr-dlci)#exit
R1(config-subif)#exit
R1(config)#interface serial 0/1
R1(config-if)#no shutdown
R1(config-if)#^Z
R2:
R2(config)#interface serial 0/2
R2(config-if)#encapsulation frame-relay
R2(config-if)#exit
R2(config)#interface serial 0/2.1 point-to-point
R2(config-subif)#no frame-relay inverse-arp
R2(config-subif)#no arp frame-relay
R2(config-subif)#ip add 12.12.12.2 255.255.255.0
R2(config-subif)#frame-relay interface-dlci 201
R2(config-fr-dlci)#exit
R2(config-subif)#exit
R2(config)#int
R2(config)#interface serial 0/2.2 point-to-point
R2(config-subif)#no frame-relay inverse-arp
R2(config-subif)#no arp frame-relay
R2(config-subif)#ip add 23.23.23.2 255.255.255.0
R2(config-subif)#frame-relay interface-dlci 203
R2(config-fr-dlci)#exit
R2(config-subif)#exit
R2(config)#interface serial 0/2
R2(config-if)#no shutdown
R2(config-if)#^Z
R3:
R3(config)#interface serial 0/3
R3(config-if)#encapsulation frame-relay
R3(config-if)#exit
R3(config)#interface serial 0/3.1 point-to-point
R3(config-subif)#no frame-relay inverse-arp
R3(config-subif)#no arp frame-relay
R3(config-subif)#ip add 23.23.23.3 255.255.255.0
R3(config-subif)#frame-relay interface-dlci 302
R3(config-fr-dlci)#exit
R3(config-subif)#exit
R3(config)#interface serial 0/3.2 point-to-point
R3(config-subif)#no frame-relay inverse-arp
R3(config-subif)#no arp frame-relay
R3(config-subif)#ip add 13.13.13.3 255.255.255.0
R3(config-subif)#frame-relay interface-dlci 301
R3(config-fr-dlci)#exit
R3(config-subif)#exit
R3(config)#interface serial 0/3
R3(config-if)#no shutdown
R3(config-if)#^Z
另附配置文件