Quidway router configuration bridge configuration command (1)

Source: Internet
Author: User

1 command list

Bridge configuration commands include:

Bridge acquire
Bridge address
Bridge aging-time
Bridge crb
Bridge forward-time
Bridge group
Bridge hello-time
Bridge spanning-disable
Bridge max-age
Bridge port pathcost
Bridge port priority
Show bridge information
Show bridge group
Show bridge span
Show bridge traffic

2 bridge acquire

Use the bridge acquire global configuration command to allow the system to query dynamic databases. Use the no bridge acquire command to prohibit query of dynamic databases, that is, only query routing information in static databases.

[No] bridge acquire

Default: The system allows you to query route information in a dynamic database by default.

Command mode: global configuration mode

User Guide: use the bridge acquire global configuration command to allow the system to query dynamic databases. After receiving data packets, the system first queries the static database. If the data packets are found in the static database, the system routes them out, if it is not found in the static database, the dynamic database is queried. If it is found in the dynamic database, the route is based on this information. Otherwise, the route is sent from all other ports except the receiving port.

For example, dynamic databases cannot be queried.

Quidway (config) # no bridge acquire

Related commands: bridge address

3 bridge address

Use the bridge address global configuration command to add a route entry to the static database. Use the no command to delete a route entry.

[No] bridge address mac-address {forward | discard} [interface-type interface-number]

Parameter description: A 48-bit mac-address hardware address, for example, 0800. cb00.45e9. It can be a host address, broadcast address, or multicast address.

Forward indicates transfer.

Discard indicates discarding.

Interface-type is the interface type.

Interface-number is the serial number of the interface. Together with interface-type, it indicates the interface on which the address is transmitted or discarded.

Default: No route information is provided by default.

Command mode: global configuration mode

User Guide: You can configure static routes as needed to increase the query speed to a certain extent. This information is stored in the FLASH of the router, unless you delete this information yourself, otherwise, the route information remains in the static database.

Example 1: the router sends data packets sent to the 0800. cb00.45e9 address from the interface ethernet0.

Quidway (config) # bridge address 0800. cb00.45e9 forward ethernet 0

Example 2: delete the route information with the MAC address 0800. cb00.45e9 in the static database.

Quidway (config) # no bridge address 0800. cb00.45e9

Related commands: bridge acquire

4 bridge aging-time

Set the refresh time of the dynamic database. The no bridge aging-time Command restores the default setting.

Bridge aging-time seconds

No bridge aging-time

Parameter description: seconds indicates the refresh time of the dynamic database, in seconds. The value range is 10 ~ 1000000.

Default: the default refresh time of a dynamic database is 300 seconds.

Command mode: global configuration mode

User Guide: this command is used to configure the refresh time of route information in a dynamic database. The purpose is to ensure that the information in the database is not outdated. If the system adds a route information to the dynamic database through backward learning, and no new route information is received during this time, the system will refresh the information after the timeout.

Example: Set the status transition interval to 200 seconds.

Quidway (config) # bridge aging-time 200

5 bridge crbStart or stop a bridge

[No] bridge crb

Default: The system does not start the bridge by default.

Command mode: global configuration mode

User Guide: when the bridge crb command is used to start the bridge, it means that the router runs both the bridge Protocol and the network layer protocol such as IP or IPX, and stops the bridge in the form of no, in this case, the route on the vro is IP or IPX without a bridge.

Example: Start bridge Quidway (config) # bridge crb

6 bridge forward-time

Set the status transition interval of the bridge port. Use the no bridge forward-time Command to set the restoration interval to the default value.

Bridge forward-time seconds

No bridge forward-time

Parameter description: seconds is the time interval for status transition, in seconds. The value range is 4 ~ 30.

Default: the default state transition interval of the bridge port is 15 seconds.

Command mode: global configuration mode

User Guide: this command is used to configure the time interval between the bridge port States, such as blocking, listening, learning, and forwarding.

Example: Set the status transition interval to 20 seconds.

Quidway (config) # bridge forward-time 20

Related commands: bridge hello-time, bridge max-age

7 bridge group

Set the bridge port to belong to the group. Use the no bridge group command to set the port to not belong to the group.

[No] bridge group

Default: The Bridge port belongs to the group by default.

Command mode: Interface Configuration Mode

User Guide: This command configures whether the bridge port belongs to the group. If a port does not belong to the group, the port will not participate in the Spanning Tree Protocol.

For example, set the interface Ethernet0 to belong to the group.

Quidway (config-if-ethernet0) # bridge group

Related commands: bridge span-disable

8 bridge hello-time

Set the time interval for configuring the BPDU for sending the root bridge to the outside, and use the no bridge hello-time recovery interval as the default value.

Bridge hello-time seconds

No bridge hello-time

Parameter description: seconds is a time interval, in seconds. The value range is 1 ~ 10.

Default: The interval between sending and configuring BPDU to the outside of the bridge is 2 seconds by default.

Command mode: global configuration mode

User Guide: This command configures the time interval for BPDU configuration to be sent from the root bridge. Even if it is not the root bridge, the HelloTime of the bridge is set to this value, while BridgeHelloTime is not set.

Example: Set the status transition interval to 5 seconds.

Quidway (config) # bridge hello-time 5

Related commands: bridge froward-time, bridge max-age


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.