Filter-based forwarding requires a match filter, a routing instance, and which of the following?

Filter-based forwarding requires a match filter, a routing instance, and which of the following?

Filter-based forwarding requires a match filter, a routing instance, and which of the following?

A.
a route map

B.
a RIB group

C.
a next hop

D.
a policy map

Explanation:
TOPOLOGY :-

Solution:
REQUIREMENT :-
To forward the Intervlan traffic on EX
The traffic from VLAN 10 and VLAN 20 will be directed to SRX and SRX will decide based on rules (NOTE: This KB article is for EX Switch configuration and operation only.)
Switch Configuration:
STEP 1: Configuration of Vlans and assigning the ports
set vlans vlan10 vlan-id 10
set vlans vlan10 interface ge-0/0/1.0
set vlans vlan10 interface ge-0/0/2.0
set vlans vlan10 interface ge-0/0/3.0

set vlans vlan20 vlan-id 20
set vlans vlan20 interface ge-0/0/4.0
set vlans vlan20 interface ge-0/0/5.0
set vlans vlan20 interface ge-0/0/6.0

STEP 2:- Configuration of ip address
set interfaces vlan unit 10 family inet address 10.0.0.1/8
set vlans vlan10 l3-interface vlan.10

set interfaces vlan unit 20 family inet address 20.0.0.1/8
set vlans vlan20 l3-interface vlan.20

set interfaces ge-0/0/0 unit 0 family inet address 192.168.42.1/24

STEP 3: Filter based forwarding and RIB group:
set routing-instances VRFx instance-type forwarding
set routing-instances VRFx routing-options static route 0.0.0.0/0 next-hop 192.168.42.2

set routing-options interface-routes rib-group inet master
set routing-options rib-groups master import-rib inet.0
set routing-options rib-groups master import-rib VRFx.inet.0

STEP 4. Filter configuration
set firewall family inet filter RVI term 1 then routing-instance VRFx

STEP 5. Apply Filter to RVI

set interfaces vlan unit 10 family inet filter input RVI
set interfaces vlan unit 20 family inet filter input RVI



Leave a Reply 0

Your email address will not be published. Required fields are marked *