Routeur Cisco 3745 Switch 2950
Surcouf68
Messages postés
2
Date d'inscription
Statut
Membre
Dernière intervention
-
micky_willis Messages postés 8 Date d'inscription Statut Membre Dernière intervention -
micky_willis Messages postés 8 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Nous disposons d'un routeur Cisco 3745 et d'un switch Cisco 2950. Nous souhaitons les configurer de manière à faire communiquer 4 VLANs:
- VLAN1 Management
- VLAN2 Wifi
- VLAN3 Serveur
- VLAN4 Client
De plus, nous souhaitons activer le VTP entre ces deux composants, Routeur en VTP server et switch en VTP Client.
On a donc placé les deux éléments dans le même domaine VTP, crée le lien TRUNK acceptant les 4 VLANs sur le switch et créé les sous interfaces sur le routeur permettant la communication des différents VLAN entre le Routeur et le switch.
Cependant, le VTP ne fonctionne pas, c'est à dire que la configuration effectuée sur le routeur concernant les VLAN ne se transmet pas au switch.
Question : Ou faisons-nous une erreur?
Voici nos configurations
Switch 2950
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname SWITCH01
!
enable password XXXX
!
ip subnet-zero
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
switchport trunk allowed vlan 1-4
switchport mode trunk
switchport nonegotiate
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/8
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/9
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/10
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/11
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/12
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/13
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/14
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/15
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/16
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/17
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/18
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/19
switchport access vlan 4
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/20
switchport access vlan 4
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/21
switchport access vlan 4
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/22
switchport access vlan 4
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/23
switchport access vlan 4
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/24
switchport access vlan 4
switchport mode access
switchport nonegotiate
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 10.0.1.253 255.255.255.0
no ip route-cache
!
interface Vlan2
ip address 10.0.2.253 255.255.255.0
no ip route-cache
!
interface Vlan3
ip address 10.0.3.253 255.255.255.0
no ip route-cache
!
interface Vlan4
ip address 10.0.4.253 255.255.255.0
no ip route-cache
!
ip default-gateway 10.0.1.254
ip http server
!
line con 0
password XXXX
login
line vty 0 4
password XXXX
login
line vty 5 15
password XXXX
login
!
end
Configuration Routeur 3745
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ********
!
boot-start-marker
boot-end-marker
!
enable password *****
!
no aaa new-model
ip subnet-zero
ip cef
!
!
!
no ftp-server write-enable
!
trunk group a
!
!
!
!
interface FastEthernet0/0
ip address 10.0.1.254 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/0.1
encapsulation dot1Q 2
ip address 10.0.2.254 255.255.255.0
!
interface FastEthernet0/0.2
encapsulation dot1Q 3
ip address 10.0.3.254 255.255.255.0
!
interface FastEthernet0/0.3
encapsulation dot1Q 4
ip address 10.0.4.254 255.255.255.0
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial4/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial4/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial4/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial4/3
no ip address
shutdown
serial restart-delay 0
!
router rip
network 10.0.0.0
!
ip classless
no ip http server
!
!
line con 0
password *****
login
line aux 0
line vty 0 4
!
end
Nous disposons d'un routeur Cisco 3745 et d'un switch Cisco 2950. Nous souhaitons les configurer de manière à faire communiquer 4 VLANs:
- VLAN1 Management
- VLAN2 Wifi
- VLAN3 Serveur
- VLAN4 Client
De plus, nous souhaitons activer le VTP entre ces deux composants, Routeur en VTP server et switch en VTP Client.
On a donc placé les deux éléments dans le même domaine VTP, crée le lien TRUNK acceptant les 4 VLANs sur le switch et créé les sous interfaces sur le routeur permettant la communication des différents VLAN entre le Routeur et le switch.
Cependant, le VTP ne fonctionne pas, c'est à dire que la configuration effectuée sur le routeur concernant les VLAN ne se transmet pas au switch.
Question : Ou faisons-nous une erreur?
Voici nos configurations
Switch 2950
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname SWITCH01
!
enable password XXXX
!
ip subnet-zero
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
switchport trunk allowed vlan 1-4
switchport mode trunk
switchport nonegotiate
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/8
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/9
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/10
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/11
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/12
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/13
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/14
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/15
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/16
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/17
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/18
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/19
switchport access vlan 4
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/20
switchport access vlan 4
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/21
switchport access vlan 4
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/22
switchport access vlan 4
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/23
switchport access vlan 4
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/24
switchport access vlan 4
switchport mode access
switchport nonegotiate
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 10.0.1.253 255.255.255.0
no ip route-cache
!
interface Vlan2
ip address 10.0.2.253 255.255.255.0
no ip route-cache
!
interface Vlan3
ip address 10.0.3.253 255.255.255.0
no ip route-cache
!
interface Vlan4
ip address 10.0.4.253 255.255.255.0
no ip route-cache
!
ip default-gateway 10.0.1.254
ip http server
!
line con 0
password XXXX
login
line vty 0 4
password XXXX
login
line vty 5 15
password XXXX
login
!
end
Configuration Routeur 3745
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ********
!
boot-start-marker
boot-end-marker
!
enable password *****
!
no aaa new-model
ip subnet-zero
ip cef
!
!
!
no ftp-server write-enable
!
trunk group a
!
!
!
!
interface FastEthernet0/0
ip address 10.0.1.254 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/0.1
encapsulation dot1Q 2
ip address 10.0.2.254 255.255.255.0
!
interface FastEthernet0/0.2
encapsulation dot1Q 3
ip address 10.0.3.254 255.255.255.0
!
interface FastEthernet0/0.3
encapsulation dot1Q 4
ip address 10.0.4.254 255.255.255.0
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial4/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial4/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial4/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial4/3
no ip address
shutdown
serial restart-delay 0
!
router rip
network 10.0.0.0
!
ip classless
no ip http server
!
!
line con 0
password *****
login
line aux 0
line vty 0 4
!
end
A voir également:
- Routeur Cisco 3745 Switch 2950
- Android switch - Accueil - Android
- Smart switch pc - Télécharger - Divers Bureautique
- Switch off - Télécharger - Divers Utilitaires
- Logiciel switch - Télécharger - Conversion & Extraction
- Switch qwerty azerty - Guide
4 réponses
Salut,
vtp ?
il ya du vtp sur un 3745 ? sur des NME ?
la configuration du vtp ne se fait pas en par le conf t normal (ios), mais par la configuration des vlans : vlan database .
vtp ?
il ya du vtp sur un 3745 ? sur des NME ?
la configuration du vtp ne se fait pas en par le conf t normal (ios), mais par la configuration des vlans : vlan database .
Ce que je vais dire est peut être con mais comment peut on faire un vtp entre 2 équipements différents ? Entre 2 switchs ok pour le vtp mais entre un switch et un routeur je ne vois pas comment c'est possible.
A mon avis vous devriez créer les vlans sur le switch (votre domaine vtp) et les renvoyer sur le routeur via le port trunk et en suite créer les interfaces virtuelles sur le routeur en les encapsulant dans vos vlans créer sur le switch. Et ça devriat marcher.
Merci pour ta réponse.
Qu'est ce NME?
Oui il y a du VTP sur un 3745 et nous avons fait la configuration du VTP via VLAN DATABASE. Voici comment nous avons procédé:
routeur#vlan database
routeur(vlan)#vtp domain toto
routeur(vlan)#vtp server
sur le switch, nous avons mis le même domain et le mode client.
Merci encore de prêter un peu de ton temps à notre problème.
Mais pas forcément NME le nom, NME, ça doit être encore autre chose:
https://www.cisco.com/web/FR/documents/pdfs/datasheet/routers/2600x_ds_fr.pdf
je supputerais que le VTP ne fonctionne que si l'on passe par ce genre de module , mais je peux me tromper (fonctionnalités du switch catalyst à l'intérieur du routeur) .
à confirmer ...
PS,
si tu avais ce genre de module, je pense que tu routerais directement entre les vlans, sans configurer de sous interfaces , comme sur un routeur classique, ce que tu as fait .