Cisco Switch Documentation: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page includes links to relevant articles on this and other sites related to switches.
This page includes links to relevant articles on this and other sites related to switches.
=General Configuration=
* [[Cisco Switch License Featureset Configuration|IP services License Configuration]]


=Password Recovery=
=Password Recovery=
Line 8: Line 11:


=Configuration=
=Configuration=
==Enabling Dual Stack IPv4/IPv6==
Older Cisco switches may not ship with IPv6 enabled. Enabling IPv6 must be done at least once on each switch by changing the Switch Database Management (SDM) Template. Doing this will change the number of addresses the switch can hold in memory as memory will be divided into IPv4 and IPv6 ranges and IPv6 addresses require more memory to store.
* You can view the current SDM template and memory configuration using the '''show sdm prefer''' command.
** You can view how the memory allocation will change if you switch the SDM template with the '''show sdm prefer [default | dual-ipv4-and-ipv6 default | lanbase-routing | qos]''' command (specify the template you are considering changing to).
Changing the template to allow IPv4/IPv6 dual stack (requires switch be rebooted, save your config first!):
# switch# '''configure terminal'''
# switch(config)# '''sdm prefer dual-ipv4-and-ipv6 default'''
# switch(config)# '''end'''
# switch# '''reload'''
The change will be applied once the switch is rebooted.
==Clearing Configurations==
==Clearing Configurations==
* '''switch# erase startup-config''' This will delete startup configurations if they were saved.
* '''switch# erase startup-config''' This will delete startup configurations if they were saved.
* '''switch# delete flash:vlan.dat''' This deletes the vlan configuration.  
* '''switch# delete flash:vlan.dat''' This deletes the vlan configuration.  
* '''switch# reload''' This must be done last to reload the default configurations.
* '''switch# reload''' This must be done last to reload the default configurations.

Latest revision as of 21:43, 19 October 2021

This page includes links to relevant articles on this and other sites related to switches.

General Configuration

Password Recovery

Authentication

Configuration

Enabling Dual Stack IPv4/IPv6

Older Cisco switches may not ship with IPv6 enabled. Enabling IPv6 must be done at least once on each switch by changing the Switch Database Management (SDM) Template. Doing this will change the number of addresses the switch can hold in memory as memory will be divided into IPv4 and IPv6 ranges and IPv6 addresses require more memory to store.

  • You can view the current SDM template and memory configuration using the show sdm prefer command.
    • You can view how the memory allocation will change if you switch the SDM template with the show sdm prefer [default | dual-ipv4-and-ipv6 default | lanbase-routing | qos] command (specify the template you are considering changing to).

Changing the template to allow IPv4/IPv6 dual stack (requires switch be rebooted, save your config first!):

  1. switch# configure terminal
  2. switch(config)# sdm prefer dual-ipv4-and-ipv6 default
  3. switch(config)# end
  4. switch# reload

The change will be applied once the switch is rebooted.

Clearing Configurations

  • switch# erase startup-config This will delete startup configurations if they were saved.
  • switch# delete flash:vlan.dat This deletes the vlan configuration.
  • switch# reload This must be done last to reload the default configurations.