CLI Guide

Switch Management Commands 1931
Command Mode
Global Configuration mode
User Guidelines
The predefined macros are useful in globally configuring the switch or a
specific interface in the configuration context indicated. The macros contain
a short series of commands with suggested settings for the switch or interface
when used in a particular type of service.
Macros consist of text commands with one command per line. Enter the
commands and terminate macro input mode by entering a single at sign (@)
on a line by itself.
A macro may utilize up to 3 parameters. Parameters are text strings that begin
with a dollar sign ($). Parameters are substituted by specifying the parameter
on the command line when the macro is applied.
Macros may be applied to a specific interface, a range of interfaces, or to the
global configuration. Up to 50 user-defined macros may be configured.
interface profile-desktop Configure port security and
spanning-tree portfast for a desktop
user.
interface profile-phone Enable an interface for the Voice
VLAN service.
interface profile-switch Configure a trunk mode port for a
switch.
interface profile-router Configure a trunk mode port for a
router.
interface profile-wireless Configure a port for connection to a
wireless AP.
global profile-compellent-nas Configure a port for connection to a
Compellent NAS.
Macro Context Name Service