Reference Guide

ROUTER BGP Mode
To enable and configure Border Gateway Protocol (BGP), use ROUTER BGP mode. For more information,
see Border Gateway Protocol IPv4 (BGPv4)
To enter ROUTER BGP mode:
1. Verify that you are logged in to CONFIGURATION mode.
2. Use the router bgp command then enter the AS number. The prompt changes to include (conf-
router_bgp).
You can return to CONFIGURATION mode by using the exit command.
ROUTER OSPF Mode
To configure OSPF, use ROUTER OSPF mode. For more information, see Open Shortest Path First
(OSPFv2).
To enter ROUTER OSPF mode:
1. Verify that you are logged in to CONFIGURATION mode.
2. Enter the router ospf {process-id} command. The prompt changes to include (conf-
router_ospf-id).
You can switch to INTERFACE mode by using the interface command or you can switch to ROUTER
RIP mode by using the
router rip command.
ROUTER OSPFV3 Mode
To configure OSPF for IPv6, use ROUTER OSPFV3 mode. For more information, see Open Shortest Path
First (OSPFv2 and OSPFv3).
To enter ROUTER OSPFV3 mode:
1. Verify that you are logged in to CONFIGURATION mode.
2. Enter the ipv6 router ospf {process-id} command. The prompt changes to include (conf-
ipv6-router_ospf).
You can return to CONFIGURATION mode by using the exit command.
ROUTER RIP Mode
To enable and configure Router Information Protocol (RIP), use ROUTER RIP mode. For more
information, see Routing Information Protocol (RIP).
To enter ROUTER RIP mode:
1. Verify that you are logged in to CONFIGURATION mode.
2. Enter the router rip command. The prompt changes to include (conf-router_rip).
You can return to CONFIGURATION mode by using the exit command.
62
CLI Basics