11-10-2007 10:49 AM - edited 03-03-2019 05:47 AM
I was trying to issue a global command "ip routing" to enable inter-VLAN routing on a Cisco 6504 running IOS. But "ip routing" does not seem to be a valid command. Please advise the reason and alternatives.
#show ver
Cisco Internetwork Operating System Software
IOS (tm) s3223_rp Software (s3223_rp-ADVIPSERVICESK9_WAN-M), Version 12.2(18)SXF8, RELEASE SOFTWARE (fc2)
...
6504#show mod
Mod Ports Card Type Model Serial No.
--- ----- -------------------------------------- ------------------ -----------
1 9 Supervisor Engine 32 8GE (Active) WS-SUP32-GE-3B SAL1035ZRWM
3 48 48-port 10/100/1000 RJ45 EtherModule WS-X6148A-GE-TX SAL1052CDV6
Mod MAC addresses Hw Fw Sw Status
--- ---------------------------------- ------ ------------ ------------ -------
1 0017.94c1.58f0 to 0017.94c1.58fb 4.5 12.2(18r)SX2 12.2(18)SXF8 Ok
3 001a.a2b2.c930 to 001a.a2b2.c95f 1.5 8.4(1) 8.5(0.46)RFW Ok
Mod Sub-Module Model Serial Hw Status
---- --------------------------- ------------------ ----------- ------- -------
1 Policy Feature Card 3 WS-F6K-PFC3B SAL1034ZHWU 2.3 Ok
1 Cat6k MSFC 2A daughterboard WS-F6K-MSFC2A SAL1035ZM8B 3.1 Ok
11-10-2007 10:52 AM
what error message do you get?
11-10-2007 10:54 AM
It says the command "ip routing" does not exist. I am in EXEC mode.
6504#config t
Enter configuration commands, one per line. End with CNTL/Z.
6504(config)#ip routing
^
% Invalid input detected at '^' marker.
11-10-2007 11:14 AM
I noticed this the other day when I was setting up a Sup720 in the lab. The issue (if you can call it an issue) is you can't disable IP routing on the 6500 running Native IOS so it is always enabled and can't be disabled. Type 'show ip route' and there will be a routing table (assuming you have at least one interface with an IP address).
HTH
Andy
11-10-2007 10:57 AM
turn on Cisco's Express Forwarding (CEF)
- ip cef
then try ip routing?
11-10-2007 11:09 AM
It may be you can't turn it off so there is no command to turn it on . never really tied to turn it off on the new 720's though we do it all the time on our 4500's.
11-10-2007 11:12 AM
It may be you can't turn it off so there is no command to turn it on . never really tied to turn it off on the new 720's though we do it all the time on our 4500's.
11-10-2007 11:25 AM
1. Unless I missed something, I am sure it is running IOS not CatOS.
6504#show ver
Cisco Internetwork Operating System Software
IOS (tm) s3223_rp Software (s3223_rp-ADVIPSERVICESK9_WAN-M), Version 12.2(18)SXF8, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by cisco Systems, Inc.
Compiled Fri 02-Mar-07 21:02 by tinhuang
Image text-base: 0x40101040, data-base: 0x42D30000
2. "ip cef" is enabled. It did not solve the issue.
3. Assuming you cannot turn off "ip routing" on, it makes sense because it does show routing tables.
6504#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 63.xx.xx.209 to network 0.0.0.0
192.168.197.0/26 is subnetted, 1 subnets
S 192.168.197.64 [1/0] via 172.16.99.100
172.16.0.0/24 is subnetted, 5 subnets
C 172.16.10.0 is directly connected, Vlan10
C 172.16.4.0 is directly connected, Vlan4
C 172.16.5.0 is directly connected, Vlan5
C 172.16.2.0 is directly connected, Vlan2
C 172.16.99.0 is directly connected, Vlan999
63.0.0.0/28 is subnetted, 1 subnets
C 63.xx.xx.208 is directly connected, Vlan3
S* 0.0.0.0/0 [1/0] via 63.85.41.209
Now the question is how I can enable inter-VLAN routing? I am not able to ping a host on different VLAN. Please advise.
6504#show ip interface bri
Interface IP-Address OK? Method Status Protocol
Vlan1 unassigned YES NVRAM administratively down down
Vlan2 172.16.2.1 YES NVRAM up up
Vlan3 63.xx.xx.219 YES NVRAM up up
Vlan4 172.16.4.1 YES NVRAM up up
Vlan5 172.16.5.1 YES NVRAM up up
Vlan10 172.16.10.1 YES NVRAM up up
Vlan999 172.16.99.1 YES NVRAM up up
GigabitEthernet1/1 unassigned YES unset up up
GigabitEthernet1/2 unassigned YES unset up up
....
11-10-2007 11:28 AM
If you want to ping from one vlan to the other, make sure that the default gateway on the hosts on these vlans is set to the IP address of their respective vlan interface.
Hope this helps,
11-10-2007 11:32 AM
All host's default gateways are set to the IP address of their respective VLAN interface already. In my case, 172.16.xx.1.
11-10-2007 11:36 AM
Sounds a bit bizarre.... Check the ARP cache on your PC for the gateway, make sure it is the 6500's MAC address for that VLAN. Try some traceroutes from your PC. It's not just XP's firewall is it?
Andy
11-10-2007 11:56 AM
Where are the hosts?
- different building or they are directly connection to 6504?
- check trunking
- check vlan pruning
- check vtp domain on the other switches.
check access switch;
- switch mode access
- switch acc vlan x
DHCP Scope configured?
- are you able to get IP address on host? or u r assigning static? check subnet mask, de.gateway...
11-10-2007 11:32 AM
If you are running hybrid; L2; sup1,2,320,720
When you telnet;
Cisco Systems Console
Username: username
Password:
c6504-sw> (enable)
c6504-sw> (enable)session 15 or 16...etc.
User Access Verification
Username: username
Password:
cmsfc-rtr-1>en
Password:
cmsfc-rtr-1#
11-10-2007 11:41 AM
are you running any type of routing protocol?
an example;
router eigrp 1
network 10.x.x.x
network x.x.x.x
no auto-summary
!ip classless
no ip forward-protocol nd
no ip forward-protocol udp tftp
no ip forward-protocol udp nameserver
no ip forward-protocol udp domain
no ip forward-protocol udp time
no ip forward-protocol udp netbios-ns
no ip forward-protocol udp netbios-dgm
no ip forward-protocol udp tacacs
ip route 0.0.0.0 0.0.0.0 x.x.x.x ; if you have pix or depand on your network topology
ip route x.x.x.x 255.255.0.0 x.x.x.x ; if you have pix or depand on your network topology
no ip http server ; to run off your http svr
or you can route it STATIC;
by ip route IP; x.x.x. Sub.Mask; x.x.x.x to destination...
Can you send us "show run" on supx and MSFC?
and if it is possible your network topology?
11-10-2007 11:43 AM
The two vlans are directly connected to the 6500. There is no need for a routing protocol in this scenario.
Regards,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide