H3C S5120-EI Series Configuration Manual Download Page 12

 

12 

The following table lists some routing protocols and the default priorities for routes found by them: 

Routing approach 

Priority 

DIRECT

 

STATIC 60 

UNKNOWN 256 

 

 

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. 

 

Each static route can be configured with a different priority. 

 

IPv4 and IPv6 routes have their own respective routing tables. 

Displaying and maintaining a routing table 

To do… 

Use the command… 

Remarks 

Display brief information about the 
active routes in the routing table

 

display ip routing-table

 [ 

verbose 

|

 | 

begin 

|

 exclude 

|

 include

 } 

regular-expression 

Available in 
any view 

Display information about routes to the 
specified destination

 

display ip routing-table

 

ip-address

 [ 

mask-length 

| mask 

] [ 

longer-match

 ] [ 

verbose

 ] 

Available in 
any view 

Display information about routes with 
destination addresses in the specified 

range

 

display ip routing-table

 

ip-address1

 { 

mask-

length | mask

 } 

ip-address2

 { 

mask-length | mask

 } [ 

verbose

 ]

 

Available in 
any view

 

Display routes of a routing protocol

 

display ip routing-table

 

protocol 

protocol

 [ 

inactive 

verbose

 ]

 

Available in 
any view

 

Display statistics about the network 
routing table

 

display ip routing-table

 

statistics 

Available in 
any view

 

Clear statistics for the routing table

 

reset ip routing-table statistics protocol 

{

 all 

|

 

protocol 

}

 

Available in 
user view 

Display brief IPv6 routing table 
information 

display ipv6 routing-table 

Available in 
any view 

Display verbose IPv6 routing table 
information 

display ipv6 routing-table verbose 

Available in 
any view 

Display routing information for a 
specified destination IPv6 address 

display ipv6 routing-table

 

ipv6-address

 

prefix-

length 

longer-match

 ] [ 

verbose

 ]

 

Available in 
any view 

Display IPv6 routing information of a 
routing protocol 

display ipv6 routing-table

 

protocol

 protocol

 [ 

inactive 

verbose

 ]

 

Available in 
any view 

Display IPv6 routing statistics 

display ipv6 routing-table statistics 

Available in 
any view 

Display IPv6 routing information for an 
IPv6 address range 

display ipv6 routing-table

 

ipv6-address1 prefix-

length1

 

ipv6-address2 prefix-length2

 [ 

verbose

 ]

 

Available in 
any view 

Clear specified IPv6 routing table 

