cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
377
Views
0
Helpful
1
Replies

Default value of unconfigured settings. [Cisco IOS]

mrdoobles
Level 1
Level 1

Hi, from the Cisco IOS documentation, it is stated as follows:

The "Command Default" section documents the state of the configuration if the command is not used (for configuration commands) or the outcome of using the command if none of the optional keywords or arguments is specified (for EXEC commands).

Does this mean that if a setting (for instance tftp-server) is not configured, it means the same effect as no tftp-server ?

1 Reply 1

davidsudjiman
Level 1
Level 1

The device is "preconfigured" with common setup. It means some of the the feature are on or off.

Default configuration means that it is the state of the device/feature when it is not configured.

 

Example. #1

Default. no ip domain-loookup

- You need to enable the command by "ip domain-lookup" to enable it.

- The it's on the the default, command no ip domain-lookup 

R1#sh run | i domain

no ip domain lookup

ip domain name lab.local

R1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#ip domain loo

R1(config)#ip domain lookup 

R1(config)#do sh run | i domain

ip domain name lab.local

 

This above is  just an example where the default if NOT ENABLED.

 

Example #2. 

Default. service timestamps debug datetime msec

- you to disable this and it means when you disable this it's not default setup anymore.

 

R1#sh run | i service

service config

service timestamps debug datetime msec

service timestamps log datetime msec

service password-encryption

R1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#no service timestamps debug datetime msec

R1(config)#exit

R1#sh run | i s

*Mar  1 00:06:48.243: %SYS-5-CONFIG_I: Configured from console by console

R1#sh run | i service

service config

no service timestamps debug uptime

service timestamps log datetime msec

service password-encryption

 

 

thx,

dsu

 

 

 

 

Review Cisco Networking for a $25 gift card