VXLAN On IOS-XE
VXLAN On IOS-XE
no aaa new-model
ip multicast-routing distributed
bridge-domain 10
bridge-domain 20
interface Loopback0
ip pim sparse-mode
ip ospf 10 area 0
interface GigabitEthernet1
ip address 10.1.2.1 255.255.255.0
ip pim sparse-mode
ip ospf 10 area 0
negotiation auto
no mop enabled
no mop sysid
interface GigabitEthernet2
no ip address
negotiation auto
no mop enabled
no mop sysid
encapsulation dot1q 10
encapsulation dot1q 20
interface nve1
no ip address
source-interface Loopback0
no mop enabled
no mop sysid
router ospf 10
router-id 192.168.1.1
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
End
hostname R2
no aaa new-model
ip multicast-routing distributed
interface Loopback0
ip pim sparse-mode
ip ospf 10 area 0
interface GigabitEthernet1
ip pim sparse-mode
ip ospf 10 area 0
negotiation auto
no mop enabled
no mop sysid
interface GigabitEthernet2
ip pim sparse-mode
ip ospf 10 area 0
negotiation auto
no mop enabled
no mop sysid
interface GigabitEthernet3
ip pim sparse-mode
ip ospf 10 area 0
negotiation auto
no mop enabled
no mop sysid
!
router ospf 10
router-id 192.168.1.2
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
End
hostname R3
no aaa new-model
ip multicast-routing distributed
!
!
bridge-domain 10
bridge-domain 20
interface Loopback0
ip pim sparse-mode
ip ospf 10 area 0
interface GigabitEthernet1
ip pim sparse-mode
ip ospf 10 area 0
negotiation auto
no mop enabled
no mop sysid
interface GigabitEthernet2
no ip address
negotiation auto
no mop enabled
no mop sysid
encapsulation dot1q 10
encapsulation dot1q 20
interface nve1
no ip address
source-interface Loopback0
no mop enabled
no mop sysid
router ospf 10
router-id 192.168.1.3
auto-cost reference-bandwidth 10000
ip forward-protocol nd
ip http server
ip http secure-server
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
End
hostname R4
no aaa new-model
!
ip multicast-routing distributed
bridge-domain 10
bridge-domain 20
interface Loopback0
ip pim sparse-mode
ip ospf 10 area 0
interface GigabitEthernet1
ip pim sparse-mode
negotiation auto
no mop enabled
no mop sysid
interface GigabitEthernet2
no ip address
negotiation auto
no mop enabled
no mop sysid
encapsulation untagged
interface GigabitEthernet3
no ip address
negotiation auto
no mop enabled
no mop sysid
encapsulation untagged
!
interface nve1
no ip address
source-interface Loopback0
no mop enabled
no mop sysid
router ospf 10
router-id 192.168.1.4
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
end