Back to Contents Page

Address Table Commands

Dell™ PowerConnect™ 3324/3348 Switch CLI Guide

  bridge address

  bridge aging-time

  clear bridge

  show bridge address-table

  show bridge address-table static

  port security

  show ports security

  bridge multicast filtering

  bridge multicast address

  bridge multicast forbidden address

  bridge multicast forward-all

  bridge multicast forbidden forward-all

  show bridge multicast address-table

  show bridge multicast filtering



bridge address

Use the bridge address interface configuration command to add a static MAC-layer station source address to the bridge table. To delete the MAC address, use the no form of the bridge address command (using the no form of the command without specifying a MAC address deletes all static MAC addresses belonging to this VLAN).

Syntax

bridge address mac-address {ethernet interface | port-channel port-channel-number} [permanent | delete-on-reset | delete-on-timeout | secure]

no bridge address [mac-address]

Default Configuration

No static addresses are defined. The default mode for an added address is permanent.

Command Mode

Interface Configuration (VLAN) Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example adds a permanent static MAC-layer station source address on a port to the bridge table.

Console (config-if)# bridge address 168.210.0.10 ethernet 1/e8 permanent


bridge aging-time

Use the bridge aging-time global configuration command to set the address table aging time. To restore the default, use the no form of the command.

Syntax

bridge aging-time seconds

no bridge aging-time

Default Configuration

The default is 300 seconds.

Command Mode

Global Configuration Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example sets the bridge aging time.

Console (config)# bridge aging-time 250


clear bridge

Use the clear bridge privileged EXEC command to remove any learned entries from the forwarding database.

Syntax

clear bridge

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example clears the bridge tables.

Console# clear bridge


show bridge address-table

Use the show bridge address-table privileged EXEC command to display dynamically created entries in the bridge-forwarding database.

Syntax

show bridge address-table [vlan vlan] [ethernet interface | port-channel port-channel-number]

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example displays all classes of entries in the bridge-forwarding database.

Console# show bridge address table

Aging time is 300 sec

vlan mac address port type

---- -------------- ----- -----

1 0060.704C.73FF 5/8 dynamic

1 0060.708C.73FF 5/8 dynamic

200 0010.0D48.37FF 5/9 static


show bridge address-table static

Use the show bridge address-table privileged EXEC command to display statically entered entries in the bridge-forwarding database.

Syntax

show bridge address-table static [vlan vlan] [ethernet interface | port-channel port-channel-number]

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example displays all classes of entries in the bridge-forwarding database.

Console# show bridge address table static

Aging time is 300 sec

vlan mac address port type

---- -------------- ----- -----

200 0010.0D48.37FF 5/9 delete-on-reset


port security

Use the port security interface configuration command to disable new address learning on an interface. To enable new address learning, use the no form of the command.

Syntax

port security [forward | discard | discard-shutdown] [trap seconds]

no port security

Default Configuration

Port security is disabled.

Command Mode

Interface Configuration (Ethernet, port-channel) Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example disables the learning of new addresses on a port. All frames with unlearned source addresses are discarded.

Console (config)# interface ethernet 1/e8

Console (config-if)# port security discard


show ports security

Use the show ports security privileged EXEC command to display the port-lock status.

Syntax

show ports security [ethernet interface | port-channel port-channel-number]

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example displays all classes of entries in the port-lock status.

Console # show ports security

Port Action Trap Frequency Counter

---- ----------------- -------- --------- -------

5/7 Discard Enable 100 88

7/8 Discard, Shutdown Disable

Frequency: Trap Frequency

Counter: Number of violations since last trap


bridge multicast filtering

Use the bridge multicast filtering global configuration command to enable filtering of multicast addresses. To disable filtering of multicast addresses, use the no form of the command.

Syntax

bridge multicast filtering

no bridge multicast filtering

Default Configuration

Disabled. All multicast addresses are flooded to all ports of the relevant VLAN.

Command Mode

Global Configuration Mode

User Guidelines

If multicast routers exist on the VLAN and IGMP snooping is not enabled, use the bridge multicast forward-all command to forward all multicast packets to the multicast routers.

Example

The following example enables bridge multicast filtering.

Console (config)# bridge multicast filtering


bridge multicast address

Use the bridge multicast address interface configuration command to register MAC-layer multicast addresses to the bridge table, and adds static ports to the group. To unregister the MAC address, use the no form of the bridge multicast address command.

Syntax

bridge multicast address {mac-multicast-address | ip-multicast-address}

bridge multicast address {mac-multicast-address | ip-multicast-address} {add | remove} {ethernet interface-list | port-channel port-channel-number-list }

no bridge multicast address {mac-multicast-address | ip-multicast-address}

Default Configuration

No multicast addresses are defined.

Command Mode

Interface Configuration (VLAN) Mode

User Guidelines

If the command is executed without add or remove, the command only registers the group in the bridge database.

Static multicast addresses can only be defined on static VLANs.

Examples

The following example registers the MAC address.

Console (config)# interface vlan 8

Console (config-if)# bridge multicast address 0100.5e02.0203

The following example registers the MAC address and adds ports statically.

Console (config)# interface vlan 8

Console (config-if)# bridge multicast address 0100.5e02.0203 add ethernet 1/e1-9, 2/e2


bridge multicast forbidden address

Use the bridge multicast forbidden address interface configuration command to prevent adding a specific multicast address to specific ports. To reconfigure the default value, use the no form of this command.

Syntax

bridge multicast forbidden address {mac-multicast-address | ip-multicast-address} {add | remove} {ethernet interface-list | port-channel port-channel-number-list }

no bridge multicast forbidden address {mac-multicast-address | ip-multicast-address}

Default Configuration

No forbidden addresses are defined.

Command Modes

Interface Configuration (VLAN) Mode

User Guidelines

Register the multicast group before you define the forbidden ports.

Example

The following example forbids the MAC address on port 2/e9 within VLAN 8.

Console (config)# interface vlan 8

Console (config-if)# bridge multicast address 0100.5e02.0203

Console (config-if)# bridge multicast forbidden 0100.5e02.0203 add ethernet 2/e9


bridge multicast forward-all

Use the bridge multicast forward-all interface configuration command to forbid a port to be a Forward-all-multicast port. To restore the default, use the no form of the bridge multicast forward-all command.

Syntax

bridge multicast forward-all {add | remove} {ethernet interface-list | port-channel port-channel-number-list}

no bridge multicast forward-all

Default Configuration

Disables forward-all on all ports

Command Mode

Interface Configuration (VLAN) Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example forwards all multicast packets on port 1/e8.

Console (config)# interface ethernet 1/e8

Console (config-if)# bridge multicast forward-all add ethernet 1/e8


bridge multicast forbidden forward-all

Use the bridge multicast forbidden forward-all interface configuration command to forbid a port to be a Forward-all-multicast port. To restore the default, use the no form of this command.

Syntax

bridge multicast forbidden forward-all {add | remove} {ethernet interface-list | port-channel port-channel-number-list}

no bridge multicast forward-all

Default Configuration

By default, this setting is disabled (for example, forwarding to the port is not forbidden).

Command Mode

Interface Configuration (VLAN) Mode

User Guidelines

IGMP snooping dynamically discovers multicast router ports. When a multicast router port is discovered, all the multicast packets are forwarded to it unconditionally. This command prevents a port to be a multicast router port .

Example

The following example forbids forwarding all multicast packets to port 1/e6.

Console (config)# interface ethernet 1/e8

Console (config-if)# bridge multicast forbidden forward-all add ethernet 1/e6


show bridge multicast address-table

Use the show bridge multicast address-table privileged EXEC command to display multicast MAC address table information.

Syntax

show bridge multicast address-table [vlan vlan-id] [address mac-multicast-address | ip-multicast-address] [format ip | mac ]

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example displays multicast MAC address table information.

Console # show bridge multicast address-table format mac

Vlan MAC Address type Ports

---- -------------- ----- -------------------

1 0100.5e02.0203 static 1/e1, 2/e2

19 0100.5e02.0208 static 1/e1-8

19 0100.5e02.0208 dynamic 1/e9-11

Forbidden ports for multicast addresses:

Vlan MAC Address Ports

---- -------------- -------------------

1 0100.5e02.0203 2/e8

19 0100.5e02.0208 2/e8


show bridge multicast filtering

Use the show bridge multicast filtering privileged EXEC command to display the multicast filtering configuration.

Syntax

show bridge multicast filtering vlan-id

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example illustrates the multicast configuration.

Console # show bridge multicast filtering 1

Filtering: Enabled

VLAN: 1

Port Forward-All

Static Status

------ --------- ------

1/e1 Forbidden Filter

1/e2 Forward Forward(s)

1/e3 - Forward(s)


Back to Contents Page