CLI Guide

Table Of Contents
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.
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.
SPANNING TREE Mode
To enable and configure the Spanning Tree protocol, use SPANNING TREE mode. For more information, see Spanning Tree
Protocol (STP).
To enter SPANNING TREE mode:
1. Verify that you are logged in to CONFIGURATION mode.
2. Enter the protocol spanning-tree stp-id command. The prompt changes to include conf-stp.
You can return to CONFIGURATION mode by using the exit command.
SupportAssist Mode
To enable and configure the SupportAssist, use SupportAssist mode. For more information, see SupportAssist.
1. Verify that you are logged in to CONFIGURATION mode.
2. Enter the support-assist command. The prompt changes to include conf-supportassist.
You can return to CONFIGURATION mode by using the exit command.
TRACE-LIST Mode
To configure a Trace list, use TRACE-LIST mode.
To enter TRACE-LIST mode:
1. Verify that you are logged in to CONFIGURATION mode.
2. Enter the ip trace-list command, and the name of the Trace list. The prompt changes to include conf-trace-acl.
You can exit this mode by using the exit command.
54
CLI Basics