Computer Network Technology - Routing - Static routing study notes

Routing - Static routing study notes (to be combined with PPT courseware)

Static Routing

  • Commands
    • HW:ip route-static 192.168.1.0 24 g0/0/0 192.168.2.2
    • HW:ip route-static 192.168.1.0 24 192.168.2.2
    • HW priority: ip route-static 192.168.1.0 24 g0 / 0/0 192.168.2.2 9
    • COSCO:ip route 192.168.1.0 255.255.255.0 192.168.2.2
    • COSCO priority: ip route 192.168.1.0 255.255.255.0 192.168.2.2 9
  • Blackhole route
    • Next hop is null 0 null 0 direct loss
    • HW:ip route-static 192.168.0.0 24 null 0
  • Floating routing
    • ip route-static 192.168.100.0 24 172.16.13.3
    • ip route-static 192.168.100.0 24 172.16.12.2 preference 61
    • Loading optimal routes at the same network segment (prioritized value metric)
    • Do spare
    • Will be switched after the next hop interface down
  • Common Commands
    • HW
      • Dis cur to view configuration
      • View a specific configuration dis cur | in ip rout
      • Viewing Interface situation dis ip int br
      • View three data path tracert 114.114.114.114
    • CISCO
      • View configuration sh run
      • View a specific configuration sh run | in ip rout
      • Viewing Interface situation sh ip int br
      • View three data path traceroute 114.114.114.114

Guess you like

Origin www.cnblogs.com/rgz-blog/p/12638673.html