Set default gateway or default route

rss

Posted by SwitchBackup Team - neděle 22. června 2014 4:44:21

To reach a management VLAN from another network (a computer with another ip range and subnet setting), you need an ip default-gateway on L2 or ip route command.

Suppose your network router acting as a gateway IP is 192.168.0.250. On L2 Cisco switch (for example 2690) use that commands to configure it:


configure terminal
  ip default-gateway 192.168.0.250

or the following commands on L3 Cisco switch (for example 4500):


configure terminal
  ip route 0.0.0.0 0.0.0.0 192.168.0.250

 

With using SwitchBackup software You can to analyze configurations in all your devices and correct it with a few simple steps:

1) make a new backup set at first by presing the button Backup All Devices
2) analyze it entering the analyze line ip default gateway
3) if some incorrect settings found, create a snippet:


configure  terminal
  ip default-gateway 192.168.0.250
end

and apply it to all your devices.
if you have got some L3 devices in your network, analyze also the line ip route. Create new domain, copy all your L3 devices t the new domain, and create a new snippet including removing wrong parameters with no form of the ip route comand:


configure terminal
  no ip route 0.0.0.0 0.0.0.0 192.168.0.1
  ip route 0.0.0.0 0.0.0.0 192.168.0.250
end

and apply it to all devices in new domain. Than backup new domain, analyze again, and if you are satisfied, save all running config applying save config snippet.

  • Moderator
    Member for: 9 years 11 months
    #1 by SwitchBackup Team neděle 22. června 2014 5:16:01

    http://www.cisco.com/c/en/us/support/docs/ip/routing-information-protocol-rip/16448-default.html

Displaying 1 to 1 of 1 messages