Technical information
ADC Telecommunications, Inc.
246 CHAPTER 2: CUDA 12000 BASE SYSTEM COMMANDS
ip source-route
This command allows you to configure a default route (next hop gateway) to which a packet
containing a particular source IP address should be forwarded in the event that a local route to
the destination does not exist.
Use the no form of the command to remove a source route entry from the current interface.
Mode
interface:<type>:csi(<c/s/i>)
Syntax
ip source-route <ip-address> <mask> <next-hop-gateway>
no ip source-route <ip-address> <mask> <next-hop-gateway>
Arguments
Example
The following example configures interface 1/1/1 to forward any packets received from the
172.16.19.0 network to the router at 172.20.19.4:
cli:root# interface 1/1/1
mode: interface:cable:csi(1/1/1)
cli:interface:cable:csi(1/1/1)# ip source-route 172.16.19.0 255.255.255.0
172.20.19.4
Related Commands
■ show ip interface source-route on page 447
<ip-address> IP address of the source route that you want to match
against.
<mask> IP mask of the source route that you want to match against.
<next-hop-gateway> Next hop gateway to forward all packets with matching
source routes in the event a default route does not exist in
the routing table.