[Sysname-Vlan-interface10] ip address 1.1.1.1 255.255.255.0
[Sysname-Vlan-interface10] quit
# Configure the default route.
[Sysname] ip route-static 0.0.0.0 0.0.0.0 1.1.1.2
Displaying and Maintaining management VLAN configuration
Table 1-2 Displaying and Maintaining management VLAN configuration
Operation
Display the IP-related
information about a
management VLAN interface
Display the information about a
management VLAN interface
Display summary information
about the routing table
Display detailed information
about the routing table
Display the routes leading to a
specified IP address
Display the routes leading to a
specified IP address range
Display the routing information
of the specified protocol
Display the routes that match a
specified basic access control
list (ACL)
Display the routes that match a
specified IP prefix
Display the routing table in a
tree structure
Display the statistics on the
routing table
Clear statistics about a routing
table
Delete all static routes
Command
display ip interface [ brief ]
[ Vlan-interface [ vlan-id ] ]
display interface
Vlan-interface [ vlan-id ]
display ip routing-table [ |
{ begin | exclude | include }
regular-expression ]
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
protocol protocol [ inactive |
verbose ]
display ip routing-table acl
acl-number [ verbose ]
display ip routing-table
ip-prefix ip-prefix-name
[ verbose ]
display ip routing-table radix
display ip routing-table
statistics
reset ip routing-table
statistics protocol { all |
protocol }
delete static-routes all
1-4
Remarks
Optional
Available in any view.
Use the reset command in user
view
Use the delete command in
system view.