I have about 8 or 9 static routes configured all with preference 1 in my powerconnect 6248. I want to change all of them at once to like 10 or 20 so that I can at least have some wiggle room to add some one off preferred routes.
Is there a command I can run that will change all of these routes at once to lets say 20?
I don't believe there is a command that will change preference of all the static routes. The quickest method I have used, is to copy the current static routes, modify the metrics in a text editor, and then copy/paste the new commands into the switch.
Daniel Covey
Dell EMC| Enterprise Support Services
Get support on Twitter:@DellCaresPRO
Download our QRL app:iOS, Android, Windows
Dell Networking Resources
what command can I run to show the statics routes in the cli?enable ... show ip route?
That will show you the routes in place, but it will not output it in a manner in which you can easily copy and paste. Try this command out # show run | include route.
Daniel Covey
Dell EMC| Enterprise Support Services
Get support on Twitter:@DellCaresPRO
Download our QRL app:iOS, Android, Windows
Dell Networking Resources
that doesnt work
i typed enable
then show running-config | include route
says "invalid input"
Interesting, well if that is not working, then you may need to just issue the command # show run, and then copy the pertinent route lines from the full config. What firmware is the switch on?
Daniel Covey
Dell EMC| Enterprise Support Services
Get support on Twitter:@DellCaresPRO
Download our QRL app:iOS, Android, Windows
Dell Networking Resources
2.2.0.3
That firmware level is really old. You might consider updating, the newer firmware may add in that pipe functionality.
Issuing the show run command will provide you with the full config, and then you can copy just the part you want.
Daniel Covey
Dell EMC| Enterprise Support Services
Get support on Twitter:@DellCaresPRO
Download our QRL app:iOS, Android, Windows
Dell Networking Resources
I have the list of all the routes in the show run
How do I set it up to be reconfigured with a higher metric?
enable
config
ip route SUBNET ^ MASK ^ NEXT HOP ^ PREFERENCE?
EX.
ip route 10.10.10.0 255.255.255.0 172.18.15.199 20
Thanks
Yesterday I did not have access to a 6248, so I was testing the show commands on a 7048. This morning I tested the include syntax on a 6248, and sure enough it was not available. Sorry for the misinformation on that command.
Once you have the list of routes, simply issue the commands again with the new preferences.
Example:
Old:
ip route 20.20.20.0 255.255.255.0 40.40.40.1 5
ip route 30.30.30.0 255.255.255.0 40.40.40.1 6
ip route 50.50.50.0 255.255.255.0 40.40.40.1 7
Mane the need changes and then paste into the CLI
ip route 20.20.20.0 255.255.255.0 40.40.40.1 10
ip route 30.30.30.0 255.255.255.0 40.40.40.1 20
ip route 50.50.50.0 255.255.255.0 40.40.40.1 30
The new commands will override the current config lines.
Daniel Covey
Dell EMC| Enterprise Support Services
Get support on Twitter:@DellCaresPRO
Download our QRL app:iOS, Android, Windows
Dell Networking Resources