The encapsulation and VLAN number on the subinterface means that the subinterface will tag outgoing packets with VLAN 4 tag and will expect received packets to have a tag of 4 as well. It is not clear what you mean by "corresponding to VLAN 4". If this is a router, then routers don't have VLAN databases, as switches do, so in that respect it is correct. There is no VLAN 4 existing as a layer 2 entity on the router. Instead, it can use VLAN tags on subinterfaces to differentiate multiple connections on a single physical interface.
Yes I know but I tried the following :
encapsulation dot1q 4
vrf member fabric-mpod
ip address 188.8.131.52/30
ip ospf dead-interval 30
ip ospf hello-interval 1
ip ospf network point-to-point
ip router ospf 1 area 0.0.0.0
ip pim sparse-mode
On both switches with ip 184.108.40.206 and 220.127.116.11
Once I create the instance vlan 4 on the switches , and I do show mac address-table vlan 4 , I dont see the mac of 18.104.22.168 and 22.214.171.124, why?