- 24 -
3.
Type
enable
. The new prompt is
Router#
.
4.
Type
configure terminal
. The new prompt is
Router(config)#
.
5.
The default IP address is assigned to the veth1 interface. Type
interface veth1
. The new prompt is
Router(config-if-veth1)#
. Type
ip address
and the new address. Your screen will look like this example:
Router>
enable
Router#
configure terminal
Router(config)#
interface veth1
Router(config-if-veth1)#
ip address 192.168.123.254 255.255.255.0
Router(config-if-veth1)#
end
Router#
show interface veth1
Veth1 is up, line protocol is up
Hardware is virtual interface VLAN 1, address is 00:00:94:D2:56:FA
Encapsulation ARPA, Flags: <UP,BROADCAST,RUNNING,MULTICAST>
inet 192.168.123.254/24 broadcast 192.168.123.255
ARP Type: ARPA, ARP Timeout: 14400 seconds
Router#
write file
Writing current-config to startup-config. Please wait.
Configuration saved to startup-config file
It is also acceptable to enter the subnet mask by typing
ip address 192.168.123.254/24
. Use the
show
interface veth1
command from privileged mode to see the new IP address. The new IP address automatically writes
over the default IP address.
See Chapter 5 for more information on assigning IP addresses to interfaces.
2.10.1 Setting a Default IP Gateway Address
To define the default IP gateway for the switch, insert a static route:
Router(config)#
ip route 0.0.0.0 255.255.255.255
<gateway IP> <mask>
2.11 Restoring Factory Defaults
If you ever need to restore the switch to its factory default settings, follow the commands shown in the following
screen.
Router>
enable
Router#
reload factory-default
The switch is now ready for configuration. Refer to the following chapters for management and configuration
information.
2.12 System Boot Parameters
The IC35516 has two boot banks to store its runtime code. You can select which bank will be used for the next boot
with the following command:
Router(config)#
boot system flash
{
bank1
|
bank2
}