OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

ip route

Assigns a static route on the network device.

Syntax
ip route ip-prefix mask { next-hop | interface interface-type [ route-preference]}
Parameters
  • ip-prefix — Enter the IP prefix in dotted decimal format (A.B.C.D).
  • mask — Enter the mask in slash prefix-length format (/x).
  • next-hop — Enter the next-hop IP address in dotted decimal format (A.B.C.D).
  • interface interface-type — Enter the interface type and interface information. The interface types supported are: Ethernet, port-channel, VLAN , and Null.
  • route-preference — (Optional) Enter the range (1 to 255).
Default
Not configured
Command Mode
CONFIGURATION
Usage Information
The no version of this command deletes a static route configuration.
Example
OS10(config)# ip route 200.200.200.0/24 10.1.1.2
                                       
                                    
OS10(config)# ip route 200.200.200.0/24 interface null 0
                                       
                                    
Supported Releases
10.2.0E or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\