Cisco Cisco ASR 5000
Subscriber Configuration Mode Commands
▀ ip route
▄ Command Line Interface Reference, StarOS Release 18
8866
ip route
Configures the static route to use to reach the subscriber’s network.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > Subscriber Configuration
configure > context context_name > subscriber { default | name subscriber_name }
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-subscriber)#
Syntax
[ no ] ip route ip_address ip_mask [ gateway_address ]
no
Removes the configured route information from the subscriber data.
ip route
ip_address
Specifies the target IP address for which the route information applies using IPv4 dotted-decimal notation.
ip_mask
Specifies the networking mask for the route.
1 bits in the
1 bits in the
ip_mask
indicate that bit position in the
ip_address
must also have a value of 1.
0 bits in the
ip_mask
indicate that bit position in the
ip_address
does not need to match, such as the bit
can be either a 0 or a 1.
For example, if the IP address and mask were specified as 172.168.10.0 and 255.255.255.224, respectively,
the network mask will be 172.168.0.0 (obtained by logically ANDing the IP address with the IP mask).
For example, if the IP address and mask were specified as 172.168.10.0 and 255.255.255.224, respectively,
the network mask will be 172.168.0.0 (obtained by logically ANDing the IP address with the IP mask).
gateway_address
Default: assigned remote IP address will be used as the gateway address.
Specifies the IP address of the next hop gateway for the route using IPv4 dotted-decimal notation.
Specifies the IP address of the next hop gateway for the route using IPv4 dotted-decimal notation.
Usage
The static routes are also known as framed IP routes for subscribers. Static routes are typically applicable for
subscribers connecting via other networks or when the mobile device acts as a gateway to a network on the
far side of the device.
For example, if the mobile device is assigned IP address 10.2.3.4 and it acts as a gateway for the network
10.2.3.0 (with a network mask of 255.255.255.0) a static route would be configured with the
subscribers connecting via other networks or when the mobile device acts as a gateway to a network on the
far side of the device.
For example, if the mobile device is assigned IP address 10.2.3.4 and it acts as a gateway for the network
10.2.3.0 (with a network mask of 255.255.255.0) a static route would be configured with the
ip_address
being 10.2.3.0,
ip_mask
being 255.255.255.0, and
gateway_address
being 10.2.3.4.
Example
no ip route 10.2.3.4 255.255.255.0