Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. ## Interfaces
  2.  
  3. ### Configure interface
  4.  
  5. `R(config)>interface <interface_name>`
  6.  
  7. `R(config-if)>ip address <ip_addr> <netmask>`
  8.  
  9. `R(config-if)>no shutdown`
  10.  
  11. ### Loopback interfaces
  12.  
  13. `R(config)>interface loopback[number]`
  14.  
  15. `R(config)>ip address <ip_addr> <netmask>`
  16.  
  17. `R(config)>no shutdown`
  18.  
  19. ### Show interface
  20.  
  21. `R#> show interface <interface_name>`
  22.  
  23. `R#> show ip interface brief`
  24.  
  25. ## OSPF
  26.  
  27. ### Declare OSPF
  28.  
  29. `R(config)> router ospf 1`
  30.  
  31. `R(config-router)> network <network_ip> <rev_mask> area <area_number>`
  32.  
  33. ### Show interface details
  34.  
  35. `R#>show ip ospf interface <interface_name>`
  36.  
  37. ### Routes resume
  38.  
  39. `R#> show ip ospf neighbor`
  40.  
  41. `R#> show ip ospf database`
  42.  
  43. `R#> show ip route ospf`
  44.  
  45. ### MD5 authentication (for one interface)
  46.  
  47. `R(config)> interface <interface_name>`
  48.  
  49. `R(config)> ip ospf authentication message-digest`
  50.  
  51. `R(config)> ip ospf message-digest-key <key_id> md5 <password>`
  52.  
  53. ## TFTP
  54.  
  55. ### Upload configuration to server
  56.  
  57. `R#> copy running-config tftp:`
  58.  
  59. ### Download configuration from server
  60.  
  61. `R#> copy tftp running-config:`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement