Para poder vincular em qual ONU está um MAC, ou então verificar quais MAC estão vinculados na ONU, podemos usar alguns comandos:


show l2 mac-table

ou

show l2 mac-table| include {MAC} <<-- Disponível apenas em OLTs 300xx ou 400xx



show interface gponx/x onu mac

show interface gponx/x onu mac | include {MAC OU SERIAL}  <<-- Disponível apenas em OLTs 300xx ou 400xx



- Nesse exemplo, iremos identificar qual ONU está usando o MAC 18:87:40:0F:55:7B 


Primeiro passo é identificar a porta PON em que o MAC está vinculado.


show l2 mac-table  <-- Em OLT 100xx e 200xx tem que pegar o retorno do comando e localizar manualmente

                            MAC Address   OVLAN IVLAN Port

264                 | F4:B7:E2:D5:BC:49 | 1001  |       | giga-ethernet0/2

265                 | E8:F7:24:50:BF:4C  | 1000  |       | 10giga-ethernet0/1

266                 | 00:0C:29:CA:F0:B1 | 1000  |       | 10giga-ethernet0/1

267                 | 00:04:16:06:25:41  | 520    |       | gpon1/4

268                 | 18:87:40:0F:55:7B  | 1000  |       | gpon1/2




show l2 mac-table | include 18:87:40:0F:55:7B  <-- Em OLT 300xx e 400xx podemos fazer um filtro incluindo o MAC

            MAC Address         OVLAN IVLAN Port

268 | 18:87:40:0F:55:7B   | 1000   |        | gpon1/2



Sabendo a porta GPON, fazemos outro comando para identificar em qual ONU o MAC está vinculado


show interface gpon1/2 onu mac <-- Em OLT 100xx e 200xx tem que pegar o retorno do comando e localizar manualmente

INDEX | MAC ADDRESS       | VLAN | GEM PORT | SERIAL NUMBER | STATIC

----- + ----------------- + ---- + -------- + ------------- + ------

    0 | 00:04:16:05:39:BD     |  510 |      195 | prks00b7968e  | NO

    1 | 00:04:16:05:39:BA     |  510 |      219 | prks00b7968a  | NO

    2 | 18:87:40:0F:55:7B  | 1000 |      172 | prks00b7966d  | NO



show interface gpon1/2 onu mac | include 18:87:40:0F:55:7B  <-- Em OLT 300xx e 400xx tem que pegar o retorno do comando e localizar manualmente

INDEX | MAC ADDRESS       | VLAN | GEM PORT | SERIAL NUMBER | STATIC

----- + ----------------- + ---- + -------- + ------------- + ------

    2 | 18:87:40:0F:55:7B  | 1000 |      172 | prks00b7966d  | NO