Wednesday, 3 April 2013

Add a route to a Cisco Switch

I tried this on two switches (one being a 3750 and the other being an old 10/100) and it only worked on the 3750.

So type en and enter and then the password.

Then

conf t

then

ip route 172.16.19.80 255.255.255.248 10.10.1.253

where the first address is the destination and the second the route.

You can see all the routes by typing show ip route.