Static Route Configuration Examples; Basic Static Route Configuration Example - HP 3600 v2 series Configuration Manual

Hide thumbs Also See for 3600 v2 series:
Table of Contents

Advertisement

Static route configuration examples

Basic static route configuration example

Network requirements
The IP addresses and masks of the switches and hosts are shown in
for interconnection between any two hosts.
Figure 2 Network diagram
Configuration procedure
Configure IP addresses for interfaces. (Details not shown)
1.
Configure static routes.
2.
# Configure a default route on Switch A.
<SwitchA> system-view
[SwitchA] ip route-static 0.0.0.0 0.0.0.0 1.1.4.2
# Configure two static routes on Switch B.
<SwitchB> system-view
[SwitchB] ip route-static 1.1.2.0 255.255.255.0 1.1.4.1
[SwitchB] ip route-static 1.1.3.0 255.255.255.0 1.1.5.6
# Configure a default route on Switch C
<SwitchC> system-view
[SwitchC] ip route-static 0.0.0.0 0.0.0.0 1.1.5.5
Configure the hosts.
3.
The default gateways for hosts A, B, and C are 1.1.2.3, 1.1.6.1 and 1.1.3.1, respectively. The configuration
procedure is not shown.
Display the configuration.
4.
# Display the IP routing table of Switch A.
[SwitchA] display ip routing-table
Routing Tables: Public
Destinations : 7
Routes : 7
11
Figure
2. Static routes are required

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents