...
Code Block |
---|
set interface gigabit-ethernet te-1/1/9 family ethernet-switching native-vlan-id 1000 set interface gigabit-ethernet te-1/1/31 family ethernet-switching port-mode "trunk" set interface gigabit-ethernet te-1/1/31 family ethernet-switching vlan members 100 set protocols ovsdb management-ip 10.10.51.157 set protocols ovsdb controller ovsdb protocol ssl set protocols ovsdb controller ovsdb address 10.10.50.212 set protocols ovsdb controller ovsdb port 6632 set protocols ovsdb interface te-1/1/31 set vlanset l3-interface vlan-interface interface 1000 vif 1000 address 192.168.50.157 prefix-length 24 set vlans vlan-id 100 set vlans vlan-id 1000 l3-interface "1000" set vxlans source-interface 1000 address 192.168.50.157 set vxlans ovsdb-managed true |
...
Configure the VLAN ID to 10 for vxlan domain.
Code Block set vlans vlan-id 100
Configure the VLAN ID to 1000 for ip routing.
Code Block set vlans vlan-id 1000 l3-interface vlan-1000
Configure the te-1/1/9 interface VLAN ID to 1000.
Code Block set interface gigabit-ethernet te-1/1/9 family ethernet-switching native-vlan-id 1000
Configure VLAN trunk for te-1/1/31.
Code Block set interface gigabit-ethernet te-1/1/31 family ethernet-switching port-mode "trunk"
Configure the te-1/1/31 interface VLAN ID to 100.
Code Block set interface gigabit-ethernet te-1/1/31 family ethernet-switching vlan members 100
Configure IP address for the vlan-interface vlan-1000.
Code Block set vlanset l3-interface vlan-interface interface vlan-1000 vif vlan-1000 address 192.168.50.157 prefix-length 24
Configure VTEP interface sources IP address.
Code Block set vxlans source-interface vlan-1000 address 192.168.50.157
Enable VXLAN managed by ovsdb
Code Block set vxlan ovsdb-managed true
Configure ovsdb controller ip address
Code Block set protocols ovsdb controller ovsdb address 10.10.50.212
Configure ovsdb controller protocol
Code Block set protocols ovsdb controller ovsdb protocol ssl
Configure ovsdb controller port
Code Block set protocols ovsdb controller ovsdb port 6632
Configure ovsdb the interface on the VTEP
Code Block set protocols ovsdb interface te-1/1/31
...