48Chapter 5 Accessing the CLI and Basic Configuration
5Use the following CLI command to assign the IP address: CLI> add ip address entry
Parameter | Range of Values | Required Actions |
|
|
|
<IfIndex> | INTEGER (1..255) | Enter the IfIndex of the Interface |
|
| displayed in Step . |
<IPAddress> | IPAddress | Enter the IP address you want to |
|
| assign the Passport 4460. |
<NetMask> | Enter the subnet mask. The bits of the | |
| (255.255.255.0, | subnet mask are set to 1 if the |
| 255.255.0.0, or | Passport 4460 should treat the |
| 255.0.0.0) | corresponding bit in the IP address as |
|
| part of the IP network prefix. |
<BcastAddress> | IPAddress | The IP address used for broadcasting. |
|
|
|
Example:
CLI> add ip address entry 3 192.168.22.22 255.255.0.0 192.168.255.255
6Save the configuration and reset the unit. CLI> save configuration update
CLI> reset system current reset