How to Add and Delete a Static Route on an oCM

Jul 03, 2015 - Author: Sierra Wireless - 2480 Views
To add/delete a static route on the oCM, you need to do the following

1. Change to configure mode using the configure command.

2. Show the current static route setup using the show protocols command. e.g.:
    admin@oCM#
    [edit]
    admin@oOCM# show protocols

        static {
            route 10.8.0.0/12 {
                next-hop 10.2.0.1 {
                }
            }
            route 10.16.0.0/12 {
                next-hop 10.2.0.1 {
                }
            }
            route 10.32.0.0/12 {
                next-hop 10.2.0.1 {
                }
            }
            route 10.48.0.0/12 {
                next-hop 10.2.0.1 {
                }
            }
            route 10.64.0.0/12 {
                next-hop 10.2.0.1 {
                }
            }
            route 10.58.0.0/16 {
                next-hop 10.2.0.254 {
                }
            }
        }
3. To delete a static route enter: delete protocols static route <subnet>. e.g.:
   
   delete protocols static route 10.85.0.0/16

4. To add a route enter set protocols static route <new subnet> next-hop <ip-address>. e.g.:
   
   set protocols static route 10.88.0.0/16 next-hop 10.2.0.254

5. Save to the running configuration using the commit command.

6. Save to the flash memory using the save command so that it can be read during boot up.

7. Exit configure mode using the exit command.
©2024 Sierra Wireless. All rights reserved.
×
You have been successfully unsubscribed to this product. To access your subscription click here.