You must map the VLAN created in the previous procedure to the bridge
domain.
SUMMARY STEPS1.
bridge-domain
bridge-id
2.
member
interface
service-instance
id
3.
member
vni
vni-id
DETAILED STEPS | Command or Action | Purpose |
---|
Step 1 | bridge-domain
bridge-id
Example:
Router(config)# bridge-domain 10
|
Creates a bridge domain and enters bridge domain configuration
mode.
The valid range for bridge-id is 1-4096.
|
Step 2 | member
interface
service-instance
id
Example:
Router(config-bdomain)# member
gigabitEthernet 1 service-instance 1
|
Binds the bridge domain to the service instance.
|
Step 3 | member
vni
vni-id
Example:
Router(config-bdomain)# member vni 1010
|
Maps the VNI to the bridge domain.
|
What to Do Next
The following example displays the NVE VNIs configured on the router:
Router# show nve vni
Interface VNI mcast VNI state
nve1 1010 239.0.0.0 UP
nve2 2010 239.0.0.0 UP
The following example displays the NVE VNIs assigned to NVE interface
1:
Router(config)# show nve vni interface nve1
Interface VNI mcast VNI state
nve1 1010 239.0.0.0 UP
nve1 1110 239.0.0.0 UP
The following example shows the status of NVE interface 1:
Router(config)# show nve interface nve1
Interface: nve1, State: Admin Up, Oper Up Encapsulation: Vxlan
source-interface: Loopback0 (primary:11.11.11.11 vrf:0)
The following example shows a detailed display for NVE interface 1:
Router(config)# show nve interface nve1 detail
Interface: nve1, State: Admin Up, Oper Up Encapsulation: Vxlan
source-interface: Loopback0 (primary:11.11.11.11 vrf:0)
Pkts In Bytes In Pkts Out Bytes Out
0 0 0 0
The following example shows the NVE peers configured on the router:
Router(config)# show nve peers
Interface Peer-IP VNI Up Time
nve1 1.1.1.2 1010 10h
nve2 1.1.1.3 2030 20h
The following example shows the bridge domain configuration with the
entry in bold displaying the VM’s MAC address that was learned on the VxLAN
VNI:
Router# show bridge-domain 1000
Bridge-domain 1000 (3 ports in all)
State: UP Mac learning: Enabled
Aging-Timer: 300 second(s)
GigabitEthernet1 service instance 1000
GigabitEthernet3 service instance 1000
vni 7639335
MAC address Policy Tag Age Pseudoport
0050.56A4.ECD2 forward dynamic 297 nve1.VNI7639335 VxLAN
src:10.0.0.1 dst:10.0.0.2
0050.56A4.257A forward dynamic 297 GigabitEthernet3.EFP1000