Basic commands routers

  • 207 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
207
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
18
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Basic commands
  • 2. Modes of Routers • User Mode:Only some basic monitoring • Privileged Mode:monitoring and some troubleshooting • Global Configuration mode:All Configurations that effect the router globally • Interface mode:Configurations done on the specific interface • Rommon Mode:Reverting Password
  • 3. Console Connectivity RJ-45 Connector Console Port Rollover Cable RJ-45 to DB-9 Converter Computer
  • 4. Console Connectivity • Connect a rollover cable to the router console port (RJ-45 connector). • Connect the other end of the rollover cable to the RJ-45 to DB9 converter • Attach the female DB-9 converter to a PC Serial Port. • Open emulation software on the PC.
  • 5. Emulation Software WINDOWS Start  Programs  Accessories  Communications  HyperTerminal  HyperTerminal. Give the Connection Name & Select Any Icon Select Serial (Com) Port where Router is Connected. In Port Settings  Click on Restore Defaults LINUX # minicom -s
  • 6. Console Connectivity Con 0 E0 LAN - 192.168.1.0/24
  • 7. User mode: Router > Router > enable Privilege mode: Router # Router # config terminal Global configuration mode: Router(config) # Assigning ip address to Ethernet interface: Router(config) # interface <interface type> <interface no> Router(config-if) # ip address <ip address> <subnet mask> (Interface mode) Router(config-if) # no shutdown
  • 8. Assigning Telnet password: Router(config) # line vty 0 4 Router(config-line) # login Router(config-line) # password <password> Router(config-line) # exit Router(config) # exit (line mode) Assigning console password: Router(config) # line con 0 Router(config-line) # login Router(config-line) # password <password> Router(config-line) # exit Router(config) # exit (line mode)
  • 9. Assigning Auxiliary password: Router(config) # line aux 0 Router(config-line) # login Router(config-line) # password <password> Router(config-line) # exit Router(config) # exit (line mode) Assigning enable password: Router(config) # enable secret <password> (To encrypt the password) Router(config) # enable password <password>
  • 10. Show commands: Router # show running-config Router # show startup-config Router # show version Router # show flash Commands to save the configuration: Router # copy running-config startup-config ( OR ) Router # write memory ( OR ) Router # write