Command Modes
To navigate and launch various CLI modes, use specific commands. Navigation to these modes is described in the following sections.
BGP ADDRESS-FAMILY Mode
To enable or configure IPv4 for BGP, use BGP ADDRESS-FAMILY mode. For more information, see
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 configure a class map, use CLASS-MAP mode. For more information, see
.
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
.
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