Weird problem in Dynamips IOS 3640.
NetworkGod
Member Posts: 236 ■■■□□□□□□□
in CCNP
Very weird problem with my lab here..
SW2#sh cdp neigh
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
SW2#
SW2#sh int f1/0
FastEthernet1/0 is up, line protocol is down
Hardware is Fast Ethernet, address is cc01.0f5c.f100 (bia cc01.0f5c.f100)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
SW1#sh int f1/0
FastEthernet1/0 is up, line protocol is down
Hardware is Fast Ethernet, address is cc00.0f5c.f100 (bia cc00.0f5c.f100)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed
SW1#sh cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
SW1#
Any ideas???
# VLAN Lab
autostart = False
model = 3640
[localhost]
3640
image = \Dynamips\IOS\C3640-IK.bin
ram = 128
#idlepc = 0x6062e700
ROUTER SW1
slot1 = NM-16ESW
SW1 F1/0 = SW2 F1/0
idlepc = 0x6063f6c8
model = 3640
ROUTER SW2
slot1 = NM-16ESW
idlepc = 0x605c9cf8
model = 3640
SW2#sh cdp neigh
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
SW2#
SW2#sh int f1/0
FastEthernet1/0 is up, line protocol is down
Hardware is Fast Ethernet, address is cc01.0f5c.f100 (bia cc01.0f5c.f100)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
SW1#sh int f1/0
FastEthernet1/0 is up, line protocol is down
Hardware is Fast Ethernet, address is cc00.0f5c.f100 (bia cc00.0f5c.f100)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed
SW1#sh cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
SW1#
Any ideas???
What one man can do another can do.
(\__/)This is Bunny. Copy and paste bunny into
(='.'=)your signature to help him gain world
(")_(")domination.
- CCNA - CCDA - BCMSN - BSCI -
- 70-270 -
(\__/)This is Bunny. Copy and paste bunny into
(='.'=)your signature to help him gain world
(")_(")domination.
- CCNA - CCDA - BCMSN - BSCI -
- 70-270 -
Comments
-
Grym Member Posts: 31 ■■□□□□□□□□Do you have the interfaces in the same VLan
say with switchport access vlan X
Here's a config for multiple vlans but it should help in getting your "switches" setup:
http://7200emu.hacki.at/viewtopic.php?t=1990 -
NetworkGod Member Posts: 236 ■■■□□□□□□□yes, they're in the same vlan (vlan 1 native)
and i don't see how vlan could relate to CDP..
CDP is enabled on both switching modulesWhat one man can do another can do.
(\__/)This is Bunny. Copy and paste bunny into
(='.'=)your signature to help him gain world
(")_(")domination.
- CCNA - CCDA - BCMSN - BSCI -
- 70-270 - -
Grym Member Posts: 31 ■■□□□□□□□□Well i was thinking that because both the interfaces are down from your show int, "physically" you have a cable going from one to the other but for some reason the interface is still down.
Yea sorry, haven't played that much with the NM-16ESW, when I get to work today I'll fire up your config and see if I get the same results. -
Paul Boz Member Posts: 2,620 ■■■■■■■■□□Grym, the interfaces are up, they're just not synchronized. it doesn't matter though, because CDP rides on layer 2, so just so long as there's a physical connection it works.CCNP | CCIP | CCDP | CCNA, CCDA
CCNA Security | GSEC |GCFW | GCIH | GCIA
pbosworth@gmail.com
http://twitter.com/paul_bosworth
Blog: http://www.infosiege.net/ -
Grym Member Posts: 31 ■■□□□□□□□□Ok, so here is the setup I used:
############### [[ROUTER SW1]] ############### console = 2004 disk0 = 0 disk1 = 0 model = 3640 confreg = 0x2102 ram = 96 mmap = False slot1 = NM-16ESW F1/0 = SW2 F1/0 #f1/2 = R2 E0/0 #f1/11 = SW2 f1/11 #f1/12 = SW2 f1/12 #f1/13 = SW2 f1/13 ############### [[ROUTER SW2]] ############### console = 2005 disk0 = 0 disk1 = 0 model = 3640 confreg = 0x2102 ram = 96 mmap = False slot1 = NM-16ESW #f1/3 = R3 E0/0
The only change I made is I took out the SW1 on switch 1, as it gave me an error when I started Dynagen.SW1#show cdp neigh Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID Router Fas 1/0 35 R S I 3640 Fas 1/0 SW2 Fas 1/0 155 R S I 3640 Fas 1/0 SW1# SW2#show cdp neigh Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID Router Fas 1/0 0 R S I 3640 Fas 1/0 SW1 Fas 1/0 173 R S I 3640 Fas 1/0 SW2# SW2#show int f1/0 FastEthernet1/0 is up, line protocol is up Hardware is Fast Ethernet, address is cc06.0d1c.f100 (bia cc06.0d1c.f100) MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 100Mb/s SW1#show int f1/0 FastEthernet1/0 is up, line protocol is up Hardware is Fast Ethernet, address is cc05.0d1c.f100 (bia cc05.0d1c.f100) MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec)
So I just made the one change to your setup and everything seems to working as it should. -
Grym Member Posts: 31 ■■□□□□□□□□Paul Boz wrote:Grym, the interfaces are up, they're just not synchronized. it doesn't matter though, because CDP rides on layer 2, so just so long as there's a physical connection it works.
Ahh, ok, so even if the int says UP/DOWN it should see the other switch in show CDP neigh, good to know for troubleshooting.
Thanks Paul -
NetworkGod Member Posts: 236 ■■■□□□□□□□Hm, do you mind telling me what particular 3640 image did you use?
maybe dynamips is bugging out with my image?
I should try another one...What one man can do another can do.
(\__/)This is Bunny. Copy and paste bunny into
(='.'=)your signature to help him gain world
(")_(")domination.
- CCNA - CCDA - BCMSN - BSCI -
- 70-270 - -
Grym Member Posts: 31 ■■□□□□□□□□C3640-jk9o3s-mz.123-14.T7.bin
I do extract the image first, which should not really matter other then for loading time.
One other thing that I did not mention is that I did no other config to the ports to get it running... -
NetworkGod Member Posts: 236 ■■■□□□□□□□HA! Would you believe this?
It did not work, until i took your config word to word and pasted it to mine.
Now it works, i'm happy.
What one man can do another can do.
(\__/)This is Bunny. Copy and paste bunny into
(='.'=)your signature to help him gain world
(")_(")domination.
- CCNA - CCDA - BCMSN - BSCI -
- 70-270 -