A metric is a weighted cost assigned to static and dynamic routes. Metrics determine the best route among several, usually the gateway with the lowest metric. This gateway is usually the default gateway.
Metrics have a value between 1 and 254; see Metric Value Descriptions. Lower metrics are considered better and take precedence over higher costs. SonicOS adheres to Cisco-defined metric values for directly connected interfaces, statically encoded routes, and all dynamic IP routing protocols.
| Metric Value | Description |
|---|---|
| 1 | Static Route |
| 5 | EIGRP Summary |
| 20 | External BGP |
| 90 | EIGRP |
| 100 | IGRP |
| 110 | OSPF |
| 115 | IS-IS |
| 120 | RIP |
| 140 | EGP |
| 170 | External EIGRP |
| 200 | Internal BGP |