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.
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.
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.
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...
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.
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.
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.
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.
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.
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.
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...
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.