Unsolved

This post is more than 5 years old

8 Posts

32096

July 1st, 2013 06:00

vlan setup in 6224F

am totally new to setting up vlan.

 

have the below info but am not sure how to configure. kindly advise.

 

Management interface:

IP: 192.168.50.13

Subnet: 255.255.255.0

Default GW: 192.168.50.2

Management VLAN ID: 201

------------------------------------------------------------------------------------

VLAN-201 : port 1-12

VLAN-301: port 13-18

VLAN-302: port 19-24

------------------------------------------------------------------------------------

route table

network address | subnet | protocol | next hop interface | next hop IP

10.0.0.0 | 255.0.0.0 | static | vlan301 | 172.31.51.20

172.31.50.0 | 255.0.0.0 | static | vlan302 | 172.31.50.10

172.31.51.0 | 255.0.0.0 | static | vlan301 | 172.31.51.10

802 Posts

July 1st, 2013 11:00

You can use the initial startup wizard to set the switch IP default gateway etc.

Then from the command line you can run these commands to set up different VLANs

console> enable

console# config

console(config)# vlan database

console(config-vlan)# vlan 201

console(config-vlan)# exit

console(config)# interface vlan 201

console(config-if)# name Marketing

console(config-if)# ip address xxx.xxx.xxx.xxx 255.0.0.0

console(config-if)# end

console# show vlan

console# config

console(config)#interface range ethernet 1/g1-1/g12

console(config-if)# switchport mode access

console(config-if)# switchport access vlan 201

console(config-if)#exit

console(config)# ip routing

8 Posts

July 2nd, 2013 08:00

hi, may i know what's after the command:

console(config)# ip routing 

802 Posts

July 2nd, 2013 10:00

That command enables routing globally.  You can go into each vlan interface and enable routing there as well.  Although, it is often not necessary.

console(config)# interface vlan 201

console(config-if)# routing

Then you can set up static routes for your routing table.

ip route ip addr {subnetmask | prefix length} nextHopRtr [preference]

no ip route ip addr {subnetmask | prefix length} nextHopRtr [preference]

The following example identifies the ip-address subnet-mask, next-hop-ip

and a preference value of 200.

console(config)#ip route 192.168.10.10 255.255.255.0 192.168.20.1

Here is a link to the CLI User Guide:

ftp.dell.com/.../powerconnect-6248_Reference%20Guide_en-us.pdf

8 Posts

July 2nd, 2013 22:00

the route table info i have:

network address | subnet | protocol | next hop interface | next hop IP

10.0.0.0 | 255.0.0.0 | static | vlan301 | 172.31.51.20

172.31.50.0 | 255.0.0.0 | static | vlan302 | 172.31.50.10

172.31.51.0 | 255.0.0.0 | static | vlan301 | 172.31.51.10

-----------------------------------------------------------------------------------------------

the command to use:

ip route ip addr {subnetmask | prefix length} nextHopRtr [preference]

no ip route ip addr {subnetmask | prefix length} nextHopRtr [preference]

console(config)#ip route 192.168.10.10 255.255.255.0 192.168.20.1

-----------------------------------------------------------------------------------------------

Error encountered:

DNP-SW_main(config)#ip route 172.31.51.0 255.0.0.0 172.31.51.10

The specified Static Route Address is invalid.

8 Posts

July 3rd, 2013 11:00

is there any advice for the mentioned error?

802 Posts

July 3rd, 2013 11:00

When routing between networks you provide a network and then the next hop is on a connected router that has a different subnet (network).  You statement is sending a network to a next hop in the same network.

You will not need a static route on a directly connected network.

8 Posts

July 4th, 2013 05:00

hi,

therefore i only need to set

10.0.0.0 | 255.0.0.0 | static | vlan301 | 172.31.51.20

into the route table?

8 Posts

July 5th, 2013 00:00

hi, pls advise..

802 Posts

July 5th, 2013 08:00

You may want to take a look at this page we have set up in the forum.  It describes several scenarios where you can connect switches.  

en.community.dell.com/.../19506015.aspx

With the information provided it is difficult to say what static route is actually needed in your environment.  You may only need a default static route pointing all networks out a certain path.

console(config)#ip route 0.0.0.0 0.0.0.0 x.x.x.x

where the x.x.x.x represents the ip of the connecting layer 3 port on the connecting switch/router.

Can you reply back with the current running configuration off your switch?  A diagram of your network devices would be very helpful.

8 Posts

July 7th, 2013 23:00

may i know how to change the default management VLAN ID 1 to VLAN 201?

8 Posts

July 8th, 2013 01:00

basically all solved, i would like to know the command for enabling telnet server on 6224F...currently SSH has been enabled.

802 Posts

July 9th, 2013 10:00

Glad to hear you have the switch running as you would like.  Telnet server is enabled by default on the switch.  As long as you have a user name password set up on the switch you should then be able to reach the management IP thru telnet as long as your connecting PC IP address is in the same range as the management IP of the switch.

Page 1331 discusses the available telnet commands on the switch.

ftp.dell.com/.../powerconnect-6248_Reference%20Guide_en-us.pdf

0 events found

No Events found!

Top