
Dell PowerConnect 55xx Systems User Guide
403
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\Maintenance Projects\Dell
Contax\sources\CxUGSwitching_Ports.fm
D E L L CO N F I D E N T I A L – P R E L I MI N A RY 10 / 3 0 /1 3 - FO R PR O O F O N LY
The following is a script that creates an interface macro.
vlan database
vlan 40-50
@
Enter the commands in
the macro, which create
VLANs 40 through 50.
console(config)#
do show parser macro
name
interswitch
Display the macro.
console(config)#
macro global apply
interswitch
Apply the macro.
Table 10-7. Create an Interface Macro Script
CLI Command
Description
console#
config
console(config)#
interface range gi1/0/1-
24
Enter Interface mode
for ports 1-24 on unit 1.
console(config-if-range)#
macro name
access_port
Enter macro commands one per line. End
with the character '@'.
Create a macro called
access_port
.
disable spanning-tree
@
Enter the commands in
the macro, disables
spanning tree on the
interfaces.
console(config)#
do show parser macro
name
access_port
Display the macro.
console(config)#
macro global apply
access_port
Apply the macro to
ports 1-24 on unit 1.
Table 10-6. Create a Global Macro Script (Continued)
CLI Command
Description