A SERVICE OF

logo

813
display policy-based-route
Syntax display policy-based-route [ policy-name ]
View Any view
Parameters policy-name: Policy name, a string of 1 to 19 characters.
Description Use the
display policy-based-route command to display the configured policy
routing information.
Examples # Display the configured policy routing information.
<Sysname> display policy-based-route
policy-based-route : aaa
Node 1 permit :
apply output-interface Vlan-interface2
if-match acl
Syntax if-match acl acl-number
undo if-match acl
View policy-based-route view
Parameters acl-number: ACL number, in the range of 2000 to 3999. The number of a basic
ACL ranges from 2000 to 2999 and that of an advanced ACL ranges from 3000 to
3999.
Description Use the
if-match acl command to define an ACL match rule.
Use the
undo if-match acl command to remove the ACL match rule.
Related commands: if-match packet-length.
Examples # Permit the packets satisfying ACL 2010.
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-policy-based-route] if-match acl 2010
Table 168 Description on the fields of the display policy-based-route command
Field Description
policy-based-route : aaa The policy name is aaa.
Node 1 permit : The match mode of node 1 is permit.
apply output-interface Vlan-interface2 The outgoing interface of matched packets
is Ethernet1/0.