CLI Macro Commands
1305
63
CLI Macro Commands
CLI Macros provides a convenient way to save and distribute common
configurations. A CLI macro is a set of the CLI commands having a unique
name. When a CLI macro is applied, the CLI commands contained within
the macro are executed and added to the Running Configuration File. When
the macro is applied to an interface, the existing configuration is not lost; the
new commands are added configuration.
A CLI Macro may have keywords (variables) which are replaced by values
provided when the macro is applied (up to 3 keywords per macro). Macros can
be applied to specific interfaces, a range of interfaces, or the global
configuration.
There are two types of Macros:
• Built-In Macros, or Default Macros – the predefined macros which cannot
be changed or deleted.
• User-Defined Macros, or Custom Macros – the macros which allow the
operator to bundle some pre-requisites or global configurations as a macro
and then apply them to one or more interfaces at a time, which can then
be copied or used by other switches. Up to 50 user-defined macros are
supported.
The software includes 6 built-in macros:
• profile-global, the global configuration, used to enable RSTP and loop
guard.
• profile-desktop, the interface configuration, for increased network security
and reliability when connecting a desktop device, such as a PC, to a switch
port.
• profile-phone, the interface configuration, used when connecting a
desktop device such as a PC with an IP Phone to a switch port.
• profile-switch, the interface configuration, used when connecting an
access switch and a distribution switch or between access switches.
• profile-router, the interface configuration, used when connecting the
switch and a WAN router.
2CSPC4.XModular-SWUM200.book Page 1305 Thursday, March 10, 2011 11:18 AM
Summary of Contents for PowerEdge M420
Page 161: ...Command Groups 161 ...
Page 162: ...162 Command Groups ...
Page 216: ...216 Layer 2 Commands ...
Page 290: ...290 Auto VoIP Commands ...
Page 310: ...310 Data Center Bridging Commands ...
Page 316: ...316 DHCP Layer 2 Relay Commands Example console config dhcp l2relay vlan 10 340 345 ...
Page 324: ...324 DHCP Management Interface Commands ...
Page 340: ...340 DHCP Snooping Commands ...
Page 354: ...354 Dynamic ARP Inspection Commands ...
Page 405: ...Ethernet Configuration Commands 405 Name test ...
Page 406: ...406 Ethernet Configuration Commands ...
Page 426: ...426 Ethernet CFM Commands ...
Page 486: ...486 IPv6 Access List Commands ...
Page 497: ...IPv6 MLD Snooping Commands 497 Vlan Ipv6 Address Ports ...
Page 498: ...498 IPv6 MLD Snooping Commands ...
Page 512: ...512 IP Source Guard Commands ...
Page 524: ...524 iSCSI Optimization Commands ...
Page 532: ...532 Link Dependency Commands ...
Page 572: ...572 Port Aggregator Commands ...
Page 756: ...756 VLAN Commands ...
Page 762: ...762 Voice VLAN Commands ...
Page 796: ...796 802 1x Commands ...
Page 798: ...798 Layer 3 Commands ...
Page 842: ...842 DHCP Server and Relay Agent Commands ...
Page 868: ...868 DVMRP Commands ...
Page 888: ...888 IGMP Commands ...
Page 896: ...896 IGMP Proxy Commands ...
Page 938: ...938 IP Routing Commands ...
Page 1012: ...1012 IPv6 Routing Commands ...
Page 1016: ...1016 Loopback Interface Commands ...
Page 1048: ...1048 Multicast Commands ...
Page 1064: ...1064 IPv6 Multicast Commands RP Address 3001 1 origin BSR ...
Page 1142: ...1142 OSPF Commands ...
Page 1202: ...1202 OSPFv3 Commands ...
Page 1212: ...1212 Router Discovery Protocol Commands ...
Page 1228: ...1228 Routing Information Protocol Commands ...
Page 1260: ...1260 Virtual Router Redundancy Protocol Commands ...
Page 1262: ...1260 Utility Commands ...
Page 1272: ...1270 Auto Install Commands ...
Page 1306: ...1304 Captive Portal Commands ...
Page 1316: ...1314 CLI Macro Commands ...
Page 1334: ...1332 Clock Commands ...
Page 1340: ...1338 Command Line Configuration Scripting Commands ...
Page 1362: ...1360 Configuration and Image File Commands ...
Page 1363: ...Configuration and Image File Commands 1361 ...
Page 1364: ...1362 Configuration and Image File Commands ...
Page 1412: ...1408 Password Management Commands ...
Page 1436: ...1432 RMON Commands ...
Page 1476: ...1472 Sflow Commands ...
Page 1536: ...1532 Syslog Commands ...
Page 1602: ...1598 Telnet Server Commands ...
Page 1604: ...1600 Terminal Length Commands ...
Page 1618: ...1614 User Interface Commands ...
Page 1638: ...1634 Web Server Commands ...
Page 1680: ...1676 Appendix A List of Commands ...
Page 1681: ......
Page 1682: ...www dell com support dell com Printed in the U S A ...