Managed Switch CLI Manual, Release 8.0.3
Using the Command-Line Interface
1-8
v1.0, July 2010
Line Config
From the Global Config mode,
enter
lineconfig
.
To exit to the Global Config mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
Policy-Map
Config
From the Global Config mode,
enter
policy-map <name> in
.
To exit to the Global Config mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
Policy-Class-Map
Config
From the Policy Map mode enter
class
.
To exit to the Policy Map mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
Class-Map
Config
From the Global Config mode,
enter
class-map
, and specify the
optional keyword
ipv4
to specify
the Layer 3 protocol for this class.
See
“class-map” on page 8-10
for
more information.
To exit to the Global Config mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
Ipv6-Class-Map
Config
From the Global Config mode,
enter
class-map
and specify the
optional keyword
ipv6
to specify
the Layer 3 protocol for this class.
See
“class-map” on page 8-10
for
more information.
To exit to the Global Config mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
Router OSPF
Config
From the Global Config mode,
enter
router ospf
.
To exit to the Global Config mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
Router OSPFv3
Config
From the Global Config mode,
enter
ipv6 router ospf
.
To exit to the Global Config mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
Router RIP
Config
From the Global Config mode,
enter
router rip
.
To exit to the Global Config mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
Router BGP
Config
From the Global Config mode,
enter
router bgp <asnumber>
.
To exit to the Global Config mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
MAC Access-list
Config
From the Global Config mode,
enter
mac access-list extended
<name>
.
To exit to the Global Config mode, enter
exit
. To
return to the Privileged EXEC mode, enter
Ctrl-
Z
.
Table 6. CLI Mode Access and Exit (continued)
Command Mode
Access Method
Exit or Access Previous Mode