Static Route Configuration Examples; Basic Static Route Configuration Example - HP HPE FlexNetwork 7500 series Configuration Manual

Table of Contents

Advertisement

Static route configuration examples

Basic static route configuration example

Network requirements
As shown in
hosts.
Figure 2 Network diagram
Vlan-int300
1.1.2.3/24
Host A
1.1.2.2/24
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Configure static routes:
# 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
3.
Configure the default gateways of Host A, Host B, and Host C as 1.1.2.3, 1.1.6.1, and 1.1.3.1.
(Details not shown.)
Verifying the configuration
# Display static routes on Switch A.
[SwitchA] display ip routing-table protocol static
Summary Count : 1
Static Routing table Status : <Active>
Summary Count : 1
Figure
2, configure static routes on the switches for interconnections between any two
Vlan-int500
1.1.4.2/30
Switch B
Vlan-int500
1.1.4.1/30
Switch A
Host B
1.1.6.2/24
Vlan-int100
1.1.6.1/24
Vlan-int600
1.1.5.5/30
Vlan-int600
1.1.5.6/30
Vlan-int900
1.1.3.1/24
Switch C
15
Host C
1.1.3.2/24

Advertisement

Table of Contents
loading

Table of Contents