Configuring bridge table entries
A bridge dynamically creates and maintains a bridge table based on the correlations between the MAC addresses it has learned and the interfaces. The administrator, however, can manually configure some bridge table entries, which will never get aged out.
The aging time of a dynamic bridge table entry refers to the lifetime of the entry before it is deleted from the table. When the aging timer of a dynamic table entry expires, the system deletes the entry from the table.
To configure a bridge table:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable dynamic address learning. | bridge bridge-set learning | Optional. Enabled by default. |
3. Configure a static bridge table entry. | bridge bridge-set mac-address mac-address { deny | permit } [ dlsw | interface interface-type interface-number ] | Optional. No static table entry is configured by default. |
4. Configure aging time of dynamic bridge table entries. | bridge aging-time seconds | Optional. 300 seconds by default. |