Download presentation
Презентация загружается. Пожалуйста, подождите
1
Application Inverse MUX
avec Multilink PPP ccnp_cch
2
Sommaire • Introduction - Matériels utilisés
• Configuration Schéma du réseau - Configurations des routeurs • Vérification • Résolution de problèmes ccnp_cch
3
Introduction Dans certains environnements, il peut être nécessaire de grouper plusieurs lignes Serial pour qu'elles agissent comme une seule liaison avec la bande passante agrégée. Ce document décrit comment configurer deux routeurs Cisco 4500 pour grouper quatre interfaces serial en utilisant une interface virtual-template. Matériels utilisés Cette configuration est basée sur les logiciels et matériels suivants: • Routeurs Cisco • IOS Cisco Release 12.2 (10b) sur les deux routeurs. Cette configuration peut être réalisée avec des routeurs Cisco possédant quatre interfaces Serial, des cartes WIC-1T ou WIC-2T peuvent être également utilisées. Schéma du réseau Quatre serial RT_A RT_B Virtual-Template 1 /24 /24 Fa0/ /24 Fa0/ /16 Cette configuration a été testée avec un IOS Cisco release 12.2(10b) et des routeurs Cisco 4500. ccnp_cch
4
Configurations des routeurs
RT_A#show running-config Building configuration... Current configuration : 1540 bytes ! version 12.2 no parser cache no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption hostname RT_A logging rate-limit console 10 except errors enable secret 5 $1$O5QD$OzB6HyoLGFGk6k6fleIM31 enable password cisco username RT_B password 0 invmux ip subnet-zero no ip domain-lookup multilink virtual-template 1 interface Loopback0 ip address interface FastEthernet0/0 ip address speed auto half-duplex no mop enabled interface Serial0/0 bandwidth 2000 no ip address encapsulation ppp no fair-queue ppp multilink interface FastEthernet0/1 shutdown duplex auto interface Serial0/1 bandwidth 1000 ccnp_cch
5
ccnp_cch interface Serial0/2 bandwidth 500 no ip address
encapsulation ppp ppp multilink ! interface Serial0/3 bandwidth 128 interface Virtual-Template1 ip unnumbered Loopback0 ppp authentication chap router rip network network ip classless no ip http server line con 0 exec-timeout 0 0 logging synchronous speed 38400 line aux 0 line vty 0 4 password cisco login end RT_A# ccnp_cch
6
ccnp_cch RTR_B#show running-config Building configuration...
Current configuration : 1580 bytes ! version 12.2 no parser cache no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption hostname RT_B username RT_A password invmux enable secret 5 $1$YnUv$1q6XTpxdTmdIA4nntv83B. enable password cisco ip subnet-zero no ip domain-lookup multilink virtual-template 1 interface Loopback0 ip address interface FastEthernet0/0 ip address speed auto half-duplex no mop enabled interface Serial0/0 bandwidth 2000 no ip address encapsulation ppp no fair-queue clockrate ppp multilink interface FastEthernet0/1 shutdown duplex auto interface Serial0/1 bandwidth 1000 clockrate interface Serial0/2 bandwidth 500 clockrate ccnp_cch
7
• interface virtual-template
interface Serial0/3 bandwidth 128 no ip address encapsulation ppp clockrate ppp multilink ! interface Virtual-Template1 ip unnumbered Loopback0 ppp authentication chap router rip network network ip classless no ip http server line con 0 exec-timeout 0 0 logging synchronous speed 38400 line aux 0 line vty 0 4 password cisco login end RT_B# Configurez les fonctions suivantes pour implémenter la configuration précédente • Multilibk virtual-template • interface virtual-template • PPP Multilink sur chaque interface utilisée pour le multilink • RIP comme protocole de routage Une interface Loopback est configurée et ip unnumbered loopback0 permet un groupement de plus de cinq interfaces Serial avec la même adresse IP. Quand toutes les interfaces série sont en service et que du trafic doit être transmis, PPP Multilink crée une interface Virtual-Access et la négociation PPP est effectuée. La configuration de cette interface Virtual-Access est la copie de l'interface Virtual- Template. Les interfaces série qui sont en service sont groupées dans cette interface Virtual- Access et une bande passante agrégée est constituée. ccnp_cch
8
Vérification Cette section fournit des informations que vous pouvez utiliser pour vérifier si votre configuration fonctionne correctement • show ip route • show ip rip database • show ppp multilink • show interface virtual-access RT_A#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 R /16 [120/1] via , 00:00:14, Virtual-Access1 /24 is subnetted, 1 subnets C is directly connected, FastEthernet0/0 /24 is variably subnetted, 2 subnets, 2 masks C /24 is directly connected, Loopback0 C /32 is directly connected, Virtual-Access1 RT_A# RT_A#show ip route connected RT_B#show ip route C /16 is directly connected, FastEthernet0/0 R /8 [120/1] via , 00:00:13, Virtual-Access1 C /32 is directly connected, Virtual-Access1 RTR_B# RTR_B#show ip route connected ccnp_cch
9
ccnp_cch RT_A#show ip rip database 10.0.0.0/8 auto-summary
/24 directly connected, FastEthernet0/0 /16 auto-summary /16 [1] via , 00:00:03, Virtual-Access1 /24 auto-summary /24 directly connected, Loopback0 /32 directly connected, Virtual-Access1 RT_A# RT_B#show ip rip database /8 [1] via , 00:00:12, Virtual-Access1 /16 directly connected, FastEthernet0/0 /32 directly connected, Virtual-Access1 RT_B# RT_A#show ppp multilink Virtual-Access1, bundle name is RT_B Bundle up for 00:03:44 0 lost fragments, 0 reordered, 0 unassigned 0 discarded, 0 lost received, 1/255 load 0x10 received sequence, 0x10 sent sequence Member links: 4 (max not set, min not set) Serial0/0, since 00:02:02, last rcvd seq weight Serial0/1, since 00:01:51, last rcvd seq weight Serial0/2, since 00:00:56, last rcvd seq weight Serial0/3, since 00:00:33, last rcvd seq weight RT_A# RT_B#show ppp multilink Virtual-Access1, bundle name is RT_A Bundle up for 00:04:41 0x14 received sequence, 0x14 sent sequence Serial0/0, since 00:02:34, last rcvd seq weight Serial0/1, since 00:02:23, last rcvd seq weight Serial0/2, since 00:01:28, last rcvd seq weight Serial0/3, since 00:01:05, last rcvd seq weight ccnp_cch
10
ccnp_cch RT_A# RT_A#show interface virtual-access 1
Virtual-Access1 is up, line protocol is up Hardware is Virtual Access interface Interface is unnumbered. Using address of Loopback0 ( ) MTU 1500 bytes, BW 3628 Kbit, DLY usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation PPP, loopback not set Keepalive set (10 sec) DTR is pulsed for 5 seconds on reset LCP Open, multilink Open Open: IPCP Last input 00:00:16, output never, output hang never Last clearing of "show interface" counters 00:04:22 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 12 packets input, 1030 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 15 packets output, 1153 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions Rtr_A# RT_B#show interface virtual-access 1 Interface is unnumbered. Using address of Loopback0 ( ) Last input 00:00:23, output never, output hang never Last clearing of "show interface" counters 00:05:04 15 packets input, 1236 bytes, 0 no buffer 16 packets output, 1245 bytes, 0 underruns RT_B# ccnp_cch
11
Résolution de problèmes Cette section fournit des informations que vous pouvez utiliser pour résoudre des problèmes de configuration. • debug ppp negotiation : Affiche les informations sur le trafic PPP et les échanges de négociation incluant LCP ( Link Control Protocol), l'authentification et NCP Une négociation PPP réussie passe l'état LCP à "OPEN", ensuite il y la phase d'authentification et finalement la négociation NCP. • debug ppp authentication : Affiche les messages du protocole d'authentification tels PAP (Password Authentication Protocol) et CHAP (Challenge Athentication Protocol). • debug ppp error : Affiche les erreurs du protocole , les statistiques d'erreurs associées à la connexion PPP. • debug vtemplate - Affiche la copie des informations de configuration de l'interface Virtual-Template pour former une interface Virtual-Access • debug ppp multilink events - Affiche les évènements liées aux groupes Multilink. RT_A#debug vtemplate Virtual Template debugging is on RT_A# 01:15:32: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up 01:15:32: Vi1 VTEMPLATE: Reuse Vi1, recycle queue size 0 01:15:32: Vi1 VTEMPLATE: Set default settings with ip unnumbered 01:15:32: Vi1 VTEMPLATE: Hardware address 0007.eb3a.1441 01:15:32: Vi1 VTEMPLATE: Has a new cloneblk vtemplate, now it has vtemplate 01:15:32: Vi1 VTEMPLATE: ************* CLONE VACCESS1 ***************** 01:15:32: Vi1 VTEMPLATE: Clone from Virtual-Template1 interface Virtual-Access1 default ip address no ip address encap ppp ip unnumbered loopback0 end 01:15:32: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up 01:15:33: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up 01:15:33: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access1, changed state to up ccnp_cch
12
RT_A#debug ppp negotiation PPP protocol negotiation debugging is on
RT_A# 01:21:42: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up 01:21:42: Se0/0 PPP: Treating connection as a dedicated line 01:21:42: Se0/0 PPP: Phase is ESTABLISHING, Active Open [0 sess, 1 load] 01:21:42: Se0/0 LCP: O CONFREQ [Closed] id 3 len 22 01:21:42: Se0/0 LCP: MagicNumber 0x08360C9A (0x C9A) 01:21:42: Se0/0 LCP: MRRU 1524 (0x110405F4) 01:21:42: Se0/0 LCP: EndpointDisc 1 RT_A (0x F41) 01:21:42: Se0/0 LCP: I CONFREQ [REQsent] id 3 len 22 01:21:42: Se0/0 LCP: MagicNumber 0x0835F4FB (0x F4FB) 01:21:42: Se0/0 LCP: EndpointDisc 1 RT_B (0x F42) 01:21:42: Se0/0 LCP: O CONFACK [REQsent] id 3 len 22 01:21:42: Se0/0 LCP: I CONFACK [ACKsent] id 3 len 22 01:21:42: Se0/0 LCP: State is Open 01:21:42: Se0/0 PPP: Phase is VIRTUALIZED [0 sess, 1 load] 01:21:42: Vi1 PPP: Phase is DOWN, Setup [0 sess, 1 load] 01:21:42: Se0/0 IPCP: Packet buffered while building MLP bundle interface 01:21:42: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up 01:21:42: Vi1 PPP: Treating connection as a dedicated line 01:21:42: Vi1 PPP: Phase is ESTABLISHING, Active Open [0 sess, 1 load] 01:21:42: Vi1 LCP: O CONFREQ [Closed] id 1 len 27 01:21:42: Vi1 LCP: AuthProto CHAP (0x0305C22305) 01:21:42: Vi1 LCP: MagicNumber 0x083962DC (0x DC) 01:21:42: Vi1 LCP: MRRU 1524 (0x110405F4) 01:21:42: Vi1 LCP: EndpointDisc 1 RT_A (0x F41) 01:21:42: Vi1 PPP: Phase is UP [0 sess, 1 load] 01:21:42: Vi1 IPCP: O CONFREQ [Closed] id 1 len 10 01:21:42: Vi1 IPCP: Address (0x0306C0A80101) 01:21:42: Vi1 MLP: Added first link Se0/0 to bundle RT_B 01:21:42: Vi1 PPP: Pending ncpQ size is 1 01:21:42: Se0/0 IPCP: Redirect packet to Vi1 01:21:42: Vi1 IPCP: I CONFREQ [REQsent] id 1 len 10 01:21:42: Vi1 IPCP: Address (0x0306C0A80102) 01:21:42: Vi1 IPCP: O CONFACK [REQsent] id 1 len 10 01:21:42: Vi1 IPCP: I CONFACK [ACKsent] id 1 len 10 01:21:42: Vi1 IPCP: State is Open 01:21:42: Vi1 IPCP: Install route to 01:21:42: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up 01:25:22: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access1, changed state to up ccnp_cch
13
ccnp_cch Rtr_A#debug ppp multilink events
Multilink events debugging is on Rtr_A# 01:01:24: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up 01:01:24: Se0/0 MLP: Request add link to bundle 01:01:24: Se0/0 MLP: Adding link to bundle 01:01:24: Vi1 MLP: VP: Clone from Vtemplate 1 block=1 01:01:24: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up 01:01:24: Vi1 MLP: Added first link Se0/0 to bundle RT_B 01:01:25: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up 01:01:25: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access1, changed state to up 01:01:43: %LINK-3-UPDOWN: Interface Serial0/1, changed state to up 01:01:43: Se0/1 MLP: Request add link to bundle 01:01:43: Se0/1 MLP: Adding link to bundle 01:01:43: Vi1 MLP: Added link Se0/1 to bundle RT_B 01:01:44: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up 01:02:05: %LINK-3-UPDOWN: Interface Serial0/2, changed state to up 01:02:05: Se0/2 MLP: Request add link to bundle 01:02:05: Se0/2 MLP: Adding link to bundle 01:02:05: Vi1 MLP: Added link Se0/2 to bundle RT_B 01:02:06: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/2, changed state to up 01:02:21: %LINK-3-UPDOWN: Interface Serial0/3, changed state to up 01:02:21: Se0/3 MLP: Request add link to bundle 01:02:21: Se0/3 MLP: Adding link to bundle 01:02:21: Vi1 MLP: Added link Se0/3 to bundle RT_B 01:02:22: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3, changed state to up ccnp_cch
Similar presentations
© 2024 SlidePlayer.fr Inc.
All rights reserved.