Interface range macro.
With this macro, you can group several interfaces together and address them by a significant name,very useful for script.
example:
define interface-range WANPORT FastEthernet0/1, FastEthernet0/5
define interface-range USERLANPORTS FastEthernet0/6 - 23
Usage:
switch#conf t
switch(config)#interface range macro USERLANPORTS
switch(config-if-range)#switchport access vlan 345
switch(config-if-range)#no shutdown
switch(config-if-range)#description User-Ports
switch(config-if-range)#end
switch#
No comments:
Post a Comment