CLI Guide

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 configure 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 configure
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 traffic, 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.
DHCP Mode
To enable and configure Dynamic Host Configuration Protocol (DHCP), use DHCP mode. For more
information, see Dynamic Host Configuration Protocol (DHCP).
To enter DHCP mode:
1. Verify that you are logged in to CONFIGURATION mode.
2. Enter the ip dhcp server command. The prompt changes to include (config-dhcp).
You can return to CONFIGURATION mode by using the exit command.
52
CLI Basics