![Cisco ASR1002 - ASR 1002 Router Software Configuration Manual Download Page 368](http://html.mh-extra.com/html/cisco/asr1002-asr-1002-router/asr1002-asr-1002-router_software-configuration-manual_66731368.webp)
Configuring Bridge Domain Interfaces
How to Configure a Bridge Domain Interface
8
Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide
DETAILED STEPS
Example
The following example shows the configuration of a bridge domain interface at IP address 2.2.2.1
255.255.255.0:
Router#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
interface BDI3
Router(config-if)#
encapsulation
dot1Q 1 second-dot1q 2
Router(config-if)#
ip address
2.2.2.1 255.255.255.0
Router(config-if)#
mac-address
1.1.3
Router(config-if)#
no shut
Command or Action
Purpose
Step 1
configure terminal
Example:
Router#
configure terminal
Enters the global configuration mode.
Step 2
interface BDI
{interface number}
Example:
Router(config)#
interface BDI3
Specifies a bridge domain interface on a Cisco ASR 1000
Series Aggregation Services Router.
Step 3
encapsulation
encapsulation dot1q <first-tag>
[second-dot1q <second-tag>]
Example:
Router(config-if)#encapsulation dot1Q 1
second-dot1q 2
Defines the encapsulation type.
The example shows how to define dot1q as the
encapsulation type.
Step 4
ip address
ip-address
mask
or
ipv6 address
{
X:X:X:X::X
link-local
|
X:X:X:X::X
/
prefix
[
anycast
|
eui-64
] |
autoconfig
[
default
]}
Example:
Router(config-if)#
ip address 2.2.2.1
255.255.255.0
Specifies either the IPv4 or IPv6 address for the bridge
domain interface.
Step 5
mac-address
{mac-address}
Router(config-if)#
mac-address 1.1.3
Specifies the MAC address for the bridge domain
interface.
Step 6
no shut
Example:
hostname(config-if)#
no
shut
Enables the bridge domain interface on the Cisco ASR
1000 Series Aggregation Services Router.
Step 7
shut
Example:
hostname(config-if)#
shut
Disables the bridge domain interface on the Cisco ASR
1000 Series Aggregation Services Router.