Canoga-perkins 9175 Command Reference Uživatelský manuál Strana 341

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 790
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 340
CanogaOS Command Reference
19-10
No match local-preference is specified by default.
Examples
Switch# configure terminal
Switch(config)# route-map mymap permit 3
Switch(config-route-map)# match local-preference 100
Related Commands
match community
match as-path
set as-path
set community
match ip next-hop
19.10 match metric
Use this command to match a metric of a route.
Use the no parameter with this command to disable this function.
The match metric command specifies the metric to be matched. If there is a match for the
specified metric, and permit is specified, the route is redistributed or controlled as specified by
the set action. If the match criteria are met, and deny is specified, the route is not redistributed
or controlled. If the match criteria are not met, the route is neither accepted nor forwarded,
irrespective of permit or deny specifications.
The route specified by the policies might not be the same as specified by the routing protocols.
Setting policies enable packets to take different routes depending on their length or content.
Packet forwarding based on configured policies overrides packet forwarding specified in routing
tables.
Note:
This command is valid for BGP, OSPF and RIP only.
Command Syntax
match metric METRICVAL
no match metric
Syntax Description
METRICVAL <+/-metric>|<0-4294967295> The metric value.
Command Mode
Route-map mode
Zobrazit stránku 340
1 2 ... 336 337 338 339 340 341 342 343 344 345 346 ... 789 790

Komentáře k této Příručce

Žádné komentáře