Enabling or disabling routing protocols

This section describes how to enable or disable routing protocols. For complete configuration information about the routing protocols, refer to the respective chapters in this guide.

The Layer 3 code supports the following protocols:

  • BGP4
  • IGMP
  • IP
  • IP multicast (PIM-SM, PIM-DM)
  • OSPF
  • PIM
  • RIPV1 and V2
  • VRRP
  • VRRP-E
  • VSRP
  • IPv6 Routing
  • IPv6 Multicast

IP routing is enabled by default on devices running Layer 3 code. All other protocols are disabled, so you must enable them to configure and use them.

To enable a protocol on a device running Layer 3 code, enter router at the global CONFIG level, followed by the protocol to be enabled. The following example shows how to enable OSPF.

device(config)#router ospf

Syntax: router bgp | igmp | ip | ospf | pim | rip | vrrp | vrrp-e | vsrp