Cisco Systems 15501 Musical Instrument Amplifier User Manual


 
4-22
Cisco ONS 15501 User Guide
78-14134-02, Release 2.0
Chapter 4 Command Reference
ip-config
ip-config
To display or modify the IP address, IP subnet mask and IP default gateway, use the ip-config command.
ip-config [ip-addr [ip-subnet-mask [def-gateway-ip]]]
Syntax Description
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 gateway is xx.yy.zz.1; where
xx.yy.zz are obtained by binary AND of first three bytes of ip-addr and ip-subnet-mask.
Command Types Changes configuration
Command Modes User password protected for display; master password protected for modification.
Command History
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 255.255.255.0 10.1.2.1
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
ip-addr Specifies the IP address.
ip-subnet-mask Specifies the IP subnet mask.
def-gateway-ip Specifies the IP address of the default gateway.
Release Modification
EDFA 1.0 This command was introduced.