During my studies for my CCNP (BCMSN) I came across a macro that allowed me to configure the spanning-tree portfast, bpdu guard and something else on an interface in one hit.
For the life of me I cant find this macro anywhere. Does anyone know what it is?
One would think a time-saving macro would be easy to find but I've spent more time than it would've saved tryign to locate it! Very frustrating.
You probably speak about the 'switchport host" interface command.
It enables spanning-tree portfast, puts the interface in access mode and disables etherchanneling.