
49
IP Commands
This chapter shows you how to use the (standard shell) IP commands to configure the IP (Internet Protocol) parameters.
49.1 IP Commands Introduction
Use the
49.2 IP Settings and Default Gateway
Use the following command sequence to set the
Figure 194 IP Settings and Default Gateway Address Commands
ras> ip set <new ip address> [</netmask>] ras> ip gateway <ip>
ras> config save
where
<new ip | = | The IP address you want to configure for the |
address> |
|
|
</netmask> | = | The bit number of the subnet mask of the IP address you |
|
| want to configure for |
|
| |
|
| subnet mask to binary and add all of the 1’s together. Take |
|
| “255.255.255.0” for example. 255 converts to eight 1’s in |
|
| binary. There are three 255’s, so add three eights together |
|
| and you get the bit number (24). |
<ip> | = | The default gateway IP address you want to configure for |
|
| the |
The first command changes the IP settings for the
| 331 |
|
|