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 ISIS Mode
To enable and configure Intermediate System to Intermediate System (ISIS), use ROUTER ISIS mode. For
more information, refer to Intermediate System to Intermediate System (IS-IS).
To enter ROUTER ISIS mode:
1. Verify that you are logged in to CONFIGURATION mode.
2. Use the router isis command. The prompt changes to include (conf-router_isis).
You can return to CONFIGURATION mode by using the exit command.
ROUTER OSPF Mode
To configure OSPF, use ROUTER OSPF mode. For more information, refer to 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.
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, refer to 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.
56 CLI Basics