Bookmark this page:
Yahoo!
Windows Live
del.icio.us
digg
Netscape
|
|
|||||||||||||
|
Posted by Barry Margolin on August 30, 2006, 12:59 am
Please log in for more thread options The order of configuration options generally doesn't matter. The only time order matters is when a command establishes a new context; commands that apply to the context have to appear after it. E.g. router rip redistribute static is not the same as redistribute static router rip because "redistribute" applies to the specific router context it appears within. Since "login" nor "password" both apply to the line context they appear in, all that matters is that they both appear after the "line" command, but the relative order of them doesn't matter. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** *** PLEASE don't copy me on replies, I'll read them in the group *** | |||||||||||||
|
Posted by on August 30, 2006, 1:05 am
Please log in for more thread options Barry Margolin wrote: >
> > Since I began to study for CCNA I have seen the commands (login) and
> > (passwords) in different orders. > > > > Sometimes I see it like this > > > > #login > > #password cisco > > > > and sometimes I see it in the opposite order > > > > #password cisco > > #login > > > > What is everyone used for. >
> The order of configuration options generally doesn't matter. The only > time order matters is when a command establishes a new context; commands > that apply to the context have to appear after it. E.g. > > router rip > redistribute static > > is not the same as > > redistribute static > router rip > > because "redistribute" applies to the specific router context it appears > within. Since "login" nor "password" both apply to the line context > they appear in, all that matters is that they both appear after the > "line" command, but the relative order of them doesn't matter. I agree with Barry. It doesn't matter in this case the order that you put the commands in. The router will though always display them in some particular order no matter what order you use to put them in. The order may I guess vary with software versions but in general that is very unusual. In the case of some other commands such as access-list entries the order of entry is preserved in the configuration since in that case the order does affect the behaviour. | |||||||||||||
| Similar Threads | Posted |
| Re: login and password | August 29, 2006, 10:40 pm |
| Re: login and password | August 30, 2006, 12:59 am |
| login and password | August 29, 2006, 9:58 pm |
| Tacacs authentication login with password input twice | June 25, 2008, 2:19 am |
| Password recovery disabled on Cisco 1711 Router - cannot login or reset | May 17, 2006, 8:50 am |
| Password policy (password expiry after certain time) | May 20, 2008, 4:46 pm |
| Help needed to allow SSH login from outside to PIX | August 30, 2005, 5:49 am |
| Login and PPP..can I do both on one IAS server? | October 10, 2005, 1:00 pm |
| ssh on pix 506e - login name | March 21, 2006, 4:00 pm |
| No login windows | July 9, 2005, 1:54 am |
| PIX 501's, and login | December 20, 2006, 1:33 pm |
| I want to login to my 2507 | April 30, 2007, 9:22 pm |
| SSH login problem | December 3, 2007, 5:04 pm |
| PIX backdoor login | January 9, 2008, 3:49 am |
| maybe OT: RSA ACE/Server - SecurID login from NAS | September 5, 2005, 11:10 am |

Re: login and password
Yahoo!
Windows Live
del.icio.us
digg
Netscape 


> (passwords) in different orders.
>
> Sometimes I see it like this
>
> #login
> #password cisco
>
> and sometimes I see it in the opposite order
>
> #password cisco
> #login
>
> What is everyone used for.