Juniper Networks Field Guide and Reference

Table 13.11. Routing Policy

Information to Monitor Command Example
Configured routing policies show policy

user@host> show policy Configured policies: test-statics > show policy test-statics Policy test-statics: from 3.0.0.0/8 accept 3.1.0.0/16 accept then reject

Test import and export policies test policy

user@host> test policy test-statics 3.0.0.1/8 inet.0: 44 destinations, 44 routes (44 active, 0 holddown, 0 hidden) Prefixes passing policy: 3.0.0.0/8 *[BGP/170] 16:22:46, localpref 100, from 10.255.255.41 AS Path: 50888 I > to 10.11.4.32 via en0.2, label-switched- path l2 3.3.3.1/32 *[IS-IS/18] 2d 00:21:46, metric 0, tag 2 > to 10.0.4.7 via fxp0.0 3.3.3.2/32 *[IS-IS/18] 2d 00:21:46, metric 0, tag 2 > to 10.0.4.7 via fxp0.0 3.3.3.3/32 *[IS-IS/18] 2d 00:21:46, metric 0, tag 2 > to 10.0.4.7 via fxp0.0 3.3.3.4/32 *[IS-IS/18] 2d 00:21:46, metric 0, tag 2 > to 10.0.4.7 via fxp0.0 Policy test-statics: 5 prefixes accepted, 0 prefixes rejected

Configured BGP damping parameters that can be used in policy filters. show policy damping

user@host> show policy damping Default damping information: Halflife: 15 minutes Reuse merit: 750 Suppress/cutoff merit: 3000 Maximum suppress time: 60 minutes Computed values: Merit ceiling: 12110 Maximum decay: 6193

Routes that have been damped show route inactive

user@host> show route inactive inet.0: 12 destinations, 12 routes (11 active, 0 holddown, 1 hidden) + = Active Route, - = Last Active, * = Both 127.0.0.1/32 [Direct/0] 19:40:17 > via lo0.0

Категории