Ip-Config - Cisco ONS 15501 User Manual

Table of Contents

Advertisement

ip-config

ip-config
To display or modify the IP address, IP subnet mask and IP default gateway, use the ip-config command.
Syntax Description
ip-addr
ip-subnet-mask
def-gateway-ip
Defaults
If no values are entered, the command displays the current IP address, IP subnet mask and IP default
gateway.
If a value is entered for ip-addr, but not for ip-subnet-mask, the default IP subnet mask is 255.255.255.0.
If a value is entered for ip-addr, but not for def-gateway-ip, the default IP default gateway is 0.0.0.1.
Command Types
Changes configuration
Command Modes
User password protected
Command History
Release
EDFA 1.0
Examples
The following example shows how to display the IP address, IP subnet mask and IP default gateway.
edfa > ip-config
10.1.2.221
The following example shows how to display or modify the IP address, IP subnet mask and IP default
gateway.
edfa > ip-config 192.168.0.10 255.255.255.240 192.168.0.1
Cisco ONS 15501 User Guide
4-20
ip-config [ip-addr [ip-subnet-mask [def-gateway-ip]]]
Modification
This command was introduced.
255.255.255.0
Specifies the IP address.
Specifies the IP subnet mask.
Specifies the IP address of the default gateway.
10.1.2.1
Chapter 4
Command Reference
78-14134-01, Release 1.0

Advertisement

Table of Contents
loading

Table of Contents