need explanation on VLAN implememtationusing MACRO

From: abdul muhammed (abdulmuri@gmail.com)
Date: Sat Jan 19 2008 - 09:38:47 ARST


hi,

in VLAN implementation using Macro as below

macro name aaa
switchport mode access
switchport access vlan $vlan
spanning-tree portfast
@

int fa0/2
macro apply aaa

my question is
1. how will the interface fa0/2 know the vlan to which it should be
assigned.

i need an explanation

thanks

-- 
Abdul Muhammed Murtala
AMerican University of Nigeria
Lamido Zubairu way, Yola
Adamawa
+2348052001153, +2348056201237

Network Manager MCSE,MCDBA,MCSA,OCPDBA,CCNA,CCIE Written.



This archive was generated by hypermail 2.1.4 : Fri Feb 01 2008 - 10:38:00 ARST