
Chapter 49 IP Commands
where
<dst ip> | = | The destination IP address of packets that this static route is |
|
| to route. |
[/netmask] | = | The destination subnet mask of packets that this static route |
|
| is to route. |
<gateway ip> | = | The IP address of the gateway that you want to send the |
|
| packets through. |
[metric] | = | The metric (hop count) of this static route. |
<name> | = | A name to identify this static route. Up to 31 ASCII |
|
| characters. Spaces and tabs are not allowed. |
default | = | Use this to configure the |
This command defines a new, static IP forwarding route or edits an existing one.
49.3.4 Route Delete CommandSyntax:
ras> ip route delete <dst ip>[/netmask]
where
<dst ip> | = | The destination IP address of packets to which this static |
|
| route applies. |
[/netmask] | = | The destination subnet mask of packets to which this static |
|
| route applies. |
This command removes a static, IP forwarding route.
49.3.5 Route Show CommandSyntax:
ras> ip route show
This command displays the
An example is shown next.
Figure 196 Route Show Command Example
ras> ip route show | gateway | metric | name | |
index dest | ||||
- | 192.168.1.0/24 | 192.168.1.1 | 1 |
|
1 |
| |||
2 | default | 192.168.1.254 | 1 |
|
|
|
|
|
|
| 333 |
|
|