Assign interfaces
to be managed by the controller
In a VTEP, explicitly assign interfaces for
an OVSDB controller to manage.
Before you assign the interface, consider the following:
- The interface
must be in Switchport Trunk mode.
- The interface
must not be a member of any VLAN
- The interface
must not be a member of a port-channel
When the above conditions are not met when assigning
the interfaces to be managed by the controller, the system returns
error messages.
When the interface is assigned,
you cannot:
- remove the
interface from Switchport Trunk mode
- add the interface
as a member of any VLAN
- remove the
interface from the controller configuration if the interface has active
port-scoped VLAN (Port,VLAN) pairs configured by the controller
To assign an interface to be managed by the OVSDB
controller:
- Configure an interface from CONFIGURATION mode.
OS10(config)# interface ethernet 1/1/1
- Configure L2 trunking in INTERFACE mode.
OS10(config-if-eth1/1/1)# switchport mode
trunk
- Configure the access VLAN assigned to a L2 trunk port in the INTERFACE
mode.
OS10(config-if-eth1/1/1)# no switchport
access vlan
- Assign the interface to the controller.
OS10(config-if-eth1/1/1)# nve-controller
To view the controller information and the ports the controller manages,
use the show nve controller command.
OS10# show nve controller
Management IP : 10.16.140.29/16
Gateway IP : 55.55.5.5
Max Backoff : 1000
Configured Controller : 10.16.140.172:6640 ssl (connected)
Controller Cluster
IP Port Protocol Connected State Max-Backoff
10.16.140.173 6640 ssl true ACTIVE 1000
10.16.140.171 6640 ssl false BACKOFF 1000
10.16.140.172 6640 ssl true ACTIVE 1000
NVE Controller Ports
ethernet1/1/1:1
ethernet1/1/15