Configuring the Domain

Configuring the Domain

This chapter contains the following sections:

Information About the Domain

You must create a domain for the Cisco Nexus 1000V. This process is part of the initial setup of the a Cisco Nexus 1000V when installing the software. If you need to create a domain later, you can do so by using the setup command or the procedures described in this chapter.

Layer 3 Control

The Cisco Nexus 1000V for KVM supports Layer 3 control by default, and this setting cannot be changed. Layer 3 control, or IP connectivity, is supported between the Virtual Supervisor Module (VSM) and the Virtual Ethernet Module (VEM) for control and packet traffic. With Layer 3 control, a VSM can be Layer 3 accessible and can control hosts that reside in a separate Layer 2 network. In the Layer 3 mode, all the VEMs ( hosts ) managed by VSM and the VSM can be in different networks.

Another VSM cannot control a host that is outside of the Layer 2 network it controls, the host on which it resides must be controlled by another VSM.

To implement Layer 3 control, you must make the following configuration:

  • Configure the VSM in L3 control mode.
Figure 1. Example of Layer 3 Control IP Connectivity . In this figure, VSM 1 controls VEMs in Layer 2 Network A and VSM 2 controls VEMs in Layer 2 Network B.



Configuring a Domain

You can create a domain for the Cisco Nexus 1000V that identifies the VSM and VEMs that reside in the domain. This process is part of the initial setup of the Cisco Nexus 1000V when installing the software. If you need to create a domain after initial setup, you can do so by using this procedure.

Before You Begin

Before beginning this procedure, you must be logged in to the CLI in EXEC mode.

You must know the following information:

  • A unique domain ID for this Cisco Nexus 1000V instance.
Procedure
     Command or ActionPurpose
    Step 1switch# config terminal  

    Places you in global configuration mode.

     
    Step 2switch(config)# svs-domain 

    Places you in SVS domain configuration mode.

     
    Step 3switch(config-svs-domain)# svs mode L3 interface {mgmt0 | control0} 
    Designates which interface to use, mgm0 or control0.
    Note   

    The interface must already have an IP address configured.

     
    Step 4switch(config-svs-domain)# domain id number 

    Creates the domain ID for this Cisco Nexus 1000V instance.

     
    Step 5switch(config--svs-domain)# show svs domain  (Optional)

    Displays the domain configuration.

     
    Step 6switch(config-svs-domain)# exit 

    Returns you to global configuration mode.

     
    Step 7switch(config)# copy running-config startup-config  (Optional)

    Copies the running configuration to the startup configuration.

     
    switch# configuration terminal 
    switch(config)# svs-domain
    switch(config-svs-domain)# svs mode L3 interface mgmt0
    switch(config-svs-domain)# domain id 1
    switch(config-vlan)# exit
    
    switch(config)# show svs domain
    SVS domain config: 
      Domain id:    1   
      Control vlan:  NA
      Packet vlan:   NA
      Control mode: L3 
      Switch guid: 07da7e1a-2bff-6833-b416-f5d83204a55c
      L3 control interface: mgmt0
      Status: Config push to VC successful.
      Control type multicast: No 
    
    Note: Control VLAN and Packet VLAN are not used in L3 mode
    
    switch(config)# copy running-config startup-config
    [########################################] 100%
    switch(config)# 

    Verifying the Domain

    Use this procedure to view and verify the configured domain.

    Before You Begin
    • You are logged in to the CLI in any command mode.
    • You have configured a domain using the Creating a Domain procedure.
    Procedure
    show svs domain


    Example:
    switch# show svs domain
    SVS domain config: 
      Domain id:    1   
      Control vlan:  NA
      Packet vlan:   NA
      Control mode: L3 
      Switch guid: 07da7e1a-2bff-6833-b416-f5d83204a55c
      L3 control interface: mgmt0
      Status: Config push to VC successful.
      Control type multicast: No 
    
    Note: Control VLAN and Packet VLAN are not used in L3 mode
    

    Display the domain configured on the Cisco Nexus 1000V.


    Feature History for the VSM Domain

    This table only includes updates for those releases that have resulted in additions to the feature.

    Feature Name

    Releases

    Feature Information

    VSM Domain

    Release 5.2(1)SK1(2.1)

    This feature was introduced.