reset ipv6 routing-table statistics protocol

 { 

Available in 

Summary of Contents for S5120-EI Series

Page 1: ...H3C S5120 EI Series Ethernet Switches Layer 3 IP Routing Configuration Guide Hangzhou H3C Technologies Co Ltd http www h3c com...

Page 2: ...hou H3C Technologies Co Ltd All other trademarks that may be mentioned in this manual are the property of their respective owners Notice The information in this document is subject to change without n...

Page 3: ...se configuration guides also provide configuration examples to help you apply software features to different network scenarios This preface includes Audience Conventions About the H3C S5120 EI Documen...

Page 4: ...se optional syntax choices separated by vertical bars from which you may select multiple choices or none 1 n The argument or keyword and argument combination before the ampersand sign can be entered 1...

Page 5: ...neric network device such as a router switch or firewall Represents a routing capable device such as a router or Layer 3 switch Represents a generic switch such as a Layer 2 or Layer 3 switch or a rou...

Page 6: ...luggable SFP SFP XFP Transceiver Modules Installation Guide Guides you through installing SFP SFP XFP transceiver modules Adjustable Slider Rail Installation Guide Guides you through installing adjust...

Page 7: ...chnical Documents Provides hardware installation software upgrading and software feature configuration and maintenance documentation Products Solutions Provides information about products and technolo...

Page 8: ...he static route s nexthop 16 Detecting nexthop reachability through track 16 Displaying and maintaining static routes 16 Static route configuration example 17 Basic static route configuration example...

Page 9: ...utes that are manually configured Dynamic routes Routes that are discovered dynamically by routing protocols Dynamic routing protocol is not supported on the S5120 EI Series Ethernet Switches Each ent...

Page 10: ...op Priority for the route Routes to the same destination but having different nexthops may have different priorities and be found by various routing protocols or manually configured The optimal route...

Page 11: ...back is that you must reconfigure it whenever the network topology changes it cannot self adjust to network changes Dynamic routing is based on dynamic routing protocols which can detect network topol...

Page 12: ...sk verbose Available in any view Display routes of a routing protocol display ip routing table protocol protocol inactive verbose Available in any view Display statistics about the network routing tab...

Page 13: ...13 To do Use the command Remarks statistics all protocol user view...

Page 14: ...in the routing table can be forwarded to a designated upstream router A router selects the default route only when it cannot find any matching entry in the routing table If the destination address of...

Page 15: ...r related interfaces Configure the link layer attributes for related interfaces Configure the IP addresses for related interfaces Configuration procedure Follow these steps to configure a static route...

Page 16: ...first For detailed Track configuration procedure refer to Track Configuration in the High Availability Configuration Guide Configuration procedure Follow these steps to detect the reachability of a st...

Page 17: ...Figure 2 Static routes are required for interconnection between any two hosts Figure 2 Network diagram for static route configuration Configuration procedure 1 Configuring IP addresses for interfaces...

Page 18: ...IP routing table of Switch B SwitchB display ip routing table Routing Tables Public Destinations 10 Routes 10 Destination Mask Proto Pre Cost NextHop Interface 1 1 2 0 24 Static 60 0 1 1 4 1 Vlan500 1...

Page 19: ...ss Approximate round trip times in milli seconds Minimum 1ms Maximum 1ms Average 1ms Use the tracert command on Host B to check reachability to Host A HostB tracert 1 1 2 2 Tracing route to 1 1 2 2 ov...

Page 20: ...op addresses IPv6 static routes use IPv6 addresses whereas IPv4 static routes use IPv4 addresses Default IPv6 route An IPv6 static route with a destination prefix of 0 is a default IPv6 route The defa...

Page 21: ...stem view Use the undo ipv6 route static command to delete a single IPv6 static route The delete ipv6 static routes all command deletes all IPv6 static routes including the default route For more info...

Page 22: ...re the default gateway of Host A as 1 1 that of Host B as 2 1 and that of Host C as 3 1 4 Display configuration information Display the IPv6 routing table of SwitchA SwitchA display ipv6 routing table...

Page 23: ...54 time 62 ms Reply from 3 1 bytes 56 Sequence 3 hop limit 254 time 62 ms Reply from 3 1 bytes 56 Sequence 4 hop limit 254 time 63 ms Reply from 3 1 bytes 56 Sequence 5 hop limit 254 time 63 ms 3 1 pi...

Page 24: ...chase value added services To enhance response times or extend warranty benefits contact 3Com or your authorized reseller Value added services like ExpressSM and GuardianSM can include 24x7 telephone...

Page 25: ...of the warranty and other service benefits available to you When you contact 3Com for assistance please have the following information ready Product model name part number and serial number Proof of p...

Page 26: ...red Forwarding AFI Address Family Identifier and Authority and Format Identifier ALG Application Layer Gateway AM Accounting Management AMB Active Main Board ANSI American National Standard Institute...

Page 27: ...strap Router BT BitTorrent BS BSR State BT Burst Tolerance C Return C BSR Candidate Bootstrap Router C RP Candidate Rendezvous Point CA Call Appearance CA Certificate Authority CAR Committed Access Ra...

Page 28: ...revocation list CR LSP Constraint based Routing LSP CR LDP Constraint based Routing LDP CSMA CD Carrier Sense Multiple Access Collision Detect CSNP Complete Sequence Number Packet CSPF Constraint Shor...

Page 29: ...Link Layer Address D V Distance Vector Routing Algorithm DVMRP Distance Vector Multicast Routing Protocol DWDM Dense Wavelength Division Multiplexing E Return EACL Enhanced ACL EAD Endpoint Admission...

Page 30: ...GARP Generic Attribute Registration Protocol GE Gigabit Ethernet GR Graceful Restart GRE Generic Routing Encapsulation GTS Generic Traffic Shaping GVRP GARP VLAN Registration Protocol H Return HA Hig...

Page 31: ...and Electronics Engineers IETF Internet Engineering Task Force IGMP Internet Group Management Protocol IGMP Snooping Internet Group Management Protocol Snooping IGP Interior Gateway Protocol IIH IS to...

Page 32: ...2 Virtual Private Network L3VPN Layer 3 Virtual Private Network LACP Link Aggregation Control Protocol LACPDU Link Aggregation Control Protocol Data Unit LAN Local Area Network LAPB Link Access Proced...

Page 33: ...SU Link State Update LT Linktrace LTM Lintrace Message LTR Linktrace Reply Message LVF Listening Virtual Forwarder M Return MA Maintenance Association MAC Media Access Control MAD Multi Active Detecti...

Page 34: ...l Label Switching MPLSFW Multi protocol Label Switch Forward MPM Multicast Port Management MSC Mobile Switching Center MSDP Multicast Source Discovery Protocol MSOH Multiplex Section Overhead MSTI Mul...

Page 35: ...anagement Station NPDU Network Protocol Data Unit NPE Network Provider Edge NQA Network Quality Analyzer NS Neighbor Solicitation NSAP Network Service Access Point NSC NetStream Collector N SEL NSAP S...

Page 36: ...imate Hop Popping PHY Physical Layer PIM Protocol Independent Multicast PIM DM Protocol Independent Multicast Dense Mode PIM SM Protocol Independent Multicast Sparse Mode PIR Peak Information Rate PKC...

Page 37: ...Advertisement RADIUS Remote Authentication Dial in User Service RALM RADIUS Authenticated Login using MAC address RAM Random Access Memory RD Routing Domain RD Router Distinguisher RED Random Early D...

Page 38: ...otocol S Return SA Source Active or Suppress Advertisement SAFI Subsequent Address Family Identifier SBM Sub network Bandwidth Management SCEP Simple Certificate Enrollment Protocol SCFF Single Choke...

Page 39: ...r SSM Source Specific Multicast ST Shared Tree STelnet Secure Telnet STM 1 SDH Transport Module 1 STM 16 SDH Transport Module 16 STM 16c SDH Transport Module 16c STM 4c SDH Transport Module 4c STP Spa...

Page 40: ...verse Path Forwarding USM User Based Security Model V Return VBR Variable Bit Rate VCI Virtual Channel Identifier VE Virtual Ethernet VF Virtual Forwarder VFS Virtual File System VLAN Virtual Local Ar...

Page 41: ...AN Wide Area Network WFQ Weighted Fair Queuing WINS Windows Internet Naming Service WLAN Wireless Local Area Network WRED Weighted Random Early Detection WRR Weighted Round Robin WTR Wait to Restore W...

Page 42: ...v6 static routing configuration 20 21 configuring static route 20 default route 20 displaying static route 21 features 20 maintaining static route 21 local routing table IP routing 9 maintaining routi...

Page 43: ...otocol routing table IP routing 9 protocols IP routing 1 1 routing table IP routing 9 routing table contents IP routing 10 static IP routing 1 1 static route 14 static routing application environment...

Reviews: