Every layer 3 command should go under the virtual interface where the IP address of the vlan is configured. So your second option should work just fine
Regards
Sent from my BlackBerry wireless device from MTN
-----Original Message-----
From: CCIE KID <eliteccie_at_gmail.com>
Sender: nobody_at_groupstudy.com
Date: Sun, 19 Sep 2010 18:04:23
To: Cisco certification<ccielab_at_groupstudy.com>
Reply-To: CCIE KID <eliteccie_at_gmail.com>
Subject: Switching query
Hey i am using 4 vlans in a switch namely vlan 10 ,vlan 20 ,vlan 30,vlan 40
and vlan 50
I am assigning vlan 10 to switch port fa 0/1
vlan 20 to fa 0/2
vlan 30 to fa 0/3
vlan 40 to fa 0/4
vlan 50 to fa 0/5
when i am configuring anything for a particular vlan can we use interface
vlan command or else inteface fa command
For example i want to configure ospf authentication for vlan 20 means we
have to go on interface vlan 20 or else int fa 0/2
int fa 0/2
ip ospf authentication message-digest
ip ospf mesaage-digest-key 1 md5 cisco
or else
int vlan 20
ip ospf authentication message-digest
ip ospf mesaage-digest-key 1 md5 cisco
Confusion between interface vlan and int fa commands
pls clear my head???
-- With Warmest Regards, CCIE KID IN PURSUIT OF CCIE Blogs and organic groups at http://www.ccie.netReceived on Sun Sep 19 2010 - 12:47:20 ART
This archive was generated by hypermail 2.2.0 : Fri Oct 01 2010 - 05:58:05 ART