To enter IP ACCESS LIST mode:
1.
Verify that you are logged in to CONFIGURATION mode.
2.
Use the
ip access-list standard
or
ip access-list extended
command. Include a name
for the ACL. The prompt changes to include (
conf-std-nacl
) or (
conf-ext-nacl
).
You can return to CONFIGURATION mode by using the
exit
command.
LINE Mode
To configure the console or virtual terminal parameters, use LINE mode.
To enter LINE mode:
1.
Verify that you are logged in to CONFIGURATION mode.
2.
Enter the
line
command. Include the keywords
console
or
vty
and their line number available on
the switch. The prompt changes to include (
config-line-console
) or (
config-line-vty
).
You can exit this mode by using the
exit
command.
MAC ACCESS LIST Mode
To enter MAC ACCESS LIST mode and configure either standard or extended access control lists (ACLs),
use the
mac access-list standard
or
mac access-list extended
command.
To enter MAC ACCESS LIST mode:
1.
Verify that you are logged in to CONFIGURATION mode.
2.
Use the
mac access-list standard
or
mac access-list extended
command. Include a
name for the ACL. The prompt changes to include (
conf-std-macl
) or (
conf-ext-macl
).
You can return to CONFIGURATION mode by using the
exit
command.
MULTIPLE SPANNING TREE Mode
To enable and configure the multiple spanning tree protocol (MSTP), use MULTIPLE SPANNING TREE
mode , as described in
Multiple Spanning Tree Protocol (MSTP)
.
To enter MULTIPLE SPANNING TREE mode:
1.
Verify that you are logged in to CONFIGURATION mode.
2.
Enter the
protocol spanning-tree mstp
command.
You can return to CONFIGURATION mode by using the
exit
command.
Per-VLAN SPANNING TREE (PVST+) Plus Mode
To enable and configure the Per-VLAN Spanning Tree (PVST+) protocol, use PVST+ mode. For more
information, refer to
Per-VLAN Spanning Tree Plus (PVST+)
.
NOTE: The protocol name is PVST+, but the plus sign is dropped at the CLI prompt.
To enter PVST+ mode:
1.
Verify that you are logged in to CONFIGURATION mode.
56
CLI Basics