https://www.juniper.net/documentation/en_US/junos/topics/usage-guidelines/policy-configuring-actions-in-routing-policy-terms.html
|
|
---|
traceoptions | >show routing-options | display set set routing-options traceoptions file policy-log set routing-options traceoptions flag policy |
trace action | set policy-options policy-statement vrf-imp term reject_remote_dc_routes then trace set policy-options policy-statement vrf-imp term reject_remote_dc_routes then reject |
show log policy-log |
> show log policy-log | find 1:10.1.32.1:0::020304050607080901
Jan 22 20:12:05.129416 import: Dest 1:10.1.32.1:0::020304050607080901::FFFF:FFFF proto BGP
Jan 22 20:12:05.129425 com match : match_cache_eval_expr : Evaluating expression 'target:64900:268436466 ' for object 'target:9999:9999 encapsulation:vxlan(0x8) esi-label:0x0:all-active (label 0) '
Jan 22 20:12:05.129428 policy_match_qual_or: Qualifier community Sense: 0
Jan 22 20:12:05.129447 subroutine: Dest 1:10.1.32.1:0::020304050607080901::FFFF:FFFF proto BGP
Jan 22 20:12:05.129451 policy_match_qual_or: Qualifier family Sense: 1
Jan 22 20:12:05.129453 policy_match_qual_or: Qualifier nexthop Sense: 0
Jan 22 20:12:05.129456 policy_match_qual_or: Qualifier nexthop Sense: 0
Jan 22 20:12:05.129464 com match : match_cache_eval_expr : Evaluating expression 'target:1:10 ' for object 'target:9999:9999 encapsulation:vxlan(0x8) esi-label:0x0:all-active (label 0) '
Jan 22 20:12:05.129466 policy_match_qual_or: Qualifier community Sense: 0
Jan 22 20:12:05.129474 com match : match_cache_eval_expr : Evaluating expression 'target:9999:9999 ' for object 'target:9999:9999 encapsulation:vxlan(0x8) esi-label:0x0:all-active (label 0) '
Jan 22 20:12:05.129476 policy_match_qual_or: Qualifier community Sense: 1
Jan 22 20:12:05.129479 policy_match_qual_or: Qualifier policy Sense: 1
Jan 22 20:12:05.129522 import: Dest 1:10.1.32.1:0::020304050607080910::FFFF:FFFF proto BGP
|
|
|
|
|
|
|