ststic routing command

linux44linux44 Member Posts: 38 ■■□□□□□□□□
hi
what is the command for static routing and also what is the command to enable password on exec user level
i know for privilage it is :enable secret .....
but what is for user level ?
thanks

Comments

  • APAAPA Member Posts: 959
    static routing = ip route (dst) (destination netmask) (next hop)

    Login access.... Under privilege exec mode

    Router(config)# username (name) privilege (level) secret (anything you want)

    Router(config)# username (name) privilege (level) password (anything you want)

    under your virtual terminal lines and console line

    Router(config)# line vty 0 4

    or

    Router(config)# line vty 5 15

    or

    Router(config)# line con 0

    then enter these commands

    - login authentication default
    - login local

    if you haven't used the username command stated above earlier then you can just set a password for your virtual terminal and console lines

    Router(config)# line vty 0 4

    or

    Router(config)# line vty 5 15

    or

    Router(config)# line con 0

    then enter

    - password (whatever you want)
    - can also set privilege level here via (privilege level (number))

    hope this helps you.....

    Be aware whenver you use password instead of secret in a command the encryption level for passwords is very weak and can be cracked very easily......

    CCNA | CCNA:Security | CCNP | CCIP
    JNCIA:JUNOS | JNCIA:EX | JNCIS:ENT | JNCIS:SEC
    JNCIS:SP | JNCIP:SP
Sign In or Register to comment.