CLI Macro Commands
1397
62
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.X7000-SWUM204.book Page 1397 Friday, March 15, 2013 8:22 AM
Summary of Contents for Networking 7048
Page 76: ...Contents 76 ...
Page 168: ...Command Groups 168 ...
Page 242: ...Using the CLI 242 ...
Page 244: ...244 Layer 2 Switching Commands ...
Page 278: ...278 AAA Commands ...
Page 287: ...Administrative Profiles Commands 287 global config ethernet config port channel config ...
Page 288: ...288 Administrative Profiles Commands ...
Page 326: ...326 Address Table Commands Maximum addresses 100 Learned addresses ...
Page 332: ...332 Auto VoIP Commands ...
Page 366: ...366 DHCP Management Interface Commands ...
Page 464: ...464 Ethernet CFM Commands ...
Page 478: ...478 Green Ethernet Commands ...
Page 502: ...502 IGMP Snooping Commands ...
Page 542: ...542 IPv6 Access List Commands ...
Page 554: ...554 IPv6 MLD Snooping Commands ...
Page 568: ...568 IP Source Guard Commands ...
Page 580: ...580 iSCSI Optimization Commands ...
Page 588: ...588 Link Dependency Commands ...
Page 616: ...616 LLDP Commands ...
Page 652: ...652 Port Channel Commands ...
Page 752: ...752 RADIUS Commands ...
Page 784: ...784 Spanning Tree Commands ...
Page 850: ...850 VLAN Commands ...
Page 856: ...856 Voice VLAN Commands ...
Page 890: ...890 Layer 3 Commands ...
Page 934: ...934 DHCP Server and Relay Agent Commands ...
Page 960: ...960 DVMRP Commands ...
Page 980: ...980 IGMP Commands ...
Page 988: ...988 IGMP Proxy Commands ...
Page 1036: ...1036 IP Routing Commands ...
Page 1109: ...IPv6 Routing Commands 1109 Tracing route over a maximum of 20 hops 1 N N N ...
Page 1110: ...1110 IPv6 Routing Commands ...
Page 1114: ...1114 Loopback Interface Commands ...
Page 1144: ...1144 Multicast Commands ...
Page 1296: ...1296 OSPFv3 Commands ...
Page 1306: ...1306 Router Discovery Protocol Commands ...
Page 1322: ...1322 Routing Information Protocol Commands console config router split horizon none ...
Page 1328: ...1328 Tunnel Interface Commands ...
Page 1354: ...1354 Utility Commands ...
Page 1364: ...1364 Auto Install Commands ...
Page 1406: ...1406 CLI Macro Commands ...
Page 1424: ...1424 Clock Commands ...
Page 1430: ...1430 Command Line Configuration Scripting Commands ...
Page 1451: ...Configuration and Image File Commands 1451 console ...
Page 1452: ...1452 Configuration and Image File Commands ...
Page 1482: ...1482 Mode Commands ...
Page 1518: ...1518 Power Over Ethernet Commands ...
Page 1576: ...1576 Sflow Commands ...
Page 1604: ...1604 SNMP Commands ...
Page 1618: ...1618 SSH Commands ...
Page 1640: ...1640 Syslog Commands ...
Page 1708: ...1708 System Management Commands 5 ...
Page 1716: ...1716 Terminal Length Commands ...
Page 1786: ...1786 Appendix A List of Commands ...
Page 1787: ...www dell com support dell com Printed in the U S A ...
Page 1788: ......