Administrator Guide

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 command or the 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.
MONITOR SESSION Mode
To enable and configure a traffic monitoring session using port monitoring, use MONITOR SESSION mode. For more information, see Port
Monitoring.
To enter MONITOR SESSION mode:
1. Verify that you are logged in to CONFIGURATION mode.
2. Enter the monitor session command, and then the session ID. The prompt changes to include conf-mon-sess-sessionID.
MULTIPLE SPANNING TREE (MSTP) Mode
To enable and configure MSTP, use MULTIPLE SPANNING TREE mode. For more information, see 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. The prompt changes to include conf-mstp.
You can return to CONFIGURATION mode by using the exit command.
OPENFLOW INSTANCE Mode
To enable and configure OpenFlow instances, use OPENFLOW INSTANCE mode.
To enter OPENFLOW INSTANCE mode:
1. Verify that you are logged in to CONFIGURATION mode.
2. Enter the openflow of-instance command, and then the OpenFlow ID number of the instance you want to create or configure.
The prompt changes to include conf-of-instance of-id.
You can return to the CONFIGURATION mode by entering 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, see Per-VLAN
Spanning Tree Plus (PVST+).
NOTE:
The protocol name is PVST+, but the plus sign is dropped at the CLI prompt.
50 CLI Basics