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