Cisco multilayer switch

From Ever changing code
Jump to navigation Jump to search

This is a switch that has router capability of forwarding L3 packets.


Basic configuration for L3 packet routing

#show sdm prefer          !display the current switch template
#conf t
S1(config)# sdm prefer lanbase-routing              !select template, The switch must be reloaded for the new template to take effect.
S1(config)# ip routing                              !enable IPv4 routing, it is enabled by default
S1(config)# ipv6 unicast-routing                    !enable IPv6 routing, disabled by default
S1(config)# do write memory
S1(config)# reload                                  !reboot the switch

once the switch rebooted you can set routing, eg static routes

S1(config)# ip route