! Frame-Relay

! R1
en
conf t
!
host R1
no ip domain-lookup
!
int f0/0
 ip addr 10.1.1.1 255.255.255.0
 no shut
!
int s0/0/0
 encap frame-relay
 ip addr 192.168.1.1 255.255.255.0
 no shut
!
router eigrp 100
 no auto-summary
 net 10.0.0.0
 net 192.168.0.0 0.0.255.255
end

 

! R2
en
conf t
!
host R2
no ip domain-lookup
!
int f0/0
 ip addr 10.2.2.1 255.255.255.0
 no shut
!
int s0/0/0
 encap frame-relay
 ip addr 192.168.1.2 255.255.255.0
 no shut
!
router eigrp 100
 no auto-summary
 net 10.0.0.0
 net 192.168.0.0 0.0.255.255
end

 

 

! R3
en
conf t
!
host R3
no ip domain-lookup
!
int f0/0
 ip addr 10.3.3.1 255.255.255.0
 no shut
!
int s0/0/0
 encap frame-relay
 ip addr 192.168.1.3 255.255.255.0
 no shut
!
router eigrp 100
 no auto-summary
 net 10.0.0.0
 net 192.168.0.0 0.0.255.255
end

 

 

! R4
en
conf t
!
host R4
no ip domain-lookup
!
int f0/0
 ip addr 10.4.4.1 255.255.255.0
 no shut
!
int s0/0/0
 encap frame-relay
 ip addr 192.168.1.4 255.255.255.0
 no shut
!
router eigrp 100
 no auto-summary
 net 10.0.0.0
 net 192.168.0.0 0.0.255.255
end

 

 

 

 

R1#sh frame-relay pvc

PVC Statistics for interface Serial0/0/0 (Frame Relay DTE)
DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

input pkts 14055       output pkts 32795        in bytes 1096228
out bytes 6216155      dropped pkts 0           in FECN pkts 0
in BECN pkts 0         out FECN pkts 0          out BECN pkts 0
in DE pkts 0           out DE pkts 0
out bcast pkts 32795   out bcast bytes 6216155

DLCI = 103, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

input pkts 14055       output pkts 32795        in bytes 1096228
out bytes 6216155      dropped pkts 0           in FECN pkts 0
in BECN pkts 0         out FECN pkts 0          out BECN pkts 0
in DE pkts 0           out DE pkts 0
out bcast pkts 32795   out bcast bytes 6216155

DLCI = 104, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

input pkts 14055       output pkts 32795        in bytes 1096228
out bytes 6216155      dropped pkts 0           in FECN pkts 0
in BECN pkts 0         out FECN pkts 0          out BECN pkts 0
in DE pkts 0           out DE pkts 0
out bcast pkts 32795   out bcast bytes 6216155

R1#


R1#sh frame-relay  lmi
LMI Statistics for interface Serial0/0/0 (Frame Relay DTE) LMI TYPE = CISCO
 Invalid Unnumbered info 0      Invalid Prot Disc 0
 Invalid dummy Call Ref 0       Invalid Msg Type 0
 Invalid Status Message 0       Invalid Lock Shift 0
 Invalid Information ID 0       Invalid Report IE Len 0
 Invalid Report Request 0       Invalid Keep IE Len 0
 Num Status Enq. Sent 159       Num Status msgs Rcvd 144
 Num Update Status Rcvd 0       Num Status Timeouts 16
 

 


R1#sh frame-relay map
Serial0/0/0 (up): ip 192.168.1.2 dlci 102, dynamic, broadcast, CISCO, status defined, active
Serial0/0/0 (up): ip 192.168.1.4 dlci 104, dynamic, broadcast, CISCO, status defined, active
Serial0/0/0 (up): ip 192.168.1.3 dlci 103, dynamic, broadcast, CISCO, status defined, active
R1#


R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int s0/0/0
R1(config-if)#frame-relay map ip 192.168.1.1 102


R1#sh frame-relay map
Serial0/0/0 (up): ip 192.168.1.2 dlci 102, dynamic, broadcast, CISCO, status defined, active
Serial0/0/0 (up): ip 192.168.1.4 dlci 104, dynamic, broadcast, CISCO, status defined, active
Serial0/0/0 (up): ip 192.168.1.3 dlci 103, dynamic, broadcast, CISCO, status defined, active
Serial0/0/0 (up): ip 192.168.1.1 dlci 102, static, CISCO, status defined, active
R1#

 

R2#sh frame-relay pvc

PVC Statistics for interface Serial0/0/0 (Frame Relay DTE)
DLCI = 201, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0

input pkts 14055       output pkts 32795        in bytes 1096228
out bytes 6216155      dropped pkts 0           in FECN pkts 0
in BECN pkts 0         out FECN pkts 0          out BECN pkts 0
in DE pkts 0           out DE pkts 0
out bcast pkts 32795   out bcast bytes 6216155

R2#


R2#sh frame-relay map
Serial0/0/0 (up): ip 192.168.1.1 dlci 201, dynamic, broadcast, CISCO, status defined, active
R2#


R1#sh 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

     10.0.0.0/24 is subnetted, 4 subnets
C       10.1.1.0 is directly connected, FastEthernet0/0
D       10.2.2.0 [90/2172416] via 192.168.1.2, 00:03:39, Serial0/0/0
D       10.3.3.0 [90/2172416] via 192.168.1.3, 00:02:39, Serial0/0/0
D       10.4.4.0 [90/2172416] via 192.168.1.4, 00:03:08, Serial0/0/0
C    192.168.1.0/24 is directly connected, Serial0/0/0
R1#


R2#sh 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

     10.0.0.0/24 is subnetted, 2 subnets
D       10.1.1.0 [90/2172416] via 192.168.1.1, 00:04:06, Serial0/0/0
C       10.2.2.0 is directly connected, FastEthernet0/0
C    192.168.1.0/24 is directly connected, Serial0/0/0
R2#

 

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! subinterface
!

 

! R1
en
conf t
!
host R1
no ip domain-lookup
!
int f0/0
 ip addr 10.1.1.1 255.255.255.0
 no shut
!
int s0/0/0
 encap frame-relay
 no shut
!
int s0/0/0.102 point-to-point
 ip addr 192.168.12.1 255.255.255.0
 frame-relay interface-dlci 102
!
int s0/0/0.103 point-to-point
 ip addr 192.168.13.1 255.255.255.0
 frame-relay interface-dlci 103
!
int s0/0/0.104 point-to-point
 ip addr 192.168.14.1 255.255.255.0
 frame-relay interface-dlci 104
!
router eigrp 100
 no auto-summary
 net 10.0.0.0
 net 192.168.0.0 0.0.255.255
end

 

! R2
en
conf t
!
host R2
no ip domain-lookup
!
int f0/0
 ip addr 10.2.2.1 255.255.255.0
 no shut
!
int s0/0/0
 encap frame-relay
 no shut
!
int s0/0/0.201 point-to-point
 ip addr 192.168.12.2 255.255.255.0
 frame-relay interface-dlci 201
!
router eigrp 100
 no auto-summary
 net 10.0.0.0
 net 192.168.0.0 0.0.255.255
end

 

 

! R3
en
conf t
!
host R3
no ip domain-lookup
!
int f0/0
 ip addr 10.3.3.1 255.255.255.0
 no shut
!
int s0/0/0
 encap frame-relay
 no shut
!
!
int s0/0/0.301 point-to-point
 ip addr 192.168.13.2 255.255.255.0
 frame-relay interface-dlci 301
!
router eigrp 100
 no auto-summary
 net 10.0.0.0
 net 192.168.0.0 0.0.255.255
end

 

 

! R4
en
conf t
!
host R4
no ip domain-lookup
!
int f0/0
 ip addr 10.4.4.1 255.255.255.0
 no shut
!
int s0/0/0
 encap frame-relay
 no shut
!
!
int s0/0/0.401 point-to-point
 ip addr 192.168.14.2 255.255.255.0
 frame-relay interface-dlci 401
!
router eigrp 100
 no auto-summary
 net 10.0.0.0
 net 192.168.0.0 0.0.255.255
end

 

 

 


R1#sh frame-relay pvc

PVC Statistics for interface Serial0/0/0 (Frame Relay DTE)
DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0.102

input pkts 14055       output pkts 32795        in bytes 1096228
out bytes 6216155      dropped pkts 0           in FECN pkts 0
in BECN pkts 0         out FECN pkts 0          out BECN pkts 0
in DE pkts 0           out DE pkts 0
out bcast pkts 32795   out bcast bytes 6216155

DLCI = 103, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0.103

input pkts 14055       output pkts 32795        in bytes 1096228
out bytes 6216155      dropped pkts 0           in FECN pkts 0
in BECN pkts 0         out FECN pkts 0          out BECN pkts 0
in DE pkts 0           out DE pkts 0
out bcast pkts 32795   out bcast bytes 6216155

DLCI = 104, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0/0.104

input pkts 14055       output pkts 32795        in bytes 1096228
out bytes 6216155      dropped pkts 0           in FECN pkts 0
in BECN pkts 0         out FECN pkts 0          out BECN pkts 0
in DE pkts 0           out DE pkts 0
out bcast pkts 32795   out bcast bytes 6216155

R1#

 

R1#sh frame-relay lmi
LMI Statistics for interface Serial0/0/0 (Frame Relay DTE) LMI TYPE = CISCO
 Invalid Unnumbered info 0      Invalid Prot Disc 0
 Invalid dummy Call Ref 0       Invalid Msg Type 0
 Invalid Status Message 0       Invalid Lock Shift 0
 Invalid Information ID 0       Invalid Report IE Len 0
 Invalid Report Request 0       Invalid Keep IE Len 0
 Num Status Enq. Sent 159       Num Status msgs Rcvd 144
 Num Update Status Rcvd 0       Num Status Timeouts 16
 
LMI Statistics for interface Serial0/0/0.102 (Frame Relay DTE) LMI TYPE = CISCO
 Invalid Unnumbered info 0      Invalid Prot Disc 0
 Invalid dummy Call Ref 0       Invalid Msg Type 0
 Invalid Status Message 0       Invalid Lock Shift 0
 Invalid Information ID 0       Invalid Report IE Len 0
 Invalid Report Request 0       Invalid Keep IE Len 0
 Num Status Enq. Sent 159       Num Status msgs Rcvd 144
 Num Update Status Rcvd 0       Num Status Timeouts 16
 
LMI Statistics for interface Serial0/0/0.103 (Frame Relay DTE) LMI TYPE = CISCO
 Invalid Unnumbered info 0      Invalid Prot Disc 0
 Invalid dummy Call Ref 0       Invalid Msg Type 0
 Invalid Status Message 0       Invalid Lock Shift 0
 Invalid Information ID 0       Invalid Report IE Len 0
 Invalid Report Request 0       Invalid Keep IE Len 0
 Num Status Enq. Sent 159       Num Status msgs Rcvd 144
 Num Update Status Rcvd 0       Num Status Timeouts 16
 
LMI Statistics for interface Serial0/0/0.104 (Frame Relay DTE) LMI TYPE = CISCO
 Invalid Unnumbered info 0      Invalid Prot Disc 0
 Invalid dummy Call Ref 0       Invalid Msg Type 0
 Invalid Status Message 0       Invalid Lock Shift 0
 Invalid Information ID 0       Invalid Report IE Len 0
 Invalid Report Request 0       Invalid Keep IE Len 0
 Num Status Enq. Sent 159       Num Status msgs Rcvd 144
 Num Update Status Rcvd 0       Num Status Timeouts 16
 
R1#

 

R1#sh frame-relay map
Serial0/0/0.102 (up): point-to-point dlci, dlci 102, broadcast, status defined, active
Serial0/0/0.103 (up): point-to-point dlci, dlci 103, broadcast, status defined, active
Serial0/0/0.104 (up): point-to-point dlci, dlci 104, broadcast, status defined, active
R1#


R1#sh 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

     10.0.0.0/24 is subnetted, 4 subnets
C       10.1.1.0 is directly connected, FastEthernet0/0
D       10.2.2.0 [90/2172416] via 192.168.12.2, 00:01:19, Serial0/0/0.102
D       10.3.3.0 [90/2172416] via 192.168.13.2, 00:01:09, Serial0/0/0.103
D       10.4.4.0 [90/2172416] via 192.168.14.2, 00:01:05, Serial0/0/0.104
C    192.168.12.0/24 is directly connected, Serial0/0/0.102
C    192.168.13.0/24 is directly connected, Serial0/0/0.103
C    192.168.14.0/24 is directly connected, Serial0/0/0.104
R1#

 


R2#sh 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

     10.0.0.0/24 is subnetted, 4 subnets
D       10.1.1.0 [90/2172416] via 192.168.12.1, 00:01:26, Serial0/0/0.201
C       10.2.2.0 is directly connected, FastEthernet0/0
D       10.3.3.0 [90/2684416] via 192.168.12.1, 00:01:16, Serial0/0/0.201
D       10.4.4.0 [90/2684416] via 192.168.12.1, 00:01:12, Serial0/0/0.201
C    192.168.12.0/24 is directly connected, Serial0/0/0.201
D    192.168.13.0/24 [90/2681856] via 192.168.12.1, 00:01:26, Serial0/0/0.201
D    192.168.14.0/24 [90/2681856] via 192.168.12.1, 00:01:26, Serial0/0/0.201
R2#

 


taichenyu 發表在 痞客邦 PIXNET 留言(0) 人氣()