Macro Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 810
38
switchxxxxxx(config-if)#
exit
switchxxxxxx(config)#
interface gi13
switchxxxxxx(config-if)#
macro apply duplex $DUPLEX full $SPEED 100
switchxxxxxx(config-if)#
macro description dup
switchxxxxxx(config-if)#
macro description duplex
switchxxxxxx(config-if)#
end
switchxxxxxx(config)#
exit
switchxxxxxx#
show parser macro description
Global Macro(s):
Interface Macro Description(s)
------------ --------------------------------------------------
gi12 dup
gi13 duplex | dup | duplex
--------------------------------------------------------------
switchxxxxxx#
configure
switchxxxxxx(config)#
interface gi12
switchxxxxxx(config-if)#
no macro description
switchxxxxxx(config-if)#
end
switchxxxxxx(config)#
exit
switchxxxxxx#
show parser macro description
Global Macro(s):
Interface Macro Description(s)
--------- -----------------------------------------------------
gi13 duplex | dup | duplex
--------------------------------------------------------------
38.4 macro global
Use the macro global Global Configuration command to apply a macro to a switch
(with or without the trace option).