
Page 4of 37 HES7000 ICLI User’s Guide A01583 Rev. A
The most basic system configuration is now complete. Connectivity
to the network
can be
verified by issuing a ping command to a known IP address:
myDevice# 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
myDevice#
If the ping is successful, network logins can now be performed via telnet or sshto the
address on VLAN interface 1, 172.16.1.17 (or172.16.1.2).
2.4.Display and Save Configuration to FLASH
The current configuration of the device can be displayed in the form of a virtualfile
containing
the full set of commands necessary to create an identicalconfiguration.
A few exceptions
exist since certain items are not displayed, such as privateSSH keys.
This virtual file is called running-config and is volatile by nature; it does not survive across
reboots. It is therefore necessary to save the file to FLASHstorage
under the name startup-
config, as this file is read and executed upon every bootto restore the running configuration
of the system to the state it had when the saving took place.
The command show running-config will display the configuration settingsas
seen below.
For brevity some details were edited out. Note that the set of interfacesis
dependent on
hardware capabilities.
myDevice# show running-config
Building configuration...
hostname myDevice
username admin privilege 15 password none
!
vlan 1
!
spanning-tree mst name 00-01-c1-00-8b-70 revision 0
snmp-server contact Extreme Copper Inc.
voice vlan oui 00-01-E3 description Siemens AG phones
network-clock wait-to-restore 5
!
…
interface GigabitEthernet 1/1
!
interface vlan 1
…
ip address dhcp
!
spanning-tree aggregation
spanning-tree link-type point-to-point
!
!
line console 0
!
line vty 0
!
end
myDevice#
Lines that begin with ‘!’ are comments. The file begins with thehostname
command and the
password for the admin user, followed by VLANs 1 and 42and other items, such as
Spanning Tree Protocol (STP). A list of all port interfaceson
the device, ordered by switch
ID, type and port number comesnext.