root@SAV_SR# show forwarding-options family inet { filter { input fbf-filter; } } [edit] root@SAV_SR# show firewall filter fbf-filter term A { from { source-address { 3.3.0.0/24; } } then { count FBF_Count; routing-instance r_sasn_e; } } term B { then { count Master_Count; accept; } } [edit] root@SAV_SR# show routing-instances r_sasn_e instance-type forwarding; routing-options { static { route 0.0.0.0/0 { next-hop 6.6.1.2; resolve; } } instance-import master-to-r_sasn_e; } [edit] root@SAV_SR# show policy-options policy-statement master-to-r_sasn_e term A { from { instance master; protocol static; } then reject; } term C { from { instance master; protocol direct; } then reject; } term B { then accept; } [edit] root@SAV_SR# root@SAV_SR# run show route 0.0.0.0 extensive inet.0: 18 destinations, 23 routes (18 active, 0 holddown, 1 hidden) 0.0.0.0/0 (2 entries, 1 announced) TSI: KRT in-kernel 0.0.0.0/0 -> {5.5.0.2} Page 0 idx 0 Type 1 val 8974eb8 Nexthop: 5.5.0.2 Localpref: 100 AS path: [65000] I Communities: Path 0.0.0.0 Vector len 4. Val: 0 *Static Preference: 5 Next hop type: Router, Next hop index: 522 Next-hop reference count: 4 Next hop: 5.5.0.2 via em5.0, selected State: Local AS: 65000 Age: 1:14:38 Task: RT Announcement bits (3): 0-KRT 2-BGP RT Background 3-Resolve tree 1 AS path: I BGP Preference: 170/-101 Next hop type: Indirect Next-hop reference count: 1 Source: 10.0.1.1 Next hop type: Router, Next hop index: 483 Next hop: 10.6.1.2 via em0.0, selected Protocol next hop: 6.6.1.2 Indirect next hop: 8a0209c 131071 State: Inactive reason: Route Preference Local AS: 65000 Peer AS: 65000 Age: 2:59:32 Metric2: 0 Task: BGP_65000.10.0.1.1+179 AS path: I Localpref: 100 Router ID: 10.0.1.1 Indirect next hops: 1 Protocol next hop: 6.6.1.2 Metric: 0 Indirect next hop: 8a0209c 131071 Indirect path forwarding next hops: 1 Next hop type: Router Next hop: 10.6.1.2 via em0.0 6.6.1.0/24 Originating RIB: inet.0 Metric: 0 Node path count: 1 Indirect nexthops: 1 Protocol Nexthop: 10.0.1.1 Indirect nexthop: 8a02000 131070 Indirect path forwarding nexthops: 1 Nexthop: 10.6.1.2 via em0.0 10.0.1.1/32 Originating RIB: inet.0 Node path count: 1 Forwarding nexthops: 1 Nexthop: 10.6.1.2 via em0.0 r_sasn_e.inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden) 0.0.0.0/0 (1 entry, 1 announced) TSI: KRT in-kernel 0.0.0.0/0 -> {indirect(131072)} *Static Preference: 5 Next hop type: Indirect Next-hop reference count: 3 Next hop type: Router, Next hop index: 483 Next hop: 10.6.1.2 via em0.0, selected Protocol next hop: 6.6.1.2 Indirect next hop: 8a02138 131072 State: Age: 25:04 Metric2: 0 Task: RT Announcement bits (2): 1-KRT 2-Resolve tree 2 AS path: I Indirect next hops: 1 Protocol next hop: 6.6.1.2 Metric: 0 Indirect next hop: 8a02138 131072 Indirect path forwarding next hops: 1 Next hop type: Router Next hop: 10.6.1.2 via em0.0 6.6.1.0/24 Originating RIB: r_sasn_e.inet.0 Metric: 0 Node path count: 1 Indirect nexthops: 1 Protocol Nexthop: 10.0.1.1 Indirect nexthop: 8a02000 131070 Indirect path forwarding nexthops: 1 Nexthop: 10.6.1.2 via em0.0 10.0.1.1/32 Originating RIB: inet.0 Node path count: 1 Forwarding nexthops: 1 Nexthop: 10.6.1.2 via em0.0 [edit] root@SAV_SR# root@SAV_SR# run show firewall filter fbf-filter Filter: fbf-filter Counters: Name Bytes Packets FBF_Count 0 0 Master_Count 11481822 181296 [edit] root@SAV_SR# [edit] root@SAV_SR# run ping 1.1.1.1 interface em3.0 PING 1.1.1.1 (1.1.1.1): 56 data bytes 64 bytes from 1.1.1.1: icmp_seq=0 ttl=63 time=4.821 ms 64 bytes from 1.1.1.1: icmp_seq=1 ttl=63 time=2.984 ms ^C --- 1.1.1.1 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 2.984/3.902/4.821/0.919 ms [edit] root@SAV_SR# [edit] root@SAV_SR# run show firewall filter fbf-filter Filter: fbf-filter Counters: Name Bytes Packets FBF_Count 336 4 Master_Count 11481822 181296