> Subject: Re: conf-reg challenge
> 
> Groupstudy,
> 
> I received a few responses to the challenge.  Most of you 
probably thought you knew it and passed it by.
 
> Surprise.  The answer is D, not A as every person who e-mailed 
me guessed. I should note that a few people did recognize that 
there was a trick, but still guessed A.
> 
> Here's the scoop.  conf-reg expects a hex value.  In the 
question below, I assigned a decimal value. 2102=0x836.  So, in 
essence, I actually ran the command:
>
> router(config)#config-register 0x836

Actually, the correct answer is "it depends" :-)

One of the quirky things about the IOS that you have to get used 
to, is how things change over time.  What is a problem in one 
version of IOS, later gets fixed in another version of IOS.  In 
earlier versions of code, there was a definite problem 
(converting a decimal value to an expected hex value).  Cisco 
modified the command line parser somewhere around the tail end 
of 11.3 or 12.x code to remove that quirky little feature.

Here is an output from a Cisco 804 running 12.03T1 code:

cisco804(config)#config-register ?
  <0x0-0xFFFFFFFF>  Config register number

cisco804(config)#config-register 2102
                                 ^
% Invalid input detected at '^' marker.  

HTH,

Paul Werner

________________________________________________
Get your own "800" number - Free
Free voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to