Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ping between VLANs on Catalyst 2960 SI

Status
Not open for further replies.

dnalor

IS-IT--Management
Dec 1, 2001
3
US
My apologies, I'm a newbie with Cisco Switches. I have a 2960 SI Series that I cannot ping between the VLANs (configuration below). I've noted on other Cisco Catalyst switches the "IP Routing" command, however it is not available on this switch. Is there another command that does the same thing?

!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log datetime
no service password-encryption
service sequence-numbers
!
hostname Core-Switch
!
enable secret 5
enable password
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
description LAN Connection to Sonicwall
switchport access vlan 10
speed 100
duplex full
!
interface FastEthernet0/2
switchport access vlan 10
speed 100
duplex full
!
interface FastEthernet0/3
switchport access vlan 20
switchport mode access
macro description SERVER_PORT
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/4
switchport access vlan 20
switchport mode access
macro description SERVER_PORT
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/5
switchport access vlan 20
switchport mode access
macro description SERVER_PORT
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/6
switchport access vlan 20
switchport mode access
macro description SERVER_PORT
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
description Cogent
speed 100
duplex full
!
interface FastEthernet0/12
!
interface FastEthernet0/13
switchport access vlan 30
switchport mode access
macro description PRINTER_PORT
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/14
switchport access vlan 30
switchport mode access
macro description PRINTER_PORT
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
speed 100
duplex full
!
interface FastEthernet0/18
!
interface FastEthernet0/19
speed 100
duplex full
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
speed 100
duplex full
!
interface FastEthernet0/24
speed 100
duplex full
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan10
description COMMS VLAN
ip address 10.6.10.254 255.255.255.0
!
interface Vlan20
description SERVER VLAN
ip address 10.6.20.254 255.255.255.0
no ip route-cache
!
interface Vlan30
description Printer VLAN
ip address 10.6.30.254 255.255.255.0
!
ip default-gateway 10.6.10.1
ip http server
!
ip access-list standard XXXX_ACCESS
permit 10.4.0.0 0.0.225.255 log
permit 10.5.0.0 0.0.225.255 log
permit 10.6.0.0 0.0.225.255 log
permit 10.2.0.0 0.0.225.255 log
!
control-plane
!
!
line con 0
line vty 0 4
password
login
line vty 5 15
password
login
!
end
 
The 2960 is generally a layer 2 switch only , you can not route between the vlans . You would need a router or a l2/3 switch attached to do the routing . I believe with the very latest code like 12.2.55SE you can do static unicast routing. Any code older than that you cannot route. Go to cisco.com and do a search on "2960 routing static" .
 
vipergg, thanks I realized after I posted that I was likely dealing with an L2 only switch. I will look into the static routing as it may be sufficient for my needs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top