1-9
# Display route entries by specifying a destination IP address and mask and the
longer-match
keyword.
[Sysname] display ip routing-table 11.1.1.1 24 longer-match
Routing Table : Public
Summary Count : 1
Destination/Mask Proto Pre Cost NextHop Interface
11.1.1.0/24 Static 60 0 0.0.0.0 NULL0
For detailed description of the above output, see
# Display route entries for destination addresses in the range 1.1.1.0 to 5.5.5.0.
<Sysname> display ip routing-table 1.1.1.0 24 5.5.5.0 24
Routing Table : Public
Destination/Mask Proto Pre Cost NextHop Interface
1.1.1.0/24 Direct 0 0 1.1.1.1 Vlan1
1.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
2.2.2.0/24 Direct 0 0 2.2.2.1 Vlan2
2.2.2.1/32 Direct 0 0 127.0.0.1 InLoop0
display ip routing-table ip-prefix
Syntax
display ip routing-table ip-prefix
ip-prefix-name
[
verbose
]
View
Any view
Default Level
1: Monitor level
Parameters
ip-prefix-name
: IP prefix list name, a string of 1 to 19 characters.
verbose
: Displays detailed routing table information, including that for inactive routes. With this
argument absent, the command displays only brief information about active routes.
Description
Use the
display ip routing-table ip-prefix
command to display information about routes permitted by
a specified prefix list.
This command is intended for the follow-up display of routing policies. If the specified prefix list is not
configured, detailed information about all routes (with the
verbose
keyword) or brief information about
all active routes (without the
verbose
keyword) is displayed.
Examples
# Configure a prefix list named
test
, permitting routes with a prefix of 2.2.2.0 and a mask length
between 24 and 32.
<Sysname> system-view
[Sysname] ip ip-prefix test permit 2.2.2.0 24 less-equal 32
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...