Huawei Quidway S2700 series Configuration Manual

Huawei Quidway S2700 series Configuration Manual

Hide thumbs Also See for Quidway S2700 series:

Advertisement

Quidway S2700 Series Ethernet Switches
V100R006C00
Configuration Guide - IP Routing
Issue
01
Date
2011-07-15
HUAWEI TECHNOLOGIES CO., LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Huawei Quidway S2700 series

  • Page 1 Quidway S2700 Series Ethernet Switches V100R006C00 Configuration Guide - IP Routing Issue Date 2011-07-15 HUAWEI TECHNOLOGIES CO., LTD.
  • Page 2 All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope.
  • Page 3: About This Document

    Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing About This Document About This Document Intended Audience This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the S2700, including static routes. This document describes how to configure the IP routing features.
  • Page 4: Command Conventions

    Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing About This Document Command Conventions The command conventions that may be found in this document are defined as follows. Convention Description Boldface The keywords of a command line are in boldface.
  • Page 5: Table Of Contents

    Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing Contents Contents About This Document........................ii 1 IP Static Route Configuration.....................1 1.1 Static Route.................................2 1.2 Static Routing Features Supported by the S2700....................2 1.3 Configuring an IPv4 Static Route........................3 1.3.1 Establishing the Configuration Task......................3 1.3.2 Configuring an IPv4 Static Route......................4...
  • Page 6: Ip Static Route Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing 1 IP Static Route Configuration IP Static Route Configuration About This Chapter Static routes are applicable to simple networks. Properly configuring and using static routes improve the network performance and help ensure bandwidth for important services.
  • Page 7: Static Route

    Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing 1 IP Static Route Configuration 1.1 Static Route Static routes are a special type of routes that need to be manually configured. On a simple network, you only need to configure static routes so that the network can run properly.
  • Page 8: Configuring An Ipv4 Static Route

    Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing 1 IP Static Route Configuration 0.0.0.0. You can run the display ip routing-table command to check whether the default route is configured. If the destination address of a packet does not match any entry in the routing table, the switch uses the default route to forward this packet.
  • Page 9: Configuring An Ipv4 Static Route

    Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing 1 IP Static Route Configuration Configuring link layer protocol parameters and IP addresses for interfaces to ensure that the link layer protocol status of the interfaces is Up Data Preparation To configure an IPv4 static route, you need the following data.
  • Page 10: Checking The Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing 1 IP Static Route Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: ip route-static default-preference preference The default preference is set for static routes.
  • Page 11: Configuring An Ipv6 Static Route

    Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing 1 IP Static Route Configuration Configuring link layer protocol parameters and IP addresses for interfaces to ensure that the link layer protocol status of the interfaces is Up Data Preparation To configure an IPv6 static route, you need the following data.
  • Page 12: Checking The Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing 1 IP Static Route Configuration Context Do as follows on the switch that need to be configured with IPv6 static routes and change the default priority for IPv6 static routes:...
  • Page 13 Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing 1 IP Static Route Configuration Figure 1-1 Networking diagram for configuring IPv4 static routes 1.1.2.2/24 Eth0/0/3 Eth0/0/1 Eth0/0/2 Switch B Switch C Switch A Eth0/0/1 Eth0/0/1 Eth0/0/2 Eth0/0/2 1.1.1.2/24 1.1.3.2/24...
  • Page 14 Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing 1 IP Static Route Configuration The destination address of Switch B is 1.1.3.0, and the next hop address of the static route is 1.1.4.6. The next hop address of the default route on Switch C is 1.1.4.5.
  • Page 15 Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing 1 IP Static Route Configuration # Run the tracert command to verify the connectivity. [SwitchA] tracert 1.1.3.1 traceroute to 1.1.3.1(1.1.3.1), max hops: 30 ,packet length: 40 1 1.1.4.2 31 ms...
  • Page 16: Example For Configuring Ipv6 Static Routes

    Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing 1 IP Static Route Configuration vlan batch 20 50 interface Vlanif20 ip address 1.1.4.6 255.255.255.252 interface Vlanif40 ip address 1.1.3.1 255.255.255.0 interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 20...
  • Page 17 Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing 1 IP Static Route Configuration Configure the IPv6 static route and the default route to the destination address on each Switch. Configure the IPv6 default gateway on each host to make any two hosts reachable.
  • Page 18 Quidway S2700 Series Ethernet Switches Configuration Guide - IP Routing 1 IP Static Route Configuration return Configuration file of Switch-C sysname Switch-C ipv6 interface Vlanif2 ipv6 address 5::2/64 interface Vlanif1 ipv6 address 3::1/64 ipv6 route-static :: 0 5::1 return Issue 01 (2011-07-15) Huawei Proprietary and Confidential Copyright ©...

Table of Contents