6-3
Parameters
value
: Tag value, in the range 0 to 4294967295.
Description
Use the
apply tag
command to set a specified tag value for RIP routing information.
Use the
undo apply tag
command to remove the clause configuration.
No routing tag is set for RIP routing information by default.
Related commands:
if-match interface
,
if-match acl
,
if-match ip-prefix
,
if-match ip next-hop
,
if-match cost
,
if-match tag
,
route-policy
,
apply ip-address next-hop
,
apply cost
.
Examples
# Configure node 10 in permit mode of route policy
policy1
: If a route matches exsting ACL 2000, set
the tag of the route to 100.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match acl 2000
[Sysname-route-policy] apply tag 100
display route-policy
Syntax
display route-policy
[
route-policy-name
]
View
Any view
Default Level
1: Monitor level
Parameters
route-policy-name
: Route policy name, a string of 1 to 19 characters.
Description
Use the
display route-policy
command to display route policy information.
All route policy information will be displayed if no
route-policy-name
is specified.
Related commands:
route-policy
.
Examples
# Display the information of route policy 1.
<Sysname> display route-policy policy1
Route-policy : policy1
permit : 10
if-match ip-prefix abc
apply cost 120
Содержание 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 ...