Initial Configuration
20G101-00 E2
2015-09-29
Page 23
Table 6.
IP address sequence
The
show ip interface brief
displays all configured and active IP interfaces. The status
should be UP, unless there is no link on any port.
If DHCP negotiation has failed then the fallback IP of 172.16.1.2 would be assigned.
The most basic system configuration is now complete. Management connectivity can be
verified by issuing a
ping
command to a well-known external IP address as follows:
Table 7.
Ping command sequence
If the ping is successful, network logins can now be performed via telnet or ssh to the
address on VLAN interface 1, 172.16.1.17 (or 172.16.1.2).
2.2.5
Display and Save Configuration to FLASH
The current configuration of the device can be displayed in the form of a virtual file
called ’running-config’ which contains the full set of commands necessary to create an
identical configuration.
The ’running-config’ file will not survive across reboots and must therefore be saved to a
FLASH storage device and must be renamed to ’startup-config’.
The ’startup-config’ file is read and executed upon every boot, and is therefore
responsible for restoring the running configuration of the system to the original state.
The command
show running-config
will display the configuration settings as seen below
(the set of interfaces is dependent on hardware capabilities).
my-device# show ip interface brief
Vlan Address Method Status
---- -------------------- -------- ------
1 172.16.1.17/16 DHCP UP
my-device#
my-device# ping ip 172.16.1.1
PING server 172.16.1.1, 56 bytes of data.
64 bytes from 172.16.1.1: icmp_seq=0, time=0ms
64 bytes from 172.16.1.1: icmp_seq=1, time=0ms
64 bytes from 172.16.1.1: icmp_seq=2, time=0ms
64 bytes from 172.16.1.1: icmp_seq=3, time=0ms
64 bytes from 172.16.1.1: icmp_seq=4, time=0ms
Sent 5 packets, received 5 OK, 0 bad
my-device#