beautypg.com

3 displaying and maintaining the routing table, 4 static route configuration example, I. network requirements – H3C Technologies H3C S3100 Series Switches User Manual

Page 270

background image

Operation Manual – Routing Protocol

H3C S3100-52P Ethernet Switch

Chapter 2 Static Route Configuration

2-3

2.3 Displaying and Maintaining the Routing Table

After the above configuration, use the display command in any view to display and
verify the static route configuration.

Table 2-2

Display the routing table

Operation

Command

Description

Display routing table

summary

display ip routing-table

Display routing table

details

display ip routing-table verbose

Display the detailed

information of a

specific route

display ip routing-table ip-address

[ mask ] [ longer-match ] [ verbose ]

Display the routes in a

specified address

range

display ip routing-table

ip-address1

mask1

ip-address2

mask2

[ verbose ]

Display the routes

filtered through a

specified basic access

control list (ACL)

display ip routing-table acl

acl-number

[ verbose ]

Display the routes

filtered through a

specified IP prefix list

display ip routing-table ip-prefix

ip-prefix-name

[ verbose ]

Display the routes

discovered by a

specified protocol

display ip routing-table

protocol

protocol

[ inactive | verbose ]

Display the

tree-structured routing

table information

display ip routing-table radix

Display the statistics of

the routing table

display ip routing-table statistics

You can execute

the

display

command in any

view.

Clear statistics for the

public routing table

reset ip routing-table statistics
protocol

{ all | protocol }

You can execute

the

reset

command in user

view

2.4 Static Route Configuration Example

I. Network requirements

As shown in Figure 2-1, the masks of all the IP addresses in the figure are
255.255.255.0. It is required that all the hosts/Ethernet switches in the figure can
interconnect with each other by configuring static routes.