HES7000 ICLI User’s Guide A01583 Rev. A
Page
25
of 37
More verification: Display IP interfaces and assigned IP address and status:
myDevice# show ip interface brief
Vlan Address Method Status
---- -------------------- -------- ------
1 172.16.1.15/24 DHCP UP
myDevice#
An address was obtained from DHCP, so the fallback wasn’t used
Try to inspect hostname:
myDevice#
show hostname
^
% Invalid word detected at '^' marker.
No such command exists, but it is possible to extract a single line from
running-config by using a filter:
myDevice#
show running-config | include hostname
hostname myDevice
Step 6: Save configuration to FLASH:
myDevice#
copy running-config startup-config
Building configuration...
% Saving 1272 bytes to flash:startup-config
4.1.
Resetting or Removing Configuration with “no”
It is possible to remove specific configuration items or reset them to their default values. In
the general case almost every configuration command has a corresponding
no
form. The
‘no’ form is syntactically similar (but not necessarily identical) to the configuration command,
but either resets the parameters to defaults for the configurable item being addressed, or
removes the item altogether.
In many ca
ses ‘no’ can be read as “no(t) different from default settings”.
Example 8.
Using ‘no’ Forms
The following example:
Configures the VLAN 1 interface IP address to use DHCP
Configures the DNS name server to be taken from DHCP
Inspects the configuration
Removes the DNS name server
Removes the IP address on the VLAN 1 interface
Both ‘no’ operations can be viewed as reset-to-default, with the defaults being: No DNS
name server and IP address.
myDevice#
configure terminal
myDevice(config)#
interface vlan 1
myDevice(config-if-vlan)#
ip address dhcp
myDevice(config-if-vlan)#
exit
myDevice(config)#
ip name-server dhcp
myDevice(config)#
end
myDevice#
show ip interface brief
Vlan Address Method Status
---- -------------------- -------- ------
1 172.16.1.15/24 DHCP UP
Summary of Contents for HES7000
Page 1: ...HES7000 ICLI USER S GUIDE A01583 Rev A ...
Page 3: ...HES7000 ICLI User s Guide A01583 Rev A ...
Page 4: ......