Ip Set Route Interface - Ericsson HM4x0 Reference Manual

Table of Contents

Advertisement

IP CLI Commands
12.45

ip set route interface

12.45.1
Syntax
ip set route {<name>|<number>} interface
{<interface>|none}
12.45.2
Description
This command sets the interface used by a route previously created by the ip
add route command. If you want the existing route to route to an address
via a gateway device, use none so that no interface is set.
12.45.3
Options
The following table gives the range of values for each option which can be
specified with this command and a default value (if applicable).
Option
name
number
interface
none
12.45.4
Example
--> ip set route r1 interface WAN
304
Description
A name that identifies an existing
route. To display route names, use the
ip list routes command.
A number that identifies an existing
route. To display route numbers, use
the ip list routes command. The
number appears in the first column
under the heading ID.
The name of the existing interface that
the ip routes through, displayed in the
following format:
192.168.102.3
To display interface names, use the
ip list interfaces command.
No interface is set. This is used for
routes that route via a gateway device
instead of an interface.
Default value
N/A
N/A
N/A
N/A
2/1553-ZAT 759 94 Uen B – December 2005

Advertisement

Table of Contents
loading

Table of Contents