H3C S5120-HI Series Configuration Manual

H3C S5120-HI Series Configuration Manual

Hide thumbs Also See for S5120-HI Series:

Advertisement

Quick Links

H3C S5120-HI Switch Series
Layer 3 - IP Routing Configuration Guide
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release 5501
Document version: 6W100-20140103

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5120-HI Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C S5120-HI Series

  • Page 1 H3C S5120-HI Switch Series Layer 3 - IP Routing Configuration Guide Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release 5501 Document version: 6W100-20140103...
  • Page 2 Copyright © 2014, Hangzhou H3C Technologies Co., Ltd. and its licensors All rights reserved No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of Hangzhou H3C Technologies Co., Ltd.
  • Page 3 Preface The H3C S5120-HI documentation set includes 1 1 configuration guides, which describe the software features for the H3C S5120-HI Switch Series and guide you through the software configuration procedures. These configuration guides also provide configuration examples to help you apply software features to different network scenarios.
  • Page 4 Convention Description Square brackets enclose a set of optional syntax choices separated by vertical bars, from [ x | y | ... ] which you select one or none. Asterisk marked braces enclose a set of required syntax choices separated by vertical { x | y | ...
  • Page 5 Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your device. About the H3C S5120-HI documentation set The H3C S5120-HI documentation set includes: Category Documents Purposes Marketing brochure Describe product specifications and benefits.
  • Page 6 Obtaining documentation You can access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation: [Technical Support & Documents > Technical Documents] –...
  • Page 7: Table Of Contents

    Contents IP routing basics ··························································································································································· 1   Overview ············································································································································································ 1   Routing table ······································································································································································ 1   Routing preference ···························································································································································· 2   Route backup ····································································································································································· 2   Displaying and maintaining a routing table ·················································································································· 2   Configuring static routing ············································································································································ 4  ...
  • Page 8: Ip Routing Basics

    IP routing basics Overview IP routing directs the forwarding of IP packets on routers based on a routing table. This book focuses on unicast routing protocols. For more information about multicast routing protocols, see IP Multicast Configuration Guide. The term "router" in this chapter refers to both routers and Layer 3 switches. The types of interfaces that appear in any figures other than the network diagrams for configuration examples are for illustration only.
  • Page 9: Routing Preference

    2.2.2.0/24 Static 60 12.2.2.2 Vlan12 … A route entry includes the following key items: • Destination—IP address of the destination host or network. Mask—Mask length of the IP address. • Pre—Preference of the route. Among routes to the same destination, the one with the highest •...
  • Page 10 Task Command Remarks display ip routing-table ip-address [ mask Display information about routes to | mask-length ] [ longer-match ] Available in any view the specified destination. [ verbose ] [ | { begin | exclude | include } regular-expression ] display ip routing-table ip-address1 Display information about routes { mask | mask-length } ip-address2 { mask...
  • Page 11: Configuring Static Routing

    Configuring static routing Introduction Static route Static routes are manually configured. If a network's topology is simple, you only need to configure static routes for the network to work properly. The proper configuration and usage of static routes can improve network performance and ensure bandwidth for important network applications.
  • Page 12: Configuring A Static Route

    Configuring a static route Before you configure a static route, complete the following tasks: Configure the physical parameters for related interfaces. • Configure the link-layer attributes for related interfaces. • Configure the IP addresses for related interfaces. • Follow these guidelines when you configure a static route: The next hop address cannot be the IP address of a local interface (such as VLAN interface).
  • Page 13: Static Route Configuration Examples

    For more information about the display ip routing-table protocol static [ inactive | verbose ] [ | { begin | exclude | include } regular-expression ] command, see Layer 3—IP Routing Command Reference. Static route configuration examples Basic static route configuration example Network requirements Configure static routes in Figure 1...
  • Page 14 Destination/Mask Proto Cost NextHop Interface 0.0.0.0/0 Static 60 1.1.4.2 Vlan500 1.1.2.0/24 Direct 0 1.1.2.3 Vlan300 1.1.2.3/32 Direct 0 127.0.0.1 InLoop0 1.1.4.0/30 Direct 0 1.1.4.1 Vlan500 1.1.4.1/32 Direct 0 127.0.0.1 InLoop0 127.0.0.0/8 Direct 0 127.0.0.1 InLoop0 127.0.0.1/32 Direct 0 127.0.0.1 InLoop0 # Display the IP routing table on Switch B.
  • Page 15 1 ms <1 ms <1 ms 1.1.2.2 Trace complete.
  • Page 16: Configuring Ipv6 Static Routing

    Configuring IPv6 static routing Overview Static routes are manually configured. They work well in simple networks. Proper configuration and use can improve network performance and ensure enough bandwidth for important applications. Static routes cannot adapt to network topology changes. If a fault or a topological change occurs in the network, the network administrator has to modify the static routes manually.
  • Page 17: Displaying And Maintaining Ipv6 Static Routes

    Step Command Remarks Required. ipv6 route-static ipv6-address prefix-length { interface-type interface-number The default Configure an IPv6 static route. [ next-hop-address ] | next-hop-address } preference of IPv6 [ preference preference-value ] static routes is 60. NOTE: If you specify a broadcast interface, such as a VLAN interface, as the output interface for a static route, you must specify the next hop address.
  • Page 18: Configuration Procedure

    Figure 2 Network diagram Configuration procedure Configure the IPv6 addresses for all VLAN interfaces. (Details not shown.) Configure IPv6 static routes: # Enable IPv6 and configure a default IPv6 static route on Switch A. <SwitchA> system-view [SwitchA] ipv6 [SwitchA] ipv6 route-static :: 0 4::2 # Enable IPv6 and configure two IPv6 static routes on Switch B.
  • Page 19 Destination : 1::/64 Protocol : Direct NextHop : 1::1 Preference Interface : Vlan100 Cost Destination : 1::1/128 Protocol : Direct NextHop : ::1 Preference Interface : InLoop0 Cost Destination : FE80::/10 Protocol : Direct NextHop : :: Preference Interface : NULL0 Cost # Verify the connectivity with the ping command.
  • Page 20: Index

    Index C D I O R S IPv6 static routing configuration example,10 Configuring a static route,5 Configuring an IPv6 static route,9 Overview,1 Overview,9 Default IPv6 route,9 Displaying and maintaining a routing table,2 Route backup,2 Displaying and maintaining IPv6 static routes,10 Routing preference,2 Displaying and maintaining static...

Table of Contents