H3C S3100-52P Command Manual
H3C S3100-52P Command Manual

H3C S3100-52P Command Manual

Static route
Hide thumbs Also See for S3100-52P:

Advertisement

Command Manual - Static Route
H3C S3100-52P Ethernet Switch
Chapter 1 IP Routing Table Commands...................................................................................... 1-1
1.1 IP Routing Table Commands............................................................................................. 1-1
1.1.1 display ip routing-table ............................................................................................ 1-1
1.1.2 display ip routing-table acl....................................................................................... 1-3
1.1.3 display ip routing-table ip-address .......................................................................... 1-6
1.1.4 display ip routing-table ip-address1 ip-address2 .................................................... 1-7
1.1.5 display ip routing-table protocol .............................................................................. 1-8
1.1.6 display ip routing-table radix ................................................................................... 1-9
1.1.7 display ip routing-table statistics ........................................................................... 1-10
1.1.8 display ip routing-table verbose ............................................................................ 1-11
1.1.9 reset ip routing-table statistics protocol................................................................. 1-12
Chapter 2 Static Route Configuration Commands .................................................................... 2-1
2.1 Static Route Configuration Commands ............................................................................. 2-1
2.1.1 delete static-routes all ............................................................................................. 2-1
2.1.2 ip route-static........................................................................................................... 2-2

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S3100-52P and is the answer not in the manual?

Questions and answers

Summary of Contents for H3C S3100-52P

  • Page 1: Table Of Contents

    Command Manual – Static Route H3C S3100-52P Ethernet Switch Table of Contents Table of Contents Chapter 1 IP Routing Table Commands..................1-1 1.1 IP Routing Table Commands..................... 1-1 1.1.1 display ip routing-table .................... 1-1 1.1.2 display ip routing-table acl..................1-3 1.1.3 display ip routing-table ip-address ................
  • Page 2: Chapter 1 Ip Routing Table Commands

    Command Manual – Static Route Chapter 1 IP Routing Table H3C S3100-52P Ethernet Switch Commands Chapter 1 IP Routing Table Commands Note: The term router in this chapter refers to a router in a generic sense or an Ethernet switch running a routing protocol.
  • Page 3 Command Manual – Static Route Chapter 1 IP Routing Table H3C S3100-52P Ethernet Switch Commands This command displays the summary of the routing table. Each line represents one route, containing destination address/mask length, protocol, preference, cost, next hop, and output interface.
  • Page 4: Display Ip Routing-Table Acl

    Command Manual – Static Route Chapter 1 IP Routing Table H3C S3100-52P Ethernet Switch Commands 1.1.1.1/32 DIRECT 127.0.0.1 InLoopBack0 2.2.2.0/24 DIRECT 2.2.2.1 Vlan-interface2 2.2.2.1/32 DIRECT 127.0.0.1 InLoopBack0 3.3.3.0/24 DIRECT 3.3.3.1 Vlan-interface3 3.3.3.1/32 DIRECT 127.0.0.1 InLoopBack0 4.4.4.1/32 DIRECT 127.0.0.1 InLoopBack0 127.0.0.0/8 DIRECT 127.0.0.1...
  • Page 5 Command Manual – Static Route Chapter 1 IP Routing Table H3C S3100-52P Ethernet Switch Commands <Sysname> system-view System View: return to User View with Ctrl+Z. [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255 [Sysname-acl-basic-2000] rule deny source any...
  • Page 6 Command Manual – Static Route Chapter 1 IP Routing Table H3C S3100-52P Ethernet Switch Commands Field Description Description of route state: ActiveU An active unicast route, where “U” represents unicast. A blackhole route is similar to a reject route, but no ICMP Blackhole unreachable message is sent to the source.
  • Page 7: Display Ip Routing-Table Ip-Address

    Command Manual – Static Route Chapter 1 IP Routing Table H3C S3100-52P Ethernet Switch Commands 1.1.3 display ip routing-table ip-address Syntax display ip routing-table ip-address [ mask | mask-length ] [ longer-match ] [ verbose ] View Any view Parameters ip-address: Destination IP address, in dotted decimal notation.
  • Page 8: Display Ip Routing-Table Ip-Address1 Ip-Address2

    Command Manual – Static Route Chapter 1 IP Routing Table H3C S3100-52P Ethernet Switch Commands <Sysname> display ip routing-table 169.0.0.0 Destination/Mask Protocol Pre Cost Nexthop Interface 169.0.0.0/16 Static 2.1.1.1 LoopBack1 For descriptions of the above fields, see Table 1-1. # Display the detailed information of routes with a natural mask.
  • Page 9: Display Ip Routing-Table Protocol

    Command Manual – Static Route Chapter 1 IP Routing Table H3C S3100-52P Ethernet Switch Commands Examples # Display the routing information of destination addresses ranging from 1.1.1.0 to 2.2.2.0. <Sysname>display ip routing-table 1.1.1.0 24 2.2.2.0 24 Routing tables: Summary count: 3...
  • Page 10: Display Ip Routing-Table Radix

    Command Manual – Static Route Chapter 1 IP Routing Table H3C S3100-52P Ethernet Switch Commands DIRECT Routing tables status:<active>: Summary count: 3 Destination/Mask Protocol Pre Cost Nexthop Interface 20.1.1.1/32 DIRECT 127.0.0.1 InLoopBack0 127.0.0.0/8 DIRECT 127.0.0.1 InLoopBack0 127.0.0.1/32 DIRECT 127.0.0.1 InLoopBack0 DIRECT Routing tables status:<inactive>:...
  • Page 11: Display Ip Routing-Table Statistics

    Command Manual – Static Route Chapter 1 IP Routing Table H3C S3100-52P Ethernet Switch Commands Table 1-3 Description on the fields of the display ip routing-table radix command Field Description INET Address suite Inodes Number of nodes Routes Number of routes 1.1.7 display ip routing-table statistics...
  • Page 12: Display Ip Routing-Table Verbose

    Command Manual – Static Route Chapter 1 IP Routing Table H3C S3100-52P Ethernet Switch Commands Field Description active Number of active routes Number of routes added after the router is rebooted or the added routing table is cleared last time.
  • Page 13: Reset Ip Routing-Table Statistics Protocol

    Command Manual – Static Route Chapter 1 IP Routing Table H3C S3100-52P Ethernet Switch Commands State: <NoAdvise Int ActiveU Retain Gateway Unicast> Age: 20:17:42 Cost: 0/0 **Destination: 2.2.2.0 Mask: 255.255.255.0 Protocol: #DIRECT Preference: 0 *NextHop: 2.2.2.1 Interface: 2.2.2.1(Vlan-interface2) State: <Int ActiveU Retain Unicast>...
  • Page 14 Command Manual – Static Route Chapter 1 IP Routing Table H3C S3100-52P Ethernet Switch Commands STATIC Total # Clear the routing statistics of all protocols from the IP routing table. <Sysname> reset ip routing-table statistics protocol all # Display the routing statistics in the IP routing table.
  • Page 15: Chapter 2 Static Route Configuration Commands

    Command Manual – Static Route H3C S3100-52P Ethernet Switch Chapter 2 Static Route Configuration Commands Chapter 2 Static Route Configuration Commands Note: The term router in this chapter refers to a router in a generic sense or an Ethernet switch running a routing protocol.
  • Page 16: Ip Route-Static

    Command Manual – Static Route H3C S3100-52P Ethernet Switch Chapter 2 Static Route Configuration Commands 2.1.2 ip route-static Syntax ip route-static ip-address { mask | mask-length } { interface-type interface-number | next-hop } [ preference preference-value ] [ reject | blackhole ] [ description text ]...
  • Page 17 Command Manual – Static Route H3C S3100-52P Ethernet Switch Chapter 2 Static Route Configuration Commands Use the undo ip route-static command to delete a static route. By default, the system can obtain the subnet route directly connected to the router.

Table of Contents