This topic describes how to configure a Bridge-Group Virtual Interface (BVI) by creating the interface, assigning IP addresses, and optionally setting ARP timers, bandwidth, MAC address, and MTU for the interface.
To configure a BVI, complete the following steps.
Consider the following guidelines when configuring the BVI:
-
The BVI must be assigned to an IPv4 or IPv6 address that is in the same subnet as the hosts in the bridged segments.
-
If the bridged network has multiple IP networks, then the BVI must be assigned secondary IP addresses for each network.
Procedure
| 1. | Run the configure command to enter the global configuration mode. Example:
|
|
| 2. | Run the interface bvi identifier command to specify and create a BVI, where identifier is a number from 1–65535. Example:
|
|
| 3. | Specify a primary or secondary IPv4 address or an IPv6 address for the interface. Example:
|
|
| 4. | (Optional) Specify the amount of time (in seconds) to delay purging of Address Resolution Protocol (ARP) table entries when the interface goes down. Example:
The range is 1–65535. By default, purge delay is not configured. |
|
| 5. | (Optional) Run the arp timeout seconds command to configure the duration that the dynamic entries learned on the interface remain in the ARP cache. Example:
The range is 30–2144448000 seconds. The default value is 14,400 seconds (4 hours). |
|
| 6. | (Optional) Specify the amount of bandwidth (in kilobits per second) to be allocated on the interface. Example:
This bandwidth number is used as the cost metric in routing protocols for the BVI. The range is 0–4294967295. The default value is 10000000 (10 Gbps). |
|
| 7. | (Optional) Specify the 48-bit MAC address for the BVI as three dotted-hexadecimal values, which override the use of the default MAC address. Example:
The range for each value is 0000 to ffff. A MAC address of all 0s is not supported. |
|
| 8. | (Optional) Run the mtu bytes command to configure the maximum transmission unit (MTU) size for packets on the interface. Example:
The range is 64–65535. The default value is 1514. |
|
| 9. | Run the end or commit commands to save the configuration changes. Example:
or
|