Administrator Guide

Command Modes
To navigate and launch various CLI modes, use specic commands. Navigation to these modes is described in the following sections.
BGP ADDRESS-FAMILY Mode
To enable or congure IPv4 for BGP, use BGP ADDRESS-FAMILY mode. For more information, see Border Gateway Protocol IPv4
(BGPv4).
To enter BGP ADDRESS-FAMILY mode:
1 Verify that you are logged in to ROUTER BGP mode.
2 Enter the address-family command.
3 Enter the protocol type:
For IPv4, enter the ipv4 multicast command. The prompt changes to include conf-router_bgp_af for IPv4.
CLASS-MAP Mode
To create or congure a class map, use CLASS-MAP mode. For more information, see Policy-Based QoS Commands.
To enter CLASS-MAP mode:
1 Verify that you are logged in to CONFIGURATION mode.
2 Enter the class-map command, and then enter the class map name. The prompt changes to include config-class-map.
You can return to CONFIGURATION mode by using the exit command.
CONFIGURATION Mode
In EXEC Privilege mode, use the configure command to enter CONFIGURATION mode and congure routing protocols and access
interfaces.
To enter CONFIGURATION mode:
1 Verify that you are logged in to EXEC Privilege mode.
2 Enter the configure command. The prompt changes to include conf.
From this mode, you can enter INTERFACE mode by using the interface command.
CONTROL-PLANE Mode
To manage control-plane trac, use CONTROL-PLANE mode. For more information, see Control Plane Policing (CoPP).
To enter CONTROL-PLANE mode:
1 Verify that you are logged in to CONFIGURATION mode.
2 Enter the control-plane-cpuqos command. The prompt changes to include conf-control-cpuqos.
You can return to CONFIGURATION mode by using the exit command.
48
CLI Basics