Interface macro command on a Cisco switch

From the beginning let me tell you that I don’t see very useful this command, as I prefer to use “interface range…” syntax, but since I saw it as a requirement in one of the task for CCIE RS lab exam, and maybe somebody will find it usable in real environment, I said I should put it here in a tutorial.

As many of you already know, you can control a range of interfaces by typing the command “interface range Fa0/1 – 6” (for example), but there is another way to do this by using the interface macro style. For those how are beginners, this interface range or macro syntax spare you from typing 6 commands under 6 interfaces (stick to the example above), but issue only one command under interface range or macro.

Please see the tutorial below:

Dynamips: How to save vlans after switch reload

Most of you already know that in Dynamips after a reload of a switch all the vlans and vtp configurations are gone. There is a way how to save the vlan and vtp configuration even in case of a reload of the switch and I will show you below how to do it. For switch emulator I used a Cisco 3640 IOS image with a NM-16ESW module to have Layer 2 port on the device.

Click below to see the movie and explanation:

How to save vlans after switch reload
How to save vlans after switch reload