Cisco Cisco SG300-28 28-Port Gigabit Managed Switch Technical References

Page of 1117
Macro Commands
OL-32830-01 Command Line Interface Reference Guide
692
32
 
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
32.4 macro global
Use the macro global Global Configuration command to apply a macro to a switch 
(with or without the trace option).
Syntax
macro global {apply | trace}
 macro-name 
[
parameter-name1 value
[
parameter-name2 value
]
 [parameter -name3 value