Fortinet black logo

Handbook

Verifying the forwarding database

6.0.0
Copy Link
Copy Doc ID 4afb0436-a998-11e9-81a4-00505692583a:166261
Download PDF

Verifying the forwarding database

To view all instances of the forwarding database (FDB), use the following CLI command:

diagnose netlink brctl list

Example

FGT # diagnose netlink brctl list

list bridge information

1. root.b fdb: size=256 used=6 num=7 depth=2 simple=no

2. mgmt.b fdb: size=256 used=5 num=4 depth=2 simple=no

Total 2 bridges

Here above we can see two bridge instances for 2 VDOMs in transparent mode: root and mgmt.

  • This command will dump the L2 forwarding table for each VDOM bridge instance:

diagnose netlink brct1 name host <VDOM_name>.b

Example for the root VDOM:

FGT# diag netlink brctl name host root.b

show bridge control interface root.b host.

fdb: size=256, used=6, num=7, depth=2, simple=no

Bridge root.b host table

port no device devname mac addr ttl atributes

2 7 wan2 02:09:0f:78:69:00 0 Local Static

5 6 trunk_1 02:09:0f:78:69:01 0 Local Static

3 8 dmz 02:09:0f:78:69:01 0 Local Static

4 9 internal 02:09:0f:78:69:02 0 Local Static

3 8 dmz 00:80:c8:39:87:5a 194

4 9 internal 02:09:0f:78:67:68 8

1 3 wan1 00:09:0f:78:69:fe 0 Local Static

Verifying the forwarding database

To view all instances of the forwarding database (FDB), use the following CLI command:

diagnose netlink brctl list

Example

FGT # diagnose netlink brctl list

list bridge information

1. root.b fdb: size=256 used=6 num=7 depth=2 simple=no

2. mgmt.b fdb: size=256 used=5 num=4 depth=2 simple=no

Total 2 bridges

Here above we can see two bridge instances for 2 VDOMs in transparent mode: root and mgmt.

  • This command will dump the L2 forwarding table for each VDOM bridge instance:

diagnose netlink brct1 name host <VDOM_name>.b

Example for the root VDOM:

FGT# diag netlink brctl name host root.b

show bridge control interface root.b host.

fdb: size=256, used=6, num=7, depth=2, simple=no

Bridge root.b host table

port no device devname mac addr ttl atributes

2 7 wan2 02:09:0f:78:69:00 0 Local Static

5 6 trunk_1 02:09:0f:78:69:01 0 Local Static

3 8 dmz 02:09:0f:78:69:01 0 Local Static

4 9 internal 02:09:0f:78:69:02 0 Local Static

3 8 dmz 00:80:c8:39:87:5a 194

4 9 internal 02:09:0f:78:67:68 8

1 3 wan1 00:09:0f:78:69:fe 0 Local Static