interface bvi
To create a bridge-group virtual interface (BVI), use the interface bvi command in Global Configuration mode. To delete the BVI, use the no form of this command.
interface bvi identifier
Syntax Description
identifier |
Number for the BVI interface from 1 to 4294967295. |
Command Default
No BVI interface is configured.
Command Modes
Global Configuration mode
Command History
Release |
Modification |
---|---|
Release 7.2.12 |
This command was introduced. |
Usage Guidelines
The BVI is a virtual interface within the router that acts like a normal routed interface. The BVI does not support bridging itself, but acts as a gateway for the corresponding bridge-domain to a routed interface within the router.
Aside from supporting a configurable MAC address, a BVI supports only Layer 3 attributes, and has the following characteristics:
-
Uses a MAC address taken from the local chassis MAC address pool, unless overridden at the BVI interface.
-
Is configured as an interface type using the interface bvi command and uses an IPv4 or IPv6 address that is in the same subnet as the hosts on the segments of the bridged domain. The BVI also supports secondary addresses.
-
The BVI identifier is independent of the bridge-domain identifier. These identifiers do not need to correlate like they do in Cisco IOS software.
-
Is associated to a bridge group using the routed interface bvi command.
-
The following interface commands are supported on a BVI:
-
arp purge-delay
-
arp timeout
-
bandwidth (The default is 10 Gbps and is used as the cost metric for routing protocols for the BVI.)
-
ipv4
-
ipv6
-
mac-address
-
mtu (The default is 1514 bytes.)
-
shutdown
-
-
The BVI supports IP helper addressing and secondary IP addressing.
To display bridge group, bridge-domain, interface status, line protocol state, and packet counters for the specified BVI, use the show l2vpn bridge domain interface bvi form of the show l2vpn bridge domain (VPLS) command. To display the reason that a BVI is down, you can use the detail keyword option.
Task ID
Operations |
|
---|---|
interface |
read, write |
Examples
The following example shows how to create a BVI interface and configure its IPv4 address:
Router# configure
Router(config)# interface bvi 50
Router(config-if)# ipv4 address 10.10.0.4 255.255.255.0
Router(config-if)# commit