Displaying And Debugging Static Route; Typical Static Route Configuration Example - 3Com 4200G 12-Port Configuration Manual

4200g series switch
Hide thumbs Also See for 4200G 12-Port:
Table of Contents

Advertisement

Configuring a default
route
Deleting All The Static
Routes
Displaying and
Debugging Static
Route
Typical Static Route
Configuration
Example
Perform the following configurations in system view.
Table 345 Configuring a default route
Operation
Command
Configure a default
ip route-static 0.0.0.0 { 0.0.0.0 | 0 } { interface-type interface-number |
route
next-hop } [ preference value ] [ reject | blackhole ]
Delete a default route
undo ip route-static 0.0.0.0 { 0.0.0.0 | 0 } [ interface-type
interface-number | next-hop ] [ preference value ] [ reject blackhole ]
The meanings of parameters in the command are the same as those of the static
route.
You can use the undo ip route-static command to delete one static route. S4200G
Series ethernet switches also provide a special command for you to delete all static
routes at one time, including the default routes.
Perform the following configuration in system view.
Table 346 Deleting all static routes
Operation
Delete all static routes
After the above configuration, execute display command in any view to display the
running of the Static Route configuration, and to verify the effect of the
configuration.
Table 347 Displaying and debugging the routing table
Operation
View routing table summary
View routing table details
View the detailed information of a specific
route
View the route information in the specified
address range
View the route filtered through specified basic
access control list (ACL)
View the route information that through
specified ip prefix list
View the routing information found by the
specified protocol
View the tree routing table
View the statistics of the routing table
Networking requirements
As shown in Figure 126, the masks of all the IP addresses in the figure are
255.255.255.0. It is required that all the hosts or S4200G Series Ethernet Switches
can be interconnected in pairs by configuring static routes.

Displaying and Debugging Static Route 403

Command
delete static-routes all
Command
display ip routing-table
display ip routing-table verbose
display ip routing-table ip_address [ mask ] [
longer-match ] [ verbose ]
display ip routing-table ip_address1 mask1
ip_address2 mask2 [ verbose ]
display ip routing-table acl acl-number [
verbose ]
display ip routing-table ip-prefix
ip-prefix-name [ verbose ]
display ip routing-table protocol protocol [
inactive | verbose ]
display ip routing-table radix
display ip routing-table statistics

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents