Hi Harish,
Even if the vlan is configured as a IRB vlan, the mac addresses of the PC's connected to the switch port will be displayed under "show ethernet-switching table"
{master:0}[edit]
root# run show ethernet-switching table
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static, C - Control MAC
SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC)
Ethernet switching table : 3 entries, 3 learned
Routing instance : default-switch
Vlan MAC MAC Age Logical NH RTR
name address flags interface Index ID
default 84:c1:c1:ac:07:c5 D - ge-0/0/2.0 0 0
test_112 84:c1:c1:ac:07:c4 D - ge-0/0/1.0 0 0
vlan_test 30:7c:5e:47:b3:15 D - sxe-0/0/0.0 0 0
{master:0}[edit]
root# run show vlans test_112
Routing instance VLAN name Tag Interfaces
default-switch test_112 112
ge-0/0/1.0*
{master:0}[edit]
root# show vlans test_112
vlan-id 112;
l3-interface irb.112;
{master:0}[edit]
root# show interfaces irb.112
family inet {
address 112.112.112.112/24;
}
{master:0}[edit]
root# show interfaces ge-0/0/1.0
family ethernet-switching {
vlan {
members test_112;
}
}
{master:0}[edit]
root#