PDA

View Full Version : VPN for a Newbie


rao_jags
09-18-2006, 07:02 AM
Hi,

I have a Cisco Catalyst 2900 Series XL. My network is as follows :
Gateway-->Catalyst Switch -->LAN. The switch is configured for the default VLAN. I am new to VLAN. How do I add another VLAN. Please help me.

Thanks in advance

Regards

Jagdish

Pentium100
09-18-2006, 09:13 AM
VLAN or VPN?

Erik
09-18-2006, 09:19 AM
VLANs are created in VLAN database mode. You can just do vlan database form privileged exec mode.

You could also create on by going vlan # from global configuration mode.

It depends a bit on what IOS you are running, but for 2900XL you probably are safest with vlan database method. Just remember to type exit to save changes when done.

VPN can't be done on a switch.

juniper
09-18-2006, 09:20 AM
switch doesnt do VPN.



vlan database
vlan # name test
exit
sh vlan

add it to a port..

config t
int f0/2
switchport access vlan 2
cntrl+Z

wr mem

To delete it...

vlan database
no vlan #
exit


sh vlan bri

(remember VLAN database is NOT cleared with write erase it is its own database)


You could also create on by going vlan # from global configuration mode.


config t
int vlan 2
ip address x.x.x.x x.x.x.x
no shut
exit
(still in config mode)

vlan 2
name givename
exit
exit
(now out of config mode)

sh vlan bri

used on layer 3 switches (3550, 3750, 4000 etc)

########################################
CatOS

set vlan 2

set vlan 2 f0/2

remove.....

clear vlan 2

sh vlan
sh config
(no need to save on CatOS automagic (1900, 2948, 4000, 5000)