Reference Guide

You can return to CONFIGURATION mode by using the exit command.
RAPID SPANNING TREE (RSTP) Mode
To enable and configure RSTP, use RSTP mode. For more information, refer to Rapid Spanning Tree Protocol (RSTP).
To enter RSTP mode:
1. Verify that you are logged in to CONFIGURATION mode.
2. Enter the protocol spanning-tree rstp command. The prompt changes to include (conf-rstp).
You can return to CONFIGURATION mode by using the exit command.
ROUTE-MAP Mode
To configure a route map, use ROUTE-MAP mode.
To enter ROUTE-MAP mode:
1. Verify that you are logged in to CONFIGURATION mode.
2. Use the route-map map-name [permit | deny] [sequence-number] command. The prompt changes to include
(config-route-map).
You can return to CONFIGURATION mode by using the exit command.
ROUTER BGP Mode
To enable and configure Border Gateway Protocol (BGP), use ROUTER BGP mode. For more information, refer to 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, 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. For more information, refer to 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.
CLI Basics
51