Cisco Cisco Packet Data Interworking Function (PDIF)
Context Configuration Mode Commands I-M
ip route ▀
Command Line Interface Reference, StarOS Release 18 ▄
2577
ip route
Adds or removes routing information from the current context’s configuration.
Product
All
Privilege
Administrator
Mode
Exec > Global Configuration > Context Configuration
configure > context context_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-ctx)#
Syntax
[ no ] ip route { ip_address/ip_mask | ip_address ip_mask } { gateway_ip_address | next-
hop next_hop_ip_address | point-to-point | tunnel } egress_intrfc_name [ cost cost ] [
fall-over bfd multihop mhsess_name ] [ precedence precedence ] [ vrf
hop next_hop_ip_address | point-to-point | tunnel } egress_intrfc_name [ cost cost ] [
fall-over bfd multihop mhsess_name ] [ precedence precedence ] [ vrf
vrf_name
[ cost
value
] [ fall-over bfd multihop
mhsess_name
] [ precedence
precedence
] +
[ no ] ip route static bfd if_name remote-endpt_ipv4_address
[ no ] ip route static multihop bfd mhbfd_sess_name local_endpt_ipaddr
remote_endpt_ipaddr
remote_endpt_ipaddr
no
Indicates the route specified by this options is to be removed from the configuration.
ip_address/ip_mask | ip_address/ip_mask
Specifies a destination IP address or group of addresses that will use this route.
ip_address/ip_mask
: Specifies a combined IP address subnet mask bits to indicate what IP addresses to
which the route applies.
ip_address
must be entered using IPv4 dotted-decimal or IPv6 colon-separated-
hexadecimal notation.
ip_mask/
is entered using CIDR notation; the mask bits are a numeric value which is
the number of bits in the subnet mask.
ip_address/ip_mask
: Specifies an IP address and the networking (subnet) mask pair which is used to
identify the set of IP addresses to which the route applies.
ip_address
must be specified using the standard
IPv4 dotted decimal notation.
ip_mask
must be specified using the standard IPv4 dotted decimal notation as
network mask for subnets.
The mask as specified by
The mask as specified by
ip_mask
or resulting from
ip_address/ip_mask
is used to determine the
network for packet routing.
0’s in the resulting mask indicate the corresponding bit in the IP address is not significant in determining the
network for packet routing.
1’s in the resulting mask indicate the corresponding bit in the IP address is significant in determining the
network.
0’s in the resulting mask indicate the corresponding bit in the IP address is not significant in determining the
network for packet routing.
1’s in the resulting mask indicate the corresponding bit in the IP address is significant in determining the
network.