1. Trang chủ
  2. » Công Nghệ Thông Tin

building cisco remote access networks phần 6 ppsx

60 291 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 60
Dung lượng 284,85 KB

Nội dung

Configuring and Backing Up Permanent Connections • Chapter 7 277 Figure 7.15 Continued. ! interface Serial2.3 point-to-point description frame relay to router 1 ip unnumbered Ethernet0 no ip route-cache frame-relay interface-dlci 101 no shutdown ! interface Serial3 no ip address no ip route-cache no ip mroute-cache shutdown ! interface BRI0 no ip address no ip route-cache no ip mroute-cache shutdown ! router eigrp 100 network 10.0.0.0 ! ip classless ! ! banner motd ^C Establish a Frame Relay PVCs on three routers and control traffic flow. - Router_2 ^C ! line con 0 exec-timeout 0 0 www.syngress.com Continued 93_sbcran_07 10/16/00 3:58 PM Page 277 278 Chapter 7 • Configuring and Backing Up Permanent Connections Figure 7.15 Continued. password xxxx login line aux 0 password xxxx login transport input all line vty 0 4 password xxxx login ! end Figure 7.16 Router3 configuration. Router3 ! version 11.3 service timestamps debug uptime service timestamps log uptime no service password-encryption service udp-small-servers service tcp-small-servers ! hostname Router_3 ! enable password xxxx ! ! interface Ethernet0 ip address 10.3.3.3 255.255.255.0 no ip route-cache no ip mroute-cache ! www.syngress.com Continued 93_sbcran_07 10/16/00 3:58 PM Page 278 Configuring and Backing Up Permanent Connections • Chapter 7 279 Figure 7.16 Continued. interface Serial0 no ip address no ip route-cache no ip mroute-cache shutdown ! interface Serial2.4 point-to-point description frame relay to router a ip unnumbered Ethernet0 no ip route-cache frame-relay interface-dlci 103 no shutdown ! router eigrp 100 network 10.0.0.0 ! ip classless ! ! banner motd ^C Establish a Frame Relay PVCs on three routers and control traffic flow. - Router_3 ^C ! line con 0 exec-timeout 0 0 password xxxx login line aux 0 password xxxx login transport input all line vty 0 4 www.syngress.com Continued 93_sbcran_07 10/16/00 3:58 PM Page 279 280 Chapter 7 • Configuring and Backing Up Permanent Connections Figure 7.16 Continued. password xxxx login ! end Verifying Traffic Shaping The functioning of traffic shaping configurations can be monitored through various show and debug commands. These are: ■ show frame-relay pvc ■ show frame-relay lmi ■ show interface ■ show ip route ■ show traffic shap ■ show frame-relay map ■ debug frame-relay lmi Let’s look at the related output that each of these commands produces. Router1#show frame-relay pvc PVC Statistics for interface Serial2 (Frame Relay DTE) DLCI = 100, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial2.1 input pkts 21 output pkts 24 in bytes 2014 out bytes 2066 dropped pkts 0 in FECN pkts 0 in BECN pkts 0 out FECN pkts 0 out BECN pkts 0 Æ shows BECN packets count in DE pkts 0 out DE pkts 0 out bcast pkts 22 out bcast bytes 1838 pvc create time 00:12:17, last time pvc status changed 00:01:19 DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial2.2 www.syngress.com 93_sbcran_07 10/16/00 3:58 PM Page 280 Configuring and Backing Up Permanent Connections • Chapter 7 281 input pkts 11 output pkts 15 in bytes 804 out bytes 1750 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 12 out bcast bytes 1198 pvc create time 00:11:03, last time pvc status changed 00:00:40 Router1#show frame-relay traffic Frame Relay statistics: ARP requests sent 0, ARP replies sent 0 ARP request recvd 0, ARP replies recvd Router1#sh frame lmi LMI Statistics for interface Serial2 (Frame Relay DTE) LMI TYPE = ANSI 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 14 Num Status msgs Rcvd 14 Num Update Status Rcvd 0 Num Status Timeouts 0 Router1#show interfaces s2 Serial2 is up, line protocol is up Hardware is CD2430 in sync mode MTU 1500 bytes, BW 115 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation FRAME-RELAY, loopback not set, keepalive set (10 sec) LMI enq sent 15, LMI stat recvd 15, LMI upd recvd 0, DTE LMI up LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0 LMI DLCI 0 LMI type is ANSI Annex D frame relay DTE FR SVC disabled, LAPF state down Broadcast queue 0/64, broadcasts sent/dropped 52/0, interface broadcasts 46 Last input 00:00:00, output 00:00:03, output hang never www.syngress.com 93_sbcran_07 10/16/00 3:58 PM Page 281 282 Chapter 7 • Configuring and Backing Up Permanent Connections Last clearing of “show interface” counters never Input queue: 0/75/0 (size/max/drops); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/1/256 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 66 packets input, 4724 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 75 packets output, 5758 bytes, 0 underruns 0 output errors, 0 collisions, 5 interface resets 0 output buffer failures, 0 output buffers swapped out 2 carrier transitions DCD=up DSR=up DTR=up RTS=up CTS=up Router1#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, * - candidate default U - per-user static route, o - ODR Gateway of last resort is not set 10.0.0.0/24 is subnetted, 5 subnets D 10.2.2.0 [90/2195456] via 10.140.1.1, 00:03:45, Serial1 D 10.3.3.0 [90/2195456] via 10.140.2.2, 00:03:46, Serial0 C 10.1.1.0 is directly connected, Ethernet0 C 10.140.2.0 is directly connected, Serial0 C 10.140.1.0 is directly connected, Serial1 www.syngress.com 93_sbcran_07 10/16/00 3:58 PM Page 282 Configuring and Backing Up Permanent Connections • Chapter 7 283 Router1#sh frame-relay traffic Frame Relay statistics: ARP requests sent 0, ARP replies sent 0 ARP request recvd 0, ARP replies recvd 0 Router1# show traffic-shape Æ shows traffic shaping related statistics Access Target Byte Sustain Excess Interval Increment Adapt I/F List Rate Limit bits/int bits/int (ms) (bytes) Active Se2.1 56000 875 7000 0 125 875 BECN Æshows BECN is active Se2.2 56000 7875 56000 56000 125 875 BECN =================== Num Update Status Rcvd 0 Num Status Timeouts 0 =================== Router1#show frame-relay pvc PVC Statistics for interface Serial2 (Frame Relay DTE) DLCI = 100, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial2.1 input pkts 215 output pkts 217 in bytes 17440 out bytes 17428 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 215 out bcast bytes 17200 Shaping adapts to BECN Æ shows what type of traffic shaping used pvc create time 00:26:06, last time pvc status changed 00:15:07 DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial2.2 www.syngress.com 93_sbcran_07 10/16/00 3:58 PM Page 283 284 Chapter 7 • Configuring and Backing Up Permanent Connections input pkts 205 output pkts 209 in bytes 16230 out bytes 17176 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 206 out bcast bytes 16624 pvc create time 00:24:51, last time pvc status changed 00:14:28 ==================== Router1#debug frame-relay lmi Frame Relay LMI debugging is on Displaying all Frame Relay LMI data 05:37:40: Serial2(out): StEnq, myseq 108, yourseen 107, DTE up 05:37:40: datagramstart = 0x647D20, datagramsize = 14 05:37:40: FR encap = 0x00010308 05:37:40: 00 75 95 01 01 01 03 02 6C 6B 05:37:40: 05:37:40: Serial2(in): Status, myseq 108 05:37:40: RT IE 1, length 1, type 1 05:37:40: KA IE 3, length 2, yourseq 108, myseq 108 05:37:51: Serial2(out): StEnq, myseq 109, yourseen 108, DTE up 05:37:51: datagramstart = 0x647D20, datagramsize = 14 05:37:51: FR encap = 0x00010308 05:37:51: 00 75 95 01 01 01 03 02 6D 6C 05:37:51: 05:37:51: Serial2(in): Status, myseq 109 05:37:51: RT IE 1, length 1, type 1 05:37:51: KA IE 3, length 2, yourseq 109, myseq 109 fram ====================== Router1#debug frame-relay 05:38:00: Serial2(out): StEnq, myseq 110, yourseen 109, DTE up 05:38:00: datagramstart = 0x647D20, datagramsize = 14 05:38:00: FR encap = 0x00010308 www.syngress.com 93_sbcran_07 10/16/00 3:58 PM Page 284 Configuring and Backing Up Permanent Connections • Chapter 7 285 05:38:00: 00 75 95 01 01 00 03 02 6E 6D 05:38:00: 05:38:00: Serial2(in): Status, myseq 110 05:38:00: RT IE 1, length 1, type 0 05:38:00: KA IE 3, length 2, yourseq 110, myseq 110 05:38:00: PVC IE 0x7 , length 0x3 , dlci 100, status 0x2 05:38:00: PVC IE 0x7 , length 0x3 , dlci 102, status 0x2 ip 05:38:10: Serial2(out): StEnq, myseq 111, yourseen 110, DTE up 05:38:10: datagramstart = 0x647D20, datagramsize = 14 05:38:10: FR encap = 0x00010308 05:38:10: 00 75 95 01 01 01 03 02 6F 6E 05:38:42: Serial2.2(o):Pkt sent on dlci 102(0x1861), pkt type 0x800(IP), datagramsize 64 05:38:43: Serial2.1: broadcast search 05:38:43: Serial2.1(o): dlci 100(0x1841), pkt type 0x800(IP), datagramsize 64 05:38:43: broadcast dequeue 05:38:43: Serial2.1(o):Pkt sent on dlci 100(0x1841), pkt type 0x800(IP), datagramsize 64 05:38:46: Serial2(i): dlci 100(0x1841), pkt type 0x800, datagramsize 64 05:38:46: Serial2.1: Broadcast on DLCI 100 link 65(CDP) 05:38:46: Serial2.1(o): dlci 100(0x1841), pkt type 0x2000(CDP), datagramsize 279 05:38:46: broadcast dequeue 05:38:46: Serial2.1(o):Pkt sent on dlci 100(0x1841), pkt type 0x2000(CDP), datagramsize 279 05:38:46: Serial2(i): dlci 102(0x1861), pkt type 0x800, datagramsize 64 05:38:46: Serial2.2: broadcast search 05:38:46: Serial2.2(o): dlci 102(0x1861), pkt type 0x800(IP), datagramsize 64 05:38:46: broadcast dequeue 05:38:46: Serial2.2(o):Pkt sent on dlci 102(0x1861), pkt type 0x800(IP), datagramsize 64 05:38:47: Serial2.1: broadcast search 05:38:47: Serial2.1(o): dlci 100(0x1841), pkt type 0x800(IP), datagramsize 64 www.syngress.com 93_sbcran_07 10/16/00 3:58 PM Page 285 286 Chapter 7 • Configuring and Backing Up Permanent Connections 05:38:47: Serial2(i): dlci 100(0x1841), pkt type 0x2000, datagramsize 279 05:38:47: broadcast dequeue 05:38:47: Serial2.1(o):Pkt sent on dlci 100(0x1841), pkt type 0x800(IP), datagramsize 64 05:38:48: Serial2(i): dlci 102(0x1861), pkt type 0x2000, datagramsize 279 ================== Router1#show interfaces Ethernet0 is up, line protocol is up Hardware is Lance, address is 0010.7be8.7e84 (bia 0010.7be8.7e84) Internet address is 10.1.1.3/24 MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255 Encapsulation ARPA, loopback not set, keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output 00:00:03, output hang never Last clearing of “show interface” counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 input packets with dribble condition detected 887 packets output, 72833 bytes, 0 underruns 0 output errors, 0 collisions, 3 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out ================ Serial2 is up, line protocol is up Hardware is CD2430 in sync mode MTU 1500 bytes, BW 115 Kbit, DLY 20000 usec, rely 255/255, load 1/255 www.syngress.com 93_sbcran_07 10/16/00 3:58 PM Page 286 [...]... ATM0.1(O): VCD:0x1 VPI:0x0 VCI:0x64 DM:0x100 SAP:AAAA CTL:03 OUI:000000 TYPE:0800 Length:0x 56 Shows the 1/100 (64 hex) pvc sending an ip packet type0800 04: 46: 21: 45C0 004A 0000 0000 0209 96EA 0A00 1702 FFFF FFFF 1105 0001 0003 0000 0000 04: 46: 21: 53C9 0002 0000 0 064 0003 E805 DCFF 0100 0003 00FF FFFF 0100 0501 1043 69 73 04: 46: 21: 0017 0000 07D0 0019 6E05 DCFF 0100 04: 46: 21: 04: 46: 22: ATM0.1(O): —o –Outgoing... VCI:0x64 DM:0x100 SAP:AAAA CTL:03 OUI:000000 TYPE:08 06 Length:0x20 Arp packet type 08 06 04: 46: 22: 0013 0800 0000 0008 0400 0004 0A00 1702 0000 0000 04: 46: 22: 04: 46: 22: ATM0.1(I): VCD:0x1 VPI:0x0 VCI:0x64 Type:0x0 SAP:AAAA CTL:03 OUI:000000 TYPE:08 06 Length:0x20 04: 46: 22: 0013 0800 0000 0009 0400 0004 0A00 1703 0A00 1702 04: 46: 22: 04: 46: 23: %LINK-3-UPDOWN: Interface ATM0, changed state to up 04: 46: 24:... 172. 16. 1.2 192. 168 .2.1 serial 0 192. 168 .2.2 serial 0 Branch1-1 Branch 1 connection Central 1 93_sbcran_07 E0 172. 16. 2.1 E0=.1 Router1 E0 172. 16. 1.0/24 Host A www.syngress.com 93_sbcran_07 10/ 16/ 00 3 06 3:58 PM Page 3 06 Chapter 7 • Configuring and Backing Up Permanent Connections ! central site version 11.3 ! hostname Central-1 ! isdn switch-type basic-dms100 ! interface Ethernet0 ip address 172. 16. 1.1... state to up 04: 46: 25: %SYS-5-CONFIG_I: Configured from console by console 04: 46: 34: ATM0.1(I): VCD:0x1 VPI:0x0 VCI:0x64 Type:0x0 SAP:AAAA CTL:03 OUI:000000 TYPE:0800 Length:0x 56 04: 46: 34: 45C0 004A 0000 0000 0109 97E9 0A00 1703 FFFF FFFF 1101 0001 0003 0000 0000 www.syngress.com 93_sbcran_07 302 10/ 16/ 00 3:58 PM Page 302 Chapter 7 • Configuring and Backing Up Permanent Connections 04: 46: 34: 8030 0002... 192. 168 .1.2 name CENTRAL-1 1111 ! Dialer string points to remote ! side of the link dialer load-threshold 1 either dialer-group 10 isdn switch-type basic-dms100 ! ISDN switch type provided by TELCO ppp authentication chap no shutdown ! ip classless ip route 17. 16. 1.0 255.255.255.0 192. 168 .1.2 ! access- list 120 permit ip 172. 16. 1.0 0.0.0.255 host 192. 168 .1.2 access- list 120 permit tcp any any established dialer-list... address 192. 168 .2.2 255.255.255.0 no ip route-cache no ip mroute-cache bandwidth 64 no shutdown ! interface BRI0 ip address 192. 168 .1.2 255.255.255.0 encapsulation ppp no ip route-cache no ip mroute-cache bandwidth 64 dialer idle-timeout 1 dialer map ip 192. 168 .1.1 name Branch1 3333 dialer load-threshold 180 outbound dialer-group 10 isdn switch-type basic-dms100 www.syngress.com 93_sbcran_07 10/ 16/ 00 3:58... no shutdown ! ip classless ! access- list 120 permit ip 172. 16. 2.0 0.0.0.255 host 192. 168 .1.1 dialer-list 10 protocol ip permit ! end Branch-1 ! version 11.3 ! hostname Branch1 ! isdn switch-type basic-dms100 ! interface Ethernet0 ip address 172. 16. 2.1 255.255.255.0 no ip route-cache no ip mroute-cache ! interface Serial0 backup delay 60 20 !When primary fails, it waits for 60 sec, ! When primary comes... ip address 192. 168 .2.1 255.255.255.0 no ip route-cache no ip mroute-cache bandwidth 64 no shutdown www.syngress.com 93_sbcran_07 10/ 16/ 00 308 3:58 PM Page 308 Chapter 7 • Configuring and Backing Up Permanent Connections ! interface BRI0 ip address 192. 168 .1.1 255.255.255.0 encapsulation ppp no ip route-cache no ip mroute-cache bandwidth 64 dialer idle-timeout 180 dialer map ip 192. 168 .1.2 name CENTRAL-1... logged Log Buffer (40 96 bytes): 04:45:47: %SYS-5-CONFIG_I: Configured from console by console www.syngress.com 93_sbcran_07 10/ 16/ 00 3:58 PM Page 301 Configuring and Backing Up Permanent Connections • Chapter 7 301 04: 46: 06: %LINK-5-CHANGED: Interface ATM0, changed state to administratively down 04: 46: 07: %LINEPROTO-5-UPDOWN: Line protocol on Interface ATM0, changed state to down 04: 46: 21: ATM0.1(O): VCD:0x1... point-to-point dlci, dlci 100(0x64,0x1840), broadcast shows the mapping of DLCI status defined, active Serial2.2 (up): point-to-point dlci, dlci 102(0x 66, 0x1 860 ), broadcast status defined, active Router1#show frame-relay traffic Frame Relay statistics: ARP requests sent 0, ARP replies sent 0 ARP request recvd 0, ARP replies recvd 0 Router1# www.syngress.com 93_sbcran_07 290 10/ 16/ 00 3:58 PM Page 290 Chapter . 279 05:38: 46: Serial2(i): dlci 102(0x1 861 ), pkt type 0x800, datagramsize 64 05:38: 46: Serial2.2: broadcast search 05:38: 46: Serial2.2(o): dlci 102(0x1 861 ), pkt type 0x800(IP), datagramsize 64 05:38: 46: . = 0x647D20, datagramsize = 14 05:38:10: FR encap = 0x00010308 05:38:10: 00 75 95 01 01 01 03 02 6F 6E 05:38:42: Serial2.2(o):Pkt sent on dlci 102(0x1 861 ), pkt type 0x800(IP), datagramsize 64 05:38:43:. datagramsize 64 05:38: 46: Serial2.1: Broadcast on DLCI 100 link 65 (CDP) 05:38: 46: Serial2.1(o): dlci 100(0x1841), pkt type 0x2000(CDP), datagramsize 279 05:38: 46: broadcast dequeue 05:38: 46: Serial2.1(o):Pkt

Ngày đăng: 14/08/2014, 13:20

TỪ KHÓA LIÊN QUAN