252
(Switch-2) (Config)#ip routing
Step 3. Interface Configuration
(Switch-2) (Config)#interface loopback 0
(Switch-2) (Interface loopback 0)#ip address 10.1.1.2 255.255.255.255
(Switch-2) (Interface loopback 0)#exit
(Switch-2) (Config)#interface 0/1
(Switch-2) (Interface 0/1)#switchport allowed vlan add 201
(Switch-2) (Interface 0/1)#switchport tagging 201
(Switch-2) (Interface 0/1)#exit
(Switch-2) (Config)#interface 0/48
(Switch-2) (Interface 0/48)#routing
(Switch-2) (Interface 0/48)#ip address 11.1.1.2 255.255.255.252
(Switch-2) (Interface 0/48)#exit
Step 4. Enable OSPF and add network
(Switch-2) #configure
(Switch-2) (Config)#router ospf
(Switch-2) (config-router)#router-id 10.1.1.2
(Switch-2) (config-router)#network 10.1.1.2 0.0.0.0 area 0
(Switch-2) (config-router)#network 11.1.1.0 0.0.0.3 area 0
(Switch-2) (config-router)#exit
Step 5. Enable VXLAN and configure static VXLAN unicast group
(Switch-1) (Config)#interface vxlan 1
(Switch-1) (if-vxlan-1)#vxlan mode unicast
(Switch-1) (if-vxlan-1)#vxlan source-interface loopback 0
(Switch-1) (if-vxlan-1)#vxlan vlan 201 vni 201
(Switch-1) (if-vxlan-1)#vxlan unicast-group 10.1.1.2
(Switch-1) (if-vxlan-1)#vxlan unicast-group 10.1.1.3
(Switch-1) (if-vxlan-1)#exit
VXLAN Configuration Verification
Verify VXLAN configuration
(Switch-1) #show vxlan
VXLAN Configuration
Interface...................................... Vxlan-1
Mode........................................... Unicast