Celestica Documentation Portal

Find your product documents here

ip route

Configures static routes.

Syntaxip route {<A.B.C.D> <m1.m2.m3.m4>} | <A.B.C.D/mask> {<g1.g2.g3.g4> [<l3_intf> [onlink]]} | blackhole | <l3_intf> | Null0 [<dist> [tag <tag_val>]] [nexthop-vrf <nhp_vrf>]
Command mode Configure-vrf-view
Parameters
  • A.B.C.D – IP destination prefix.

  • m1.m2.m3.m4 – IP destination prefix mask.

  • A.B.C.D/mask – IP destination prefix/mask.

  • g1.g2.g3.g4 – IP gateway address.

  • l3_intf – L3 Interface (IP gateway interface name).

  • dist – Distance value for this route.

  • tag_val – Tag value.

  • nhp_vrf – Specify the VRF of nexthop.

UsageUse no ip route {<A.B.C.D> <m1.m2.m3.m4>} | <A.B.C.D/mask> {<g1.g2.g3.g4> [<l3_intf> [onlink]]} | blackhole | <l3_intf> | Null0 [<dist> [tag <tag_val>]] [nexthop-vrf <nhp_vrf>] to remove the configuration.
Supported Releases 1.0.0 or later
Click commandNone