Re: Re: Macro for vlans

From: mab_bel@hotmail.com
Date: Sun Jul 27 2008 - 07:30:03 ART


Hi

What would be the correct syntax to create vlan names using a macro?
For instance, I have defined a Vlan 100 on a switch, and I need to generate a
name for this particular vlan in the form VLAN_100 using a macro.

I have tried this script, but it seems it does not work.

macro name VLAN_NAME
vlan $VLAN_ID
 name VLAN_$VLAN_ID
# macro keywords $VLAN_ID
 @

Thanks



This archive was generated by hypermail 2.1.4 : Mon Aug 04 2008 - 06:11:57 ART