- Switch(config)# ip routing
- Switch(config)# router ospf 99
- Switch(config-router)# network 10.0.2.0 0.0.0.63 area 99
Out of the box, the L3 switch does not perform any IP routing tasks. In order to enable this function, 'ip routing' must be entered in global configuration mode on the L3 switches I have used. With the 'ip routing' command entered, the switch can take advantage of RIP, OSPF and EIGRP routing protocols. As above, OSPF was the preferred routing protocol to be used in the topology. As such, the command 'router ospf 99' was entered in order to create an instance of OSPF with the process ID '99', under the global configuration mode. After the command is entered, the routing protocol sub-interface is opened to configuration on the process-id entered in the 'router ospf 99' command. In this sub-interface, networks available to the switch being configured, can be enabled to use the routing protocol process currently running. The network address and mask subnet mask have been used in order to route all information inward and outward using any network in that address space (which works out to be all networks between 10.0.2.0 through to 10.0.2.56). The selected 'area 99' was used as it differs from the standard 'area 1' used.
0 comments:
Post a Comment