cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
945
Views
0
Helpful
8
Replies

Migration from Cat 4006 to Cat 4500

reagentom
Level 1
Level 1

Hi guys

I have cat 4006 switch in working as core switch with WS4232 routing module. it has a HW failuer and cousing a lot of proplems so I am going to replace it with Cat 4506 Core.

currently my config as the following

- 4 Network segments (4 Vlans), each one is trunked to Gb interface on the routing blade for intervlan routing.

- static route is there as last resort route

- some ACLs are applied between interfaces.

I want to know what is the best configuration to apply it in the new L3 core 4500. and how to create Vlans and handle the intervlan routing since there is no trunking and router interfaces cuz this is my first time to work on L3 switch.

1 Accepted Solution

Accepted Solutions

Hi Friend,

You can use range command to do it in one shot so try something like this

cat4500_switch(config)#interface range gig2/3 - 30

cat4500_switch(config-if-range)#switchport access vlan 2

HTH

Ankur

*Pls rate all helpfull post

View solution in original post

8 Replies 8

ankbhasi
Cisco Employee
Cisco Employee

Hi Friend,

If you have sup2+,3,4,5 in your chassis then you can configure intervlan routing on your sup itself and you do not need a seperate routing engine blade.

You can create vlan going to config mode

4500_Switch(config)#vlan

Follow this steo for all your 4 vlans

Then configure layer 3 interface for all your 4 vlans and assign them an ip address

4500_Switch(config)#interface vlan

4500_Switch(config-if)#ip address x.x.x.x x.x.x.x

Once done you have to assign this ip address to all the machines which belongs to this particular vlan.

Also "ip routing" is enabled by default but incase if it is not enabled issue this command

4500_Switch(config)#ip routing

And you will be good to go with your routing between vlans.

HTH

Ankur

*Pls rate all helpfull post

Hi Ankur,

how r u doing, thanks for helpful comment. one more question. how I can add ports to Vlans ?

do I need to configure trunk ports like what I have in current switch ??

one more question ankur .. is it possible to enable DHCP server on 4500 switch( switch will be working as DHCP server) with different scope for each interface ??

Hi Friend,

No you do not need to configure trunk port to add vlan to port.

You have to configure somehting like this

4500_Switch(config)#interface gig2/1

4500_Switch(config-if)#switchport

4500_Switch(config-if)#switchport mode access

4500_Switch(config-if)#switchport access vlan

These commands will add a port into particular vlan which you want and then you can attach your machine on this port.

If you want to connect this switch to some other switch and want to allow all vlans to pass through this switch to another switch then you have to configure trunk port between 2 switches.

4500_Switch(config-if)#switchport

4500_Switch(config-if)#switchport trunk encapsulation dot1q

4500_Switch(config-if)#switchport mode trunk

These command will form a trunk on that port and allow all vlans.

HTH

Ankur

*Pls rate all helpfull post

I got it Ankur :)

but small duets.. if I want add group of ports to vlan like adding ports 2/3-30 to vlan 2 so what I have to do in this case ?? is it one time command or I have to add it one by one !!

Hi Friend,

Yes it is very well possible

cat4500_Switch(config)#ip dhcp pool

cat4500_Switch(dhcp-config)#network x.x.x.x

cat4500_Switch(dhcp-config)#default-router x.x.x.x

Default router address should be the address which you want as gateway address for your clients.

If you want to exclude some adress form your network list from this pool

cat4500_Switch(config)#ip dhcp exclude-address

HTH

Ankur

*Pls rate all helpfull post

I got it Ankur :)

but small duets.. if I want add group of ports to vlan like adding ports 2/3-30 to vlan 2 so what I have to do in this case ?? is it one time command or I have to add it one by one !!

Hi Friend,

You can use range command to do it in one shot so try something like this

cat4500_switch(config)#interface range gig2/3 - 30

cat4500_switch(config-if-range)#switchport access vlan 2

HTH

Ankur

*Pls rate all helpfull post

Review Cisco Networking for a $25 gift card