-2

Textbook has different order of commands: login password password-value

and also password password-value login

Does the order matter?

Cisco switch

  • What are we talking here? What type of equipment? – user36472 Feb 12 '19 at 13:59
  • 2
    And what textbook? – Ron Trunk Feb 12 '19 at 14:15
1

If you mean something like this:

line vty 0 15
 logging synchronous
 exec-timeout 15 0
 password <PASSWORD>
 login
 transport input telnet
!

or something like this:

line vty 0 15
 logging synchronous
 login
 exec-timeout 15 0
 password <PASSWORD>
 transport input telnet
!

then, no, it doesn't matter. Most commands in IOS can be entered in any order within the context. If you are in the particular mode (interface, line, router, etc.) then you can usually enter commands in any order for that mode. There are a few exceptions.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.