Cisco Cisco Packet Data Gateway (PDG)

Página de 8770
  Context Configuration Mode Commands I-M 
ip route  ▀   
 
Command Line Interface Reference, StarOS Release 16  ▄  
 
   
2489 
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  ] [ 
precedence 
precedence ] [ vrf
 
vrf_name
 
[ cost
 
value
 
] [ precedence
 
precedence
 
] + 
[ no ] ip route static bfd if_name remote-endpt_ipv4_address 
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 
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. 
gateway_ip_address | next-hop next_hop_ip_address | point-to-point | tunnel
 
Specifies which device or network to use when forwarding packets. 
gateway_ip_address
: Specifies the IP address of the network gateway to which to forward packets. The 
address must be entered in IPv4 dotted-decimal notation (###.###.###.###).