EasyManua.ls Logo

Comnet CNGE3FE8MSPOE - Resetting or Removing Condiguration with “no”; Using “no” Forms

Comnet CNGE3FE8MSPOE
314 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
INS_CNGE3FE8MS[POE][HO] Rev. 11.7.17 PAGE 281
INSTRUCTION MANUAL CNGE3FE8MS[POE][HO]
TECH SUPPORT: 1.888.678.9427
my-device# copy running-config startup-config Building configuration...
% Saving 1272 bytes to flash:startup-config
Resetting or Removing Condiguration with “no”
It is possible to remove specific configuration items or reset them to their default values. In
general, almost each 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 cases, ‘’no” can be read as no(t) different from default settings.
Using “no” Forms
The following list shows the tasks accomplished:
» Configure the VLAN 1 interface IP address to use DHCP
» Configure the DNS name server to be taken from DHCP
» Inspect the configuration
» Remove the DNS name server
» Remove 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 no IP address.
my-device# configure terminal
my-device(config)# interface vlan 1
my-device(config-if-vlan)# ip address dhcp my-device(config-if-vlan)# exit
my-device(config)# ip name-server dhcp my-device(config)# end
my-device# show ip interface brief
Vlan Address Method Status
1 192.168.10.15/24 DHCP UP
my-device# show ip name-server
Current DNS server is 192.168.10.1 set by DHCP. my-device# configure terminal my-device(config)#
no ip name-server my-device(config)# interface vlan 1 my-device(config-if-vlan)# no ip address\
my-device(config-if-vlan)# end
device# show ip name-server Current DNS server is not set.
my-device# show ip interface brief

Table of Contents

Related product manuals