470
C
HAPTER
5: N
ETWORK
P
ROTOCOL
Example
Specify forwarding interface as serial0/0/0 for the matched IP packet.
[3Com-route-policy] apply output-interface Serial 0/0/0
display ip policy
Syntax
display ip policy
View
Any view
Parameter
None
Description
Using the display ip policy command, you can view the routing policies of local
and configured interface policy routings. This command is used to display the
routing policies of local and configured interface policy routings.
Example
Display the routing policies of the local and configured interface policy routings.
<3Com> display ip policy
Route-policyInterface
pr02
Local
pr02
Virtual-Template0
pr01
Ethernet 0/0/0
The first line is prompt information. The first row shows where is used the routing
policy indicated in the second row. Take the first line as an example, "local"
indicates that the policy routing is used on the local router, i.e., all packets sent
from the local router (not forward through it) using the policy routing "pr02". The
second and third lines represent that the interfaces virtual-template0 and
Ethernet0/0/0 use route policy pr02 and pr01 respectively.
display ip policy setup
Syntax
display ip policy setup { policy-tag | local | interface interface-type
interface-number }
View
Any view
Parameter
■
policy-tag: Displays the setting information of policy routings identified by
map-tag.
■
local: Displays the setting information of local policy routings.
■
interface: Displays the setting information of interface policy routings.
■
interface-type: Interface type.
■
interface-number: Interface number.
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...