cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
48527
Views
36
Helpful
14
Replies

Cannot configure ipv6 on 2960

jslaymon11
Level 1
Level 1

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.


					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
14 Replies 14

Reza Sharifi
Hall of Fame
Hall of Fame

It might be that the IOS you are running does not support IPv6.

Also, 2960 switches are mainly layer-2.

HTH

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

InayathUlla Sharieff
Cisco Employee
Cisco Employee

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

The command sdm prefer dual-ipv4-and-ipv6 default is not supported by packet tracer.

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

 

 

Thanks for the information. Apart from this, the command sdm prefer  is available on 3560 layer 3 switches.

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

 

 


 

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.

 

 

 

 

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 !

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.

Worked like a charm. With the pandemic and no access to labs being able to use PT at home is a life saver.

 

Thanks!

SPR1
Level 1
Level 1

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.

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. 

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.