Displaying And Maintaining Static Routes; Basic Static Route Configuration Example - HP 830 Series Configuration Manual

Poe+ unified wired-wlan switch switching engine
Hide thumbs Also See for 830 Series:
Table of Contents

Advertisement

Displaying and maintaining static routes

Task
Display static route information.

Basic static route configuration example

Network requirements
Configure static routes in
Figure 53 Network diagram
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 hosts A, B, and C as 1.1.2.3, 1.1.6.1, and 1.1.3.1,
respectively. (Details not shown.)
4.
Verify the configuration:
# Display the IP routing table on Switch A.
[SwitchA] display ip routing-table
Command
display ip routing-table protocol static [ inactive |
verbose ] [ | { begin | exclude | include }
regular-expression ]
Figure 53
for interconnection between any two hosts.
125
Remarks
Available in any
view.

Advertisement

Table of Contents
loading

Table of Contents