F3215-HP Load Balancing Module Network Management Command Reference-6PW101
557
Examples
# Configure node 10 in permit mode of routing policy policy1 to permit routing information with the
outbound interface as GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match interface gigabitethernet 0/1
if-match route-type
Use if-match route-type to configure a route type match criterion.
Use undo if-match route-type to remove the match criterion.
Syntax
if-match route-type { external-type1 | external-type1or2 | external-type2 | internal |
nssa-external-type1 | nssa-external-type1or2 | nssa-external-type2 } *
undo if-match route-type [ external-type1 | external-type1or2 | external-type2 | internal |
nssa-external-type1 | nssa-external-type1or2 | nssa-external-type2 ] *
Default
The match criterion is not configured.
Views
Routing policy view
Default command level
2: System level
Parameters
external-type1: Matches OSPF Type 1 external routes.
external-type1or2: Matches OSPF Type 1 or 2 external routes.
external-type2: Matches OSPF Type 2 external routes.
internal: Matches internal routes (OSPF intra-area and inter-area routes).
nssa-external-type1: Matches OSPF NSSA Type 1 external routes.
nssa-external-type1or2: Matches OSPF NSSA Type 1 or 2 external routes.
nssa-external-type2: Matches OSPF NSSA Type 2 external routes.
Examples
# Configure node 10 in permit mode of routing policy policy1 to match OSPF internal routes.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match route-type internal
if-match tag
Use if-match tag to match routing information having the specified tag.
Use undo if-match tag to remove the match criterion.