03-02-2016 12:33 PM - edited 03-08-2019 04:48 AM
I'm new to cisco command language, so please be gentle. lol
As part of a class, in Packet Tracer, I have to configure a Cisco 2960 for ipV6. When I try to configure, I get the dreaded "Invalid input detected at '^' marker. My command string is below. From what I can tell my syntax is correct. Any help is appreciated.
s1#config t
s1(config)#interface vlan 1
s1(config)#ipv6 address 2001:db8:acad:1::b/64 (also tried s1(config)#ipv6 address 2001:db8:acad:1::b/64 eui 64)
% Invalid input detected at '^' marker.
I also tried
s1(config)#sdm prefer dual-ipv4-and-ipv6 default and get the same error message.
03-02-2016 05:52 PM
It might be that the IOS you are running does not support IPv6.
Also, 2960 switches are mainly layer-2.
HTH
03-03-2016 04:35 AM
Thanks for the replies. I thought about the version not being compatible, but they have been using this configuration for this class for a while, so if it was a version problem I would think they would have it taken care of already.
The version on this switch is 12.2(25)FX, release fc1
03-02-2016 06:10 PM
Hey,
Reza pointed your the right answer. I just logged in on my device 2960 and I am able to configure the ipv6.
2900-2#show ver
Version 15.2(2)E3
System image file is "flash:c2960x-universalk9-mz.152-2.E3.bin
2900-2#show sdm prefer
The current template is "lanbase-routing" template.
2900-2(config)#int vlan 1
2900-2(config-if)#no shut
2900-2(config-if)#ipv6 address 2001:db8:acad:1::b/64
2900-2(config-if)#
HTH
Regards
Inayath
04-02-2020 01:27 AM
The command sdm prefer dual-ipv4-and-ipv6 default is not supported by packet tracer.
04-15-2020 04:59 AM
update your 2960 to ios 15
go to conf t
sdm prefer ?
you should see now dual-ipva-and-ipv6 .....
select , use as default , reload
04-15-2020 10:10 AM
05-01-2020 10:28 PM
This command is not valide on packet tracer ( 7.3) for 2960 ????
@JeromeDUTEIS wrote:update your 2960 to ios 15
go to conf t
sdm prefer ?
you should see now dual-ipva-and-ipv6 .....
select , use as default , reload
05-01-2020 10:31 PM
I think is not passible on packet tracer be(7.3) because the ios is 12 and not 15 and in not possible to change.???
@jslaymon11 wrote:I'm new to cisco command language, so please be gentle. lol
As part of a class, in Packet Tracer, I have to configure a Cisco 2960 for ipV6. When I try to configure, I get the dreaded "Invalid input detected at '^' marker. My command string is below. From what I can tell my syntax is correct. Any help is appreciated.
s1#config t
s1(config)#interface vlan 1
s1(config)#ipv6 address 2001:db8:acad:1::b/64 (also tried s1(config)#ipv6 address 2001:db8:acad:1::b/64 eui 64)
% Invalid input detected at '^' marker.
I also tried
s1(config)#sdm prefer dual-ipv4-and-ipv6 default and get the same error message.
05-02-2020 02:07 AM
hello
you can update whtaever switch or router in Packet Tracer.
pick a switch and a PT server , in PT server go to tftp , you will find all iso versions that you can update
check this link also : http://network-activity.blogspot.com/2015/01/upgrading-to-ios15-on-2960-switch-in.html
i already upgraded 2960switch and 1941 router using this method
Take care !
05-05-2020 10:14 PM
Worked for me, thanks! Why doesn't cisco just update the switches with the current IOS version? IOS version 15.0 seems to have been out since 2013 so its not like they haven't had time to do so.
11-09-2020 07:13 PM
Worked like a charm. With the pandemic and no access to labs being able to use PT at home is a life saver.
Thanks!
05-03-2020 10:36 PM
I had the same issue. I went through the whole process of upgrading the IOS on the switch following the directions at http://network-activity.blogspot.com/2015/01/upgrading-to-ios15-on-2960-switch-in.html
It seemed to work. I was able to assign an IPv6 address to Vlan 1 and interface shows:
S1#show ipv6 interface vlan 1
Vlan1 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::B
No Virtual link-local address(es):
Global unicast address(es):
2001:DB8:ACAD:1::B, subnet is 2001:DB8:ACAD:1::/64
Joined group address(es):
FF02::1
FF02::1:FF00:B
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ICMP unreachables are sent
Output features: Check hwidb
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
I also made sure to use sdm prefer dual-ipv4-and-ipv6 default command as recommended in the lab. However when I try to ping the interface from the directly connected PC using that same IPv6 address, the ping fails. I don't know how to fix the problem. Everything is set up as directed in 7.2.5.4 lab.
01-16-2021 10:13 AM - edited 01-16-2021 10:45 AM
I followed all the steps outlined in that blog, but when trying to copy tftp flash, I'm getting a request timed out error. "Accessing tftp://192.168.0.254/c2960-lanbasek9-mz.150-2.SE4.bin........
%Error opening tftp://192.168.0.254/c2960-lanbasek9-mz.150-2.SE4.bin (Timed out)"
Double checked IP addresses, and the iso is showing in tftp list. What am I missing?
Edit: Found my error. I was missing adding the ip to vlan 1, shown in the first screenshot of cli.
01-16-2021 11:12 AM
Hello,
try and specify the TFTP source interface:
ip tftp source-interface
followed by the interface where the IP address is configured from which you can reach 192.168.0.254.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide