Reference Guide
Configuration Fundamentals | 35
The following example illustrates how to change the command mode from CONFIGURATION mode to
PROTOCOL SPANNING TREE.
FTOS(conf)#protocol spanning-tree 0
FTOS(config-span)#
The do Command
Enter an EXEC mode command from any CONFIGURATION mode (CONFIGURATION, INTERFACE,
SPANNING TREE, etc.) without returning to EXEC mode by preceding the EXEC mode command with
the command
do. The following example illustrates the do command.
FTOS(conf)#do show linecard all
-- Line cards --
Slot Status NxtBoot ReqTyp CurTyp Version Ports
---------------------------------------------------------------------------
0 not present
1 not present
2 online online E48TB E48TB 1-1-463 48
3 not present
MULTIPLE
SPANNING TREE
FTOS(config-mstp)#
protocol spanning-tree mstp
Per-VLAN SPANNING
TREE Plus
FTOS(config-pvst)#
protocol spanning-tree pvst
PREFIX-LIST
FTOS(conf-nprefixl)#
ip prefix-list
RAPID SPANNING
TREE
FTOS(config-rstp)#
protocol spanning-tree rstp
REDIRECT
FTOS(conf-redirect-list)#
ip redirect-list
ROUTE-MAP
FTOS(config-route-map)#
route-map
ROUTER BGP
FTOS(conf-router_bgp)#
router bgp
ROUTER ISIS
FTOS(conf-router_isis)#
router isis
ROUTER OSPF
FTOS(conf-router_ospf)#
router ospf
ROUTER RIP
FTOS(conf-router_rip)#
router rip
SPANNING TREE
FTOS(config-span)#
protocol spanning-tree 0
TRACE-LIST
FTOS(conf-trace-acl)#
ip trace-list
Note: The following commands cannot be modified by the do command: enable, disable, exit, and configure.
Table 2-2. FTOS Command Modes
CLI Command Mode Prompt
Access Command










