Dell PowerConnect 5548 User Guide - Page 395
Sample CLI Scripts, Table 10-6., Create a Global Macro Script, CLI Command, Description
View all Dell PowerConnect 5548 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 395 highlights
Table 10-5. Port Profiles CLI Commands (Continued) CLI Command Description show parser macro Displays the parameters for all [{brief|description [interface configured macros or for one [gigabitethernet|tengigabitetherne macro on the switch. t] port-number|name macro-name}] The following is an example of the CLI commands: Switch(config) # interface gi1/0/2 Switch(config-if) # macro trace dup Applying command... 'duplex full' Applying command... 'speed auto' Switch(config) # interface gi1/0/2 Switch(config-if) # macro apply duplex $DUPLEX full $SPEED auto Switch(config-if) # exit Switch(config) # interface gi1/0/3 Switch(config-if) # macro apply dup Switch(config-if) # exit Sample CLI Scripts This section provides sample scripts of CLI commands. These particular actions cannot be performed through the GUI, which only allows applying built-in macros. These scripts describe how to create macros, display them and apply them. The following is a script that creates a global macro. Table 10-6. Create a Global Macro Script CLI Command console#config console(config)# macro name interswitch Enter macro commands one per line. End with the character '@'. Description Create a macro called interswitch. Dell PowerConnect 55xx Systems User Guide 395