How to Enable IPv6 Support on a Cisco Catalyst 3560 Switch?

Unlock Best Pricing with In-stock, Ready-to-Ship Products

Which ios will support IPv6 feature in WS-C3560G-48TS switch? I am having WS-C3560G-48TS switch with ios (c3560-ipbasek9-mz.122-58.E2.bin) and I am trying to use IPv6 feature in this switch model. More over I’ve upgraded this switch with many ios but none of them not supporting IPv6 feature. Could somebody please suggest me an ios which supports IPv6 feature?

How to enable ip v6 for 3750/3560 switch? We have 3750G and 3650G with IOS rel 12.2(50) SE3. According to Cisco document, these switches should support IP v4 and v6 dual-stack configuration (after 12.2SE). I have searched many Cisco IP v6 online help, but cannot figure out how to enable this feature. Such as, I tried to configure an interface with IP v6 addr, but it will not take “ip v6” or “ipv6”.

—Two questions from Cisco Support Community.

If you have tried configuring IPv6 on a Cisco 3560 switch, you may have noticed the ipv6 commands aren’t available by default. This often catches us when we are working on a new switch that has never had IPv6 enabled.

Here we listed a brief how-to with some background info thrown in by a typical Cisco 3560 user.

Where the IPv6 are Commands Hiding?

Cisco 3560 switches have a feature called Switch Database Management (SDM) templates. There are various templates that can modify the allocation of system resources to better support different features. What does this mean? By default, a small catalyst switch is built to support 8 routed interfaces and 1024 VLANs. It’s not generally used to route OSPFv3 and BGP (though, it can do that). So as a result, the system resources are evenly distributed among the various functions to accommodate a common set of tasks.

My guess is since IPv6 addresses take up more space than IPv4 addresses, they were excluded from the default template to maximize v4 space. However, I would imagine future IOS releases will enable IPv6 support by default as it becomes more prevalent.

You can see the current SDM settings with the show sdm prefer command:

S1#show sdm prefer

 The current template is “desktop default” template.

 The selected template optimizes the resources in

 the switch to support this level of features for

 8 routed interfaces and 1024 VLANs.

  number of unicast mac addresses:                  6K

  number of IPv4 IGMP groups + multicast routes:    1K

  number of IPv4 unicast routes:                    8K

    number of directly-connected IPv4 hosts:        6K

    number of indirect IPv4 routes:                 2K

  number of IPv4 policy based routing aces:         0

  number of IPv4/MAC qos aces:                      0.75K

  number of IPv4/MAC security aces:                 1K

To see the list of available SDM templates, go to config mode and type sdm prefer? You can see dual stack ipv4/ipv6 support is one of the templates.

S1(config)#sdm prefer ?

  access              Access bias

  default             Default bias

  dual-ipv4-and-ipv6  Support both IPv4 and IPv6

  ipe                 IPe bias

  routing             Unicast bias

  vlan                VLAN bias

So, if you try to configure an IPv6 address on an interface without enabling the correct SDM, you get nothing:

S1(config-if)#ipv6 ?

% Unrecognized command

How do I enable IPv6 support on a Cisco 3560 switch?

To enable IPv6 support on the Cisco 3560 switch, you simply change the SDM template and reload. Start by enabling the dual-ipv4-and-ipv6 template with one of three sub-options:

S1(config)#sdm prefer dual-ipv4-and-ipv6 ?

  default  Default bias

  routing  Unicast bias

  vlan     VLAN bias

As you can see, you can decide to give more resources to routing or more to vlans when enabling IPv6 support. Since I’m using this switch in a lab to practice IPv6 routing protocols, I’m going to select the routing bias.

S1(config)#sdm prefer dual-ipv4-and-ipv6 routing

Changes to the running SDM preferences have been stored, but cannot take effect

until the next reload.

Use ‘show sdm prefer’ to see what SDM preference is currently active.

After a reload, here’s the resulting template change:

S1#show sdm prefer

 The current template is “desktop IPv4 and IPv6 routing” template.

 The selected template optimizes the resources in

 the switch to support this level of features for

 8 routed interfaces and 1024 VLANs.

  number of unicast mac addresses:                  1.5K

  number of IPv4 IGMP groups + multicast routes:    1K

  number of IPv4 unicast routes:                    2.75K

    number of directly-connected IPv4 hosts:        1.5K

    number of indirect IPv4 routes:                 1.25K

  number of IPv6 multicast groups:                  1.125k

  number of directly-connected IPv6 addresses:      1.5K

  number of indirect IPv6 unicast routes:           1.25K

  number of IPv4 policy based routing aces:         0.25K

  number of IPv4/MAC qos aces:                      0.75K

  number of IPv4/MAC security aces:                 0.5K

  number of IPv6 policy based routing aces:         0.25K

  number of IPv6 qos aces:                          0.5K

  number of IPv6 security aces:                     0.5K

And now if you try to configure an IPv6 address on an interface, the command will show up:

S1(config-if)#ipv6 address ?

  WORD                General prefix name

  X:X:X:X::X          IPv6 link-local address

  X:X:X:X::X/<0-128>  IPv6 prefix

  autoconfig          Obtain address using autoconfiguration

S1(config-if)#ipv6 address dead:beef:cafe::1/64

Finally, don’t forget to enable IPv6 unicast-routing globally if you want IPv6 packets to be forwarded.

S1(config)#ipv6 unicast-routing

Note: All command line output is from a 3560 running 12.2(44) SE.

Link to Cisco.com Reference: https://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/relea…

More Related Tutorials:

How to Configure Private VLANs on Cisco 3560 Switches?

How to Configure Interfaces for the 3560 Switch?

How to Configure the Cisco Catalyst 3560 Series Switches?

How to Save/Keep the Cisco 3560 Switch Configuration?

Share This Post

Post Comment