6-8By configuring route filtering rules on Switch A make the three received static routes partially visible andpartially shielded: the routes of network segments 20.0.0.0 and 40.0.0.0 are visible, and the route ofnetwork segment 30.0.0.0 is shielded.Network diagramFigure 6-1 Filter received routing informationConfiguration procedurez Configure Switch A:# Configure the IP addresses of the interfaces. system-view[SwitchA] interface vlan-interface 100[SwitchA-Vlan-interface100] ip address 10.0.0.1 255.0.0.0[SwitchA-Vlan-interface100] quit[SwitchA] interface vlan-interface 200[SwitchA-Vlan-interface200] ip address 12.0.0.1 255.0.0.0[SwitchA-Vlan-interface200] quit# Configure three static routes.[SwitchA] ip route-static 20.0.0.0 255.0.0.0 12.0.0.2[SwitchA] ip route-static 30.0.0.0 255.0.0.0 12.0.0.2[SwitchA] ip route-static 40.0.0.0 255.0.0.0 12.0.0.2# Enable the OSPF protocol and specify the ID of the area to which the interface 10.0.0.1 belongs. system-view[SwitchA] router id 1.1.1.1[SwitchA] ospf[SwitchA-ospf-1] area 0[SwitchA-ospf-1-area-0.0.0.0] network 10.0.0.0 0.255.255.255[SwitchA-ospf-1-area-0.0.0.0] quit[SwitchA-ospf-1]quit# Configure an ACL.[SwitchA] acl number 2000[SwitchA-acl-basic-2000] rule deny source 30.0.0.0 0.255.255.255[SwitchA-acl-basic-2000] rule permit source any[SwitchA-acl-basic-2000] quit# Configure a routing policy.[SwitchA] route-policy ospf permit node 10[SwitchA-route-policy] if-match acl 2000[SwitchA-route-policy] quit