cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
479
Views
0
Helpful
2
Replies

Static Route Configuration

oronrosen
Level 1
Level 1

Hello,

I'm trying to add a static route to my Catalyst 2924 XL Switch. However, the "set ip" command is not working, it returns the error: Invalid input detected at marker --> 'ip'. In addition, the "set ?" to view a list of set commands is not working as well. I am a newbie with Cisco equipment, and i'm sure it's probably just a stupid mistake.

If anyone has any thoughts it would be greatly appreciated. Thank you for your time : ).

1 Accepted Solution

Accepted Solutions

Prashanth Krishnappa
Cisco Employee
Cisco Employee

You cannot use set based commands in an IOS switch. In a XL switch, you set up a default-gateway(and not a ip route statement) since it is a layer 2 switch only. Here is how you do it

CAT2924#conf t

Enter configuration commands, one per line. End with CNTL/Z.

CAT2924(config)#ip default-gateway ?

A.B.C.D IP address of default gateway

View solution in original post

2 Replies 2

Prashanth Krishnappa
Cisco Employee
Cisco Employee

You cannot use set based commands in an IOS switch. In a XL switch, you set up a default-gateway(and not a ip route statement) since it is a layer 2 switch only. Here is how you do it

CAT2924#conf t

Enter configuration commands, one per line. End with CNTL/Z.

CAT2924(config)#ip default-gateway ?

A.B.C.D IP address of default gateway

Thank you, that was VERY helpful, and an EXTREMELY prompt response. Thanks again : ).