Cisco Nexus 1000V Switch for KVM Configuration Guide

Category
Software manuals
Type
Configuration Guide

This manual is also suitable for

Cisco Nexus 1000V for KVM System Management Configuration Guide,
Release 5.x
First Published: August 01, 2014
Last Modified: November 21, 2014
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
©2014 Cisco Systems, Inc. All rights reserved.
CONTENTS
CHAPTER 1
New and Changed Information 1
New and Changed Information 1
CHAPTER 2
Overview 3
Cisco Nexus 1000V for KVM and OpenStack 3
CDP 4
Domains 4
Configuration Management 4
File Management 5
User Management 5
NTP 5
SNMP 5
NetFlow 5
System Messages 5
Troubleshooting 6
CHAPTER 3
Configuring CDP 7
Information About CDP 7
High Availability 8
Guidelines and Limitations 8
Default Settings 8
Configuring CDP 9
Enabling or Disabling CDP Globally 9
Enabling or Disabling CDP on an Interface 9
Configuring CDP Options 10
Advertising a CDP Version 12
Verifying the CDP Configuration 12
Monitoring CDP 13
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
iii
Monitoring CDP Statistics 13
Clearing CDP Statistics 13
Configuration Example for CDP 13
Feature History for CDP 14
CHAPTER 4
Configuring the Domain 15
Information About Domains 15
Layer 3 Control 15
Configuring a Domain 16
Verifying the Domain 17
Feature History for the VSM Domain 18
CHAPTER 5
Managing Host Server Connections 19
Information about Host Server Connections 19
Configuring Host Server Connections 19
Mapping a VEM to a New Host 19
Removing Host Mapping from a Virtual Ethernet Module 20
Viewing Host Mapping 21
Verifying the Configuration 21
Feature History for Host Server Connections 24
CHAPTER 6
Managing the Configuration 25
Information About Configuration Management 25
Changing the Switch Name 25
Configuring a Message of the Day 26
Saving a Configuration 27
Erasing a Configuration 27
Verifying the Configuration 28
Feature History for Configuration Management 28
CHAPTER 7
Working with Files 29
Information About Files 29
Navigating the File System 30
Specifying File Systems 30
Identifying the Directory You are Working From 30
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
iv
Contents
Changing Your Directory 31
Listing the Files in a File System 32
Identifying Available File Systems for Copying Files 32
Using Tab Completion 33
Copying and Backing Up Files 33
Creating a Directory 35
Removing an Existing Directory 35
Moving Files 36
Deleting Files or Directories 36
Compressing Files 37
Uncompressing Files 38
Directing Command Output to a File 39
Verifying a Bootable Image 39
Loading a File into the Running Configuration 40
Rolling Back to a Previous Configuration 40
Displaying Files 41
Displaying File Contents 41
Displaying Directory Contents 41
Displaying File Checksums 42
Displaying the Last Lines in a File 42
Feature History for File Management 43
CHAPTER 8
Managing Users 45
Information About User Management 45
Displaying Current User Access 45
Sending a Message to Users 46
Feature History for User Management 46
CHAPTER 9
Configuring NTP 47
Information about NTP 47
NTP Peers 48
High Availability 48
Prerequisites for NTP 48
Guidelines and Limitations for NTP 49
Default Settings for NTP 49
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
v
Contents
Configuring an NTP Server and Peer 49
Clearing NTP Sessions 50
Clearing NTP Statistics 50
Verifying the NTP Configuration 50
Feature History for NTP 51
CHAPTER 10
Configuring Local SPAN and ERSPAN 53
Information About SPAN and ERSPAN 53
SPAN Sources 53
Characteristics of SPAN Sources 54
SPAN Destinations 54
Characteristics of Local SPAN Destinations 54
Characteristics of ERSPAN Destinations 54
Local SPAN 55
Encapsulated Remote SPAN 55
Network Analysis Module 56
SPAN Sessions 56
Guidelines and Limitations for SPAN 57
Default Settings for SPAN 58
Configuring SPAN 58
Configuring a Local SPAN Session 58
Configuring an ERSPAN Port Profile 61
Configuring an ERSPAN Session 63
Shutting Down a SPAN Session from Monitor Configuration Mode 66
Shutting Down a SPAN Session from Monitor Configuration Mode 67
Resuming a SPAN Session from Global Configuration Mode 68
Resuming a SPAN Session from Monitor Configuration Mode 69
Configuring the Allowable ERSPAN Flow IDs 70
Verifying the SPAN Configuration 71
Configuration Example for an ERSPAN Session 71
Example of Configuring a SPAN Session 72
Example of a Configuration to Enable SPAN Monitoring 73
Feature History for SPAN and ERSPAN 73
CHAPTER 11
Configuring SNMP 75
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
vi
Contents
Information About SNMP 75
SNMP Functional Overview 75
SNMP Notifications 76
SNMPv3 76
Security Models and Levels for SNMPv1, v2, v3 76
User-Based Security Model 77
CLI and SNMP User Synchronization 78
Group-Based SNMP Access 78
High Availability 79
Guidelines and Limitations for SNMP 79
Default Settings for SNMP 79
Configuring SNMP 79
Configuring SNMP Users 79
Enforcing SNMP Message Encryption for All Users 81
Creating SNMP Communities 81
Filtering SNMP Requests 81
Configuring SNMP Notification Receivers 83
Configuring a Host Receiver for SNMPv1 Traps 83
Configuring a Host Receiver for SNMPv2c Traps or Informs 83
Configuring a Host Receiver for SNMPv3 Traps or Informs 83
Configuring the Notification Target User 84
Enabling SNMP Notifications 85
Disabling LinkUp/LinkDown Notifications on an Interface 86
Enabling a One-time Authentication for SNMP over TCP 86
Assigning the SNMP Switch Contact and Location Information 87
Disabling SNMP 87
Modifying the AAA Synchronization Time 88
Verifying the SNMP Configuration 88
MIBs 89
Feature History for SNMP 90
CHAPTER 12
Configuring NetFlow 91
Information About NetFlow 91
What is a Flow 91
Flow Record Definition 92
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
vii
Contents
Predefined Flow Records 94
Accessing NetFlow Data 96
Command-line Interface for NetFlow 96
Flow Monitor 96
Flow Exporter 96
NetFlow Collector 97
Exporting Flows to the NetFlow Collector Server 97
What NetFlow Data Looks Like 99
Network Analysis Module 99
High Availability for NetFlow 99
Guidelines and Limitations for NetFlow 99
Default Settings for NetFlow 100
Enabling the NetFlow Feature 101
Configuring Netflow 101
Defining a Flow Record 101
Defining a Flow Exporter 104
Defining a Flow Monitor 105
Assigning a Flow Monitor to an Interface 107
Adding a Flow Monitor to a Port Profile 108
Verifying the NetFlow Configuration 109
Netflow Example Configuration 111
Related Documents for NetFlow 112
Feature History for NetFlow 112
CHAPTER 13
Configuring System Message Logging 113
Information About System Message Logging 113
System Message Logging Facilities 114
Guidelines and Limitations for System Message Logging 118
Default System Message Logging Settings 118
Configuring System Message Logging 119
Configuring System Message Logging to Terminal Sessions 119
Restoring System Message Logging Defaults for Terminal Sessions 120
Configuring System Message Logging for Modules 120
Restoring System Message Logging Defaults for Modules 121
Configuring System Message Logging for Facilities 121
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
viii
Contents
Restoring System Message Logging Defaults for Facilities 122
Configuring syslog Servers 122
Restoring System Message Logging Defaults for Servers 123
Using a UNIX or Linux System to Configure Logging 123
Displaying Log Files 124
Verifying the System Message Logging Configuration 124
Feature History for System Message Logging 127
CHAPTER 14
Enabling vTracker 129
Information About vTracker 130
Guidelines and Limitations 130
Default Settings for vTracker Parameters 131
Enabling vTracker Globally 131
Upstream View 133
Upstream View Overview 133
Displaying Upstream View 134
Upstream View Field Description 134
Virtual Machine (VM) View 136
Virtual Machine (VM) View Overview 136
Displaying the VM vNIC View 136
VM vNIC View Field Description 137
Module pNIC View 138
Module pNIC View Overview 138
Displaying the Module pNIC View 138
Module pNIC View Field Description 139
VLAN View 140
VLAN View Overview 140
Displaying the VLAN View 140
VLAN View Field Description 141
Feature History for vTracker 141
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
ix
Contents
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
x
Contents
CHAPTER 1
New and Changed Information
This chapter contains the following sections:
•New and Changed Information, page 1
New and Changed Information
Table 1: New and Changed Features
Where DocumentedChanged in ReleaseDescriptionContent
Enabling vTracker, on page 1295.2(1)SK3(2.1)This feature is introduced.vTracker
Configuring Local SPAN and
ERSPAN, on page 53
5.2(1)SK31(2.1)This feature is introduced.Local SPAN and ERSPAN
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
1
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
2
New and Changed Information
New and Changed Information
CHAPTER 2
Overview
This chapter contains the following sections:
•Cisco Nexus 1000V for KVM and OpenStack, page 3
•CDP, page 4
•Domains, page 4
•Configuration Management, page 4
•File Management, page 5
•User Management, page 5
•NTP, page 5
•SNMP, page 5
•NetFlow, page 5
•System Messages, page 5
•Troubleshooting, page 6
Cisco Nexus 1000V for KVM and OpenStack
The Cisco Nexus 1000V for KVM consists of two main components:
•Virtual Ethernet Module (VEM)—A software component that is deployed on each kernel-based virtual
machine (VM) host. Each VM on the host is connected to the VEM through virtual Ethernet (vEth)
ports.
•Virtual Supervisor Module (VSM)—The Management component that controls multiple VEMs and
helps in the definition of VM-focused network policies. It is deployed either as a virtual appliance on
any KVM host or on the Cisco Cloud Services Platform appliance.
Each of these components is tightly integrated with the OpenStack environment:
•The VEM is a hypervisor-resident component and is tightly integrated with the KVM architecture.
•The VSM is integrated with OpenStack using the OpenStack Neutron Plug-in.
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
3
•The OpenStack Neutron API has been extended to include two additional user-defined resources:
â—¦Network profiles are logical groupings of network segments.
â—¦Policy profiles group port policy information, including security.
Using OpenStack, you create VMs, networks, and subnets on the Cisco Nexus 1000V for KVM, by defining
components such as the following:
•Tenants
•Network segments, such as VLANs, VLAN trunks, and VXLANs
•IP address pools (subnets)
Using the Cisco Nexus 1000V for KVM VSM, you create port profiles (called policy profiles in OpenStack),
which define the port policy information, including security settings.
When a VM is deployed, a port profile is dynamically created on the Cisco Nexus 1000V for KVM for each
unique combination of policy port profile and network segment. All other VMs deployed with the same policy
to this network reuse this dynamic port profile.
You must consistently use OpenStack for all VM network and subnet configuration. If you use both
OpenStack and the VSM to configure VM networks and subnets, the OpenStack and the VSM configurations
can become out-of-sync and result in faulty or inoperable network deployments.
Note
CDP
The Cisco Discovery Protocol (CDP) runs over the data link layer and is used to advertise information to all
attached Cisco devices and to discover and view information about attached Cisco devices. CDP runs on all
Cisco-manufactured equipment.
Domains
You must create a domain ID for Cisco Nexus 1000V. This process is part of the initial setup of the Cisco
Nexus 1000V when you are installing the software. If you need to create a domain ID later, use the
saves-domain command.
You can establish Layer 3 Control in your VSM domain, which means that your VSM is Layer 3 accessible
and able to control hosts that reside in a separate Layer 2 network.
Configuration Management
The Cisco Nexus 1000V enables you to change the switch name, configure messages of the day, and display,
save, and erase configuration files.
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
4
Overview
CDP
File Management
Using a single interface, you can manage the file system including:
•Flash memory file systems
•Network file systems (TFTP and FTP)
•Any other endpoint for reading or writing data (such as the running configuration)
User Management
You can identify the users who are currently connected to the device and send a message to either a single
user or all users.
NTP
The Network Time Protocol (NTP) synchronizes timekeeping among a set of distributed time servers and
clients. This synchronization allows you to correlate events when you receive system logs and other
time-specific events from multiple network devices.
SNMP
The Simple Network Management Protocol (SNMP) is an application-layer protocol that provides a message
format for communication between SNMP managers and agents. SNMP provides a standardized framework
and a common language that you can use to use to monitor and manage devices in a network.
NetFlow
NetFlow gives visibility into traffic that transits the virtual switch by characterizing IP traffic based on its
source, destination, timing, and application information. You can use this information to assess network
availability and performance, assist in meeting regulatory requirements (compliance), and help with
troubleshooting.
You can also use the Cisco Network Analysis Module (NAM) to monitor NetFlow data sources.
System Messages
You can use system message logging to control the destination and to filter the severity level of messages that
system processes generate. You can configure logging to a terminal session, a log file, and syslog servers on
remote systems. System message logging is based on RFC 3164.
For more information about the system message format and the messages that the device generates, see the
Cisco Nexus 1000V Series NX-OS System Messages Reference.
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
5
Overview
File Management
Troubleshooting
Ping and trace route are among the available troubleshooting tools. For more information, see the Cisco Nexus
1000V for KVM Troubleshooting Guide.
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
6
Overview
Troubleshooting
CHAPTER 3
Configuring CDP
This chapter contains the following sections:
•Information About CDP, page 7
•Guidelines and Limitations, page 8
•Default Settings, page 8
•Configuring CDP, page 9
•Verifying the CDP Configuration, page 12
•Monitoring CDP, page 13
•Configuration Example for CDP, page 13
•Feature History for CDP, page 14
Information About CDP
The Cisco Discovery Protocol (CDP), which runs over the data link layer, is used to advertise information to
all attached Cisco devices and to discover and view information about attached Cisco devices. CDP runs on
all Cisco-manufactured equipment.
Each device that you configure for CDP sends periodic advertisements to a multicast address. Each device
advertises at least one address at which it can receive SNMP messages. The advertisements also contain hold
time information, which indicates the length of time that a receiving device should hold CDP information
before discarding it. You can configure the advertisement or refresh timer and the hold timer.
CDP Version 2 (CDPv2) allows you to track instances where the native VLAN ID or port duplex states do
not match between connecting devices.
CDP advertises the following type-length-value fields (TLVs):
•Device ID
•Address
•Port ID
•Capabilities
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
7
•Version
•Platform
•Native VLAN
•Full/half duplex
•Maximum Transmission Unit (MTU)
•Sysname
•SysObjectID
•Management address
•Physical location
All CDP packets include a VLAN ID. The CDP packet is untagged, so it goes over the native/access VLAN,
which is then also added to the packet.
High Availability
Stateless restarts are supported for CDP. After a reboot or a supervisor switchover, the running configuration
is applied.
Guidelines and Limitations
•CDP gathers protocol addresses of neighboring devices and discovers the platform of those devices.
CDP runs over the data link layer only. With CDP, two systems that support different Layer 3 protocols
can learn about each other.
•CDP can discover up to 256 neighbors per port if the port is connected to a hub with 256 connections.
•CDP must be enabled globally before you can configure CDP on an interface. CDP is enabled globally
by default.
•You can configure CDP on physical interfaces and port channels only.
Default Settings
DefaultParameters
Enabled globally and on all interfacesCDP
Version 2CDP version
System nameCDP device ID
60 secondsCDP timer
180 secondsCDP hold timer
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
8
Configuring CDP
High Availability
Configuring CDP
This section includes the following topics:
•CDP Global Configuration
•Enabling CDP on an Interface
•Disabling CDP on an Interface
Enabling or Disabling CDP Globally
Be sure you understand that when you globally disable the CDP feature, all CDP configurations are removed.
Before You Begin
Before beginning this procedure, you must be logged in to the CLI in EXEC mode.
Procedure
PurposeCommand or Action
Places you in global configuration mode.switch# config t
Step 1
Enables or disables the CDP feature globally.switch(config)# [no]cdp enable
Step 2
switch# config t
switch(config)# no cdp enable
Enabling or Disabling CDP on an Interface
You can enable or disable CDP on an interface.
Although CDP is enabled by default on all interfaces, should it become disabled, you can use this procedure
to enable it again.
Note
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
9
Configuring CDP
Configuring CDP
PurposeCommand or Action
Places you in interface configuration mode for the
specific interface.
switch(config)# interface interface-type
number
Step 2
Disables or enables CDP on this interface.switch(config-if)# [no]cdp enable
Step 3
(Optional)
Displays CDP information for the specified
interface.
switch(config-if)# show cdp interface
interface-type number
Step 4
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to
the startup configuration.
switch(config-if)# copy running-config
startup-config
Step 5
switch# config terminal
switch(config)# interface ethernet 3/1
switch(config-if)# no cdp enable
switch(config-if)# show cdp interface mgmt0
mgmt0 is up
CDP disabled on interface
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
switch(config)# copy running-config startup-config
Configuring CDP Options
You can configure the following for CDP:
•The device ID format to use
Only the system-name device ID format is supportedNote
•The maximum hold time for neighbor information
•The refresh time for sending advertisements
You can view output from the upstream Catalyst 6500 Series switch by using the show cdp neighbor
command.
Note
Before You Begin
Before beginning this procedure, be sure you know the following information:
•How long you want CDP to retain neighbor information if you are setting the holdtime.
•How often you want CDP to advertise if you are setting the CDP timer.
Cisco Nexus 1000V for KVM System Management Configuration Guide, Release 5.x
10
Configuring CDP
Configuring CDP Options
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152

Cisco Nexus 1000V Switch for KVM Configuration Guide

Category
Software manuals
Type
Configuration Guide
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI