H3C S3100-52P Operation Manual
Hide thumbs Also See for S3100-52P:

Advertisement

Operation Manual - Static Route
H3C S3100-52P Ethernet Switch
Chapter 1 IP Routing Protocol Overview .................................................................................... 1-1
1.1 Introduction to IP Route and Routing Table ...................................................................... 1-1
1.1.1 IP Route .................................................................................................................. 1-1
1.1.2 Routing Table .......................................................................................................... 1-1
1.1.3 Routing Protocols and Routing Priority ................................................................... 1-3
1.1.4 Route Backup.......................................................................................................... 1-4
1.2 Displaying and Maintaining a Routing Table ..................................................................... 1-4
Chapter 2 Static Route Configuration ......................................................................................... 2-1
2.1 Introduction to Static Route ............................................................................................... 2-1
2.1.1 Static Route............................................................................................................. 2-1
2.1.2 Default Route .......................................................................................................... 2-2
2.2 Static Route Configuration................................................................................................. 2-2
2.2.1 Configuration Prerequisites..................................................................................... 2-2
2.2.2 Configuring a Static Route ...................................................................................... 2-2
2.3 Displaying and Maintaining Static Routes ......................................................................... 2-3
2.4 Static Route Configuration Example.................................................................................. 2-3
2.5 Troubleshooting a Static Route ......................................................................................... 2-5

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading

Summary of Contents for H3C S3100-52P

  • Page 1: Table Of Contents

    Operation Manual – Static Route H3C S3100-52P Ethernet Switch Table of Contents Table of Contents Chapter 1 IP Routing Protocol Overview ..................1-1 1.1 Introduction to IP Route and Routing Table ..............1-1 1.1.1 IP Route ........................1-1 1.1.2 Routing Table ......................1-1 1.1.3 Routing Protocols and Routing Priority ..............
  • Page 2: Chapter 1 Ip Routing Protocol Overview

    Operation Manual – Static Route H3C S3100-52P Ethernet Switch Chapter 1 IP Routing Protocol Overview Chapter 1 IP Routing Protocol Overview Go to these sections for information you are interested in: Introduction to IP Route and Routing Table Displaying and Maintaining a Routing Table...
  • Page 3 Operation Manual – Static Route H3C S3100-52P Ethernet Switch Chapter 1 IP Routing Protocol Overview Mask: Along with the destination address, it identifies the address of the network segment where the destination host or router resides. By performing a logical AND operation between destination address and network mask, you can get the address of the network segment where the destination host or router resides.
  • Page 4: Routing Protocols And Routing Priority

    Operation Manual – Static Route H3C S3100-52P Ethernet Switch Chapter 1 IP Routing Protocol Overview Router A Router F 13.0.0.1 13.0.0.2 13.0.0.0 16.0.0.1 11.0.0.1 13.0.0.3 Router D 11.0.0.0 16.0.0.0 14.0.0.2 11.0.0.2 16.0.0.2 14.0.0.1 14.0.0.3 Router B Router G 14.0.0.0 17.0.0.1 12.0.0.1...
  • Page 5: Route Backup

    Operation Manual – Static Route H3C S3100-52P Ethernet Switch Chapter 1 IP Routing Protocol Overview Note: The smaller the priority value, the higher the priority. The priority for a direct route is always 0, which you cannot change. Any other type of routes can have their priorities manually configured.
  • Page 6 Operation Manual – Static Route H3C S3100-52P Ethernet Switch Chapter 1 IP Routing Protocol Overview To do… Use the command… Remarks Clear statistics about a reset ip routing-table statistics Available in routing table protocol { all | protocol } user view...
  • Page 7: Chapter 2 Static Route Configuration

    Operation Manual – Static Route H3C S3100-52P Ethernet Switch Chapter 2 Static Route Configuration Chapter 2 Static Route Configuration When configuring a static route, go to these sections for information you are interested Introduction to Static Route Static Route Configuration...
  • Page 8: Default Route

    Operation Manual – Static Route H3C S3100-52P Ethernet Switch Chapter 2 Static Route Configuration Blackhole route: route with blackhole attribute. If a static route destined for a destination has the blackhole attribute, the outgoing interface of this route is the Null 0 interface regardless of the next hop address, and all the IP packets addressed to this destination will be dropped without notifying the source hosts.
  • Page 9: Displaying And Maintaining Static Routes

    Operation Manual – Static Route H3C S3100-52P Ethernet Switch Chapter 2 Static Route Configuration Note: Use the ip route-static command to configure a default route by setting the destination IP address and the mask to 0.0.0.0. Avoid configuring the next hop address of a static route to the address of an interface on the local switch.
  • Page 10 Operation Manual – Static Route H3C S3100-52P Ethernet Switch Chapter 2 Static Route Configuration Figure 2-1 Network diagram for static route configuration III. Configuration procedure Note: When only one interface of the device is interconnected with another network segment, you can implement network communication by configuring either a static route or default route.
  • Page 11: Troubleshooting A Static Route

    Operation Manual – Static Route H3C S3100-52P Ethernet Switch Chapter 2 Static Route Configuration [SwitchB] ip route-static 0.0.0.0 0.0.0.0 1.1.3.1 # Configure static routes on Switch C. <SwitchC> system-view [SwitchC] ip route-static 1.1.1.0 255.255.255.0 1.1.2.1 [SwitchC] ip route-static 1.1.4.0 255.255.255.0 1.1.3.2 Perform the following configurations on the host.

Table of Contents