Cisco Cisco Packet Data Gateway (PDG)
Context Configuration Mode Commands I-M
ip route ▀
Command Line Interface Reference, StarOS Release 17 ▄
2551
Usage
Use this command to configure IP route parameters. precedence and cost options for the route selections such
that routes of the same precedence are grouped together then lowest cost is selected first. This results in
route’s being selected first by lower precedence then the cost is used if multiple route’s are defined with the
same precedence.
This command also configures static IP routes when implementing Bidirectional Forwarding Detection
(BFD).
that routes of the same precedence are grouped together then lowest cost is selected first. This results in
route’s being selected first by lower precedence then the cost is used if multiple route’s are defined with the
same precedence.
This command also configures static IP routes when implementing Bidirectional Forwarding Detection
(BFD).
Important:
A maximum of 1,200 static routes may be configured per context.
Virtual Routing and Forwarding (VRF) context can be associated with static IP route for BGP/MPLS, GRE,
or IPSec tunnel support.
or IPSec tunnel support.
Important:
SNMP traps are generated when BFD sessions go up and down (BFDSessUp and BFDSessDown).
Example
The following command adds a route using the combined IP address and subnet mask form:
ip route 10.2.3.0/32 192.168.1.2 egressSample1 precedence 160
The following configures route options for a route specified using the distinct IP address and subnet mask
form:
form:
ip route 10.2.3.4 255.224.0.0 10.1.2.3 egressSample2 cost 43
The following deletes the two routes configured above:
no ip route 10.2.3.0/32 192.168.1.2 egressSample1 precedence 160
no ip route 10.2.3.4 255.224.0.0 10.1.2.3 egressSample2 cost 43
The following command adds a route using the combined IP address and subnet mask form and specifies the
egress interface as tunnel type:
egress interface as tunnel type:
ip route 10.2.3.0/32 tunnel egressSample1 precedence 160 vrf vrf1