Cisco multilayer switch

From Ever changing code
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Configuration

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 0.0.0.0 0.0.0.0 192.168.1.10