Chapter 12
IP Commands
This chapter shows you how to configure the IP (Internet Protocol) parameters. The IP host implementation in the
More often than not, you have more than one
1.Plan ahead.
2.Have a complete diagram showing the whole network.
3.Record the IP parameters assigned to the equipment in your network.
12.1Setting the IP Address
To set the IP address, default gateway and the subnet mask of the Ethernet port of a network module, use the following command sequence.
1.192.168.1.1> ip
2.192.168.1.1 ip> enable ether <new ip address>
3.<new ip address> ip> route delete default
4.<new ip address> ip> route add default 0.0.0.0 <default gateway> 00:00:00:00
5.<new ip address> ip> config save
where
<new ip address> | = |
<default gateway> | = |
Line 1 brings you to the IP subsystem.
The IP address you want to configure for the network module. The default gateway IP address of the network module.
Line 2 allows you to add a new IP address for the
192.168.1.1 ip> subnet delete ether.home
192.168.1.1 ip> subnet add ether.home ether <subnet address> <subnet mask>
where <subnet mask> is the subnet mask in hexadecimal, for example “ff:ff:ff:00”.
Line 3 deletes the existing default route.
Line 4 adds the new default route. The default route tells the system where the gateway (next hop) is when the
Line 5 saves the new configuration to the nonvolatile memory.
IP Commands |