Use this command to map a static address to a port in a VLAN. Use the no form to remove an address.
Syntax
bridge bridge-group address mac-address vlan vlan-id forward interface [action]
no bridge bridge-group address address vlan vlan-id
- bridge-group - Bridge group index (bridge 1).
- Mac-address - MAC address.
- vlan-id - VLAN ID (Range: 1-4094)
- interface
- ethernet unit/port
- unit - This is device 1.
- port - Port number.
- port-channel channel-id (Range: 1-2)
- action -
- delete-on-reset: Assignment lasts until switch is reset.
- permanent: Assignment is permanent.
Default Setting
Command Mode
Global Configuration
Command Usage
The static address for a host device can be assigned to a specific port within a specific VLAN. Use this command to add static addresses to the MAC Address Table. Static addresses have the following characteristics:
- Static addresses will not be removed from the address table when a given interface link is down.
- Static addresses are bound to the assigned interface and will not be moved. When a static address is seen on another interface, the address will be ignored and will not be written to the address table.
Example
(config)#bridge 1 address 00-e0-29-94-34-de vlan 1 forward ethernet 1/1 delete-on-reset
(config)#
Use this command to remove any learned entries from the forwarding database and to clear the transmit and receive counts for any static or system configured entries.
Syntax
clear bridge [bridge-group]
bridge-group - Bridge group index (bridge 1).
Default Setting
None
Command Mode
Privileged Exec
Example
#clear bridge 1
#
Use this command to view classes of entries in the bridge-forwarding database.
Syntax
show bridge bridge-group [interface] [address [mask]] [vlan vlan-id] [sort {address | vlan | interface}]
- bridge-group - Bridge group index (bridge 1)
- interface
- ethernet unit/port
- unit - This is device 1.
- port - Port number.
- port-channel channel-id (Range: 1-2)
- address - MAC address.
- mask - Bits to ignore in the address.
- vlan-id - VLAN ID (Range: 1-4094)
- sort - Sort by address, vlan or interface.
Default Setting
None
Command Mode
Privileged Exec
Command Usage
Example
#show bridge 1
Interface Mac Address Vlan Type
--------- ----------------- ---- -----------------
Eth 1/ 7 00-10-b5-62-03-74 1 Learned
Eth 1/ 7 00-e0-29-94-34-1d 1 Learned
#
Use this command to set the aging time for entries in the address table. Use the no form to restore the default aging time.
Syntax
bridge-group bridge-group aging-time seconds
no bridge-group bridge-group aging-time
- bridge-group - Bridge group index (bridge 1).
- seconds - Time is number of seconds (17-2184).
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
The aging time is used to age out dynamically learned forwarding information.
Example
(config)#bridge-group 1 aging-time 300
(config)#
Use this command to show the aging time for entries in the address table.
Syntax
show bridge group bridge-group aging-time
bridge-group - Bridge group index (bridge 1)
Default Setting
None
Command Mode
Privileged Exec
Example
#show bridge group 1 aging-time
Aging time: 300 sec.
#