Viewing VLAN forwarding database information

Use this procedure to display the MAC addresses that are learned or statically configured for a VLAN. In order to learn you have to be connected to another switch or host and receive some traffic.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. View VLAN forwarding database information:

    show vlan mac-address-entry [<1-4059>]

Example

View VLAN forwarding database information:

Switch:1> show vlan mac-address-entry

================================================================================
                                    Vlan Fdb
================================================================================
VLAN            MAC                           SMLT
ID   STATUS     ADDRESS            INTERFACE  REMOTE TUNNEL
--------------------------------------------------------------------------------
1    learned    f8:15:47:e1:80:0c  Port-1/2   false  -
2    learned    32:20:d3:81:00:77  Port-1/9   false  -
4    learned    b4:a9:5a:2b:78:31  Port-2/1   false  -

3 out of 3 entries in all fdb(s) displayed.

View where entries are learned. The TUNNEL column indicates where in the SPBM network an entry is learned.

Switch:1> show vlan mac-address-entry spbm-tunnel-as-mac

================================================================================
                                    Vlan Fdb
================================================================================
VLAN            MAC                           SMLT
ID   STATUS     ADDRESS            INTERFACE  REMOTE TUNNEL
--------------------------------------------------------------------------------
1    learned    f8:15:47:e1:80:0c  Port-1/2   false  -
2    learned    32:20:d3:81:00:77  Port-1/9   false  -
4    learned    b4:a9:5a:2b:78:31  Port-2/1   false  -

3 out of 3 entries in all fdb(s) displayed.

Variable definitions

Use the data in the following table to use optional parameters with the show vlan mac-address-entry command.

Table 1. Variable definitions

Variable

Value

<1-4059>

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

mac <0x00:0x00:0x00:0x00:0x00:0x00>

Specifies the MAC address.

port {slot/port[-slot/port][,...]}

Specifies the port or port list.

spbm-tunnel-as-mac

Displays where entries are learned. The TUNNEL column indicates where in the SPBM network an entry is learned.