Table Of Contents
Overview
Information About DCNM
DCNM Client and Server
Features in DCNM, Release 4.0
DCNM Licensing
Documentation About DCNM
Deploying DCNM
NX-OS Device Configuration Requirements
Preparing an NX-OS Device for Management by DCNM
NX-OS System-Message Logging Requirements
Interface Link-Status Events Logging Requirement
Logfile Requirements
Logging Severity-Level Requirements
Configuring a Device to Meet DCNM Logging Requirements
Overview
This chapter provides a brief overview of Cisco Data Center Network Manager (DCNM). It also includes general DCNM deployment steps and details about preparing NX-OS devices for management and monitoring by DCNM.
This chapter includes the following sections:
•
Information About DCNM
•
Deploying DCNM
•
NX-OS Device Configuration Requirements
Information About DCNM
DCNM is a management solution that maximizes overall data center infrastructure uptime and reliability, which improves business continuity. Focused on the management requirements of the data center network, DCNM provides a robust framework and rich feature set that fulfils the switching needs of present and future data centers. In particular, DCNM automates the provisioning process.
DCNM is a solution designed for Cisco NX-OS-enabled hardware platforms. Cisco NX-OS provides the foundation for the Cisco Nexus product family, including the Cisco Nexus 7000 Series.
This section includes the following topics:
•
DCNM Client and Server
•
Features in DCNM, Release 4.0
•
DCNM Licensing
•
Documentation About DCNM
DCNM Client and Server
DCNM is Java-based client-server application. For Java requirements, server system requirements, and client system requirements, see the Cisco DCNM Release Notes, Release 4.0, at the following website:
http://www.cisco.com/en/US/docs/switches/datacenter/sw/4_0/dcnm/release/notes
/dcnm_4_0_relnotes.html
Figure 1-1 shows DCNM and the variety of NX-OS device configuration methods that are available to a user. The DCNM client communicates with the DCNM server only, never directly with managed NX-OS devices. The DCNM server uses the XML management interface of NX-OS devices to manage and monitor them. The XML management interface is a programmatic method based on the NETCONF protocol that complements the command-line interface (CLI) functionality. For more information, see the Cisco NX-OS XML Management Interface User Guide.
Figure 1-1 DCNM and Other NX-OS Device Configuration Methods
Features in DCNM, Release 4.0
DCNM 4.0 supports the configuration and monitoring of the following NX-OS features:
•
Ethernet switching
–
Physical ports and port channels
–
Loopback and management interfaces
–
VLAN network interfaces (sometimes referred to as switched virtual interfaces or SVIs)
–
VLAN and private VLAN (PVLAN)
–
Spanning Tree Protocol, including Rapid Spanning Tree (RST) and Multi-Instance Spanning Tree Protocol (MST)
•
Network security
–
Access control lists
–
IEEE 802.1X
–
Authentication, authorization, and accounting (AAA)
–
Role-based access control
–
Dynamic Host Configuration Protocol (DHCP) snooping
–
Dynamic Address Resolution Protocol (ARP) inspection
–
IP Source Guard
–
Traffic storm control
–
Port security
•
General
–
Virtual Device Context
–
Gateway Load Balancing Protocol (GLBP), object tracking, and keychain management
–
Hardware resource utilization with Ternary Content Addressable Memory (TCAM) statistics
–
Switched Port Analyzer (SPAN)
DCNM includes the following features for assistance with management of your network:
•
Topology viewer
•
Event browser
•
Hardware inventory
DCNM includes the following administrative features:
•
DCNM server user accounts
•
Device discovery, including support for Cisco Discovery Protocol
•
Automatic synchronization with discovered devices
•
Statistical data collection management
•
DCNM server and client logging
DCNM Licensing
Mnay of the features of DCNM 4.0 do not require a license; however, the following features are enabled in DCNM only after you have installed a LAN Enterprise license:
•
802.1x
•
Gateway load-balancing protocol (GLBP)
•
Object tracking
•
Keychain management
•
DHCP snooping
•
Dynamic ARP Inspection
•
ARP access control lists (ACLs)
•
IP Source Guard
•
Traffic storm control
•
Port security
•
IP tunnels
•
Virtual Device Contexts (VDCs)
•
Topology view of VDCs within a Nexus chassis
•
Display of historical statistical data
Documentation About DCNM
The documentation for DCNM includes several configuration guides and other documents. For more information about the DCNM documentation, see the "Related Documentation" section on page xvi.
Deploying DCNM
You can deploy DCNM to manage and monitor supported network devices. This procedure provides the general steps that you must take to deploy DCNM and links to more detailed procedures to help you with each general step.
BEFORE YOU BEGIN
Determine which computer will run the DCNM server software. This computer should meet the system requirements for the DCNM server. For details about system requirements, see the Cisco DCNM Release Notes, Release 4.0, at the following website:
http://www.cisco.com/en/US/docs/switches/datacenter/sw/4_0/dcnm/release/notes
/dcnm_4_0_relnotes.html
DETAILED STEPS
Step 1
Prepare the computer that you want to install the DCNM server on. For more information, see the "Prerequisites for Installing the DCNM Server" section on page 2-1.
Step 2
Download Cisco DCNM. For more information, see the "Downloading the DCNM Server Software" section on page 2-2.
Step 3
Install the DCNM server software. For more information, see the "Installing the DCNM Server" section on page 2-3.
Step 4
Start the DCNM server. For more information, see the "Starting the DCNM Server" section on page 2-9.
Step 5
(Optional) Install the license on the DCNM server. For more information, see the "Installing Licenses" section on page 2-11
Step 6
Install the DCNM client. For more information, see Chapter 3, "Installing and Launching the DCNM Client."
Step 7
Prepare each NX-OS device that you want to manage and monitor by using DCNM. For more information, see the "Preparing an NX-OS Device for Management by DCNM" section.
Note
Remember that each virtual device context (VDC) on a physical device that runs NX-OS is considered an NX-OS device. You must perform the steps in "Preparing an NX-OS Device for Management by DCNM" section for each VDC that you want to manage and monitor with DCNM.
Step 8
Perform device discovery for one or more devices. For more information, see the "Administering Device Discovery" section on page 9-1.
Step 9
(Optional) If you installed a license, enable DCNM to use licensed features on specific devices by adding managed devices to the license. For more information, see the "Administering DCNM Licensed Devices" section on page 9-12.
Step 10
Begin using DCNM to configure and monitor the managed devices. For more information about using DCNM, see the Cisco DCNM configuration guides at the following web site:
http://www.cisco.com/en/US/products/ps9369
/products_installation_and_configuration_guides_list.html
NX-OS Device Configuration Requirements
This section provides information about device configuration requirements and configuration tasks you must perform on NX-OS devices that you want to manage and monitor by using DCNM. You must perform the configuration tasks by using a method other than DCNM, such as the CLI.
Note
For up-to-date information about Cisco network device operating systems and hardware supported by DCNM, see the Cisco DCNM Release Notes, Release 4.0, at the following website:
http://www.cisco.com/en/US/docs/switches/datacenter/sw/4_0/dcnm/release/notes
/dcnm_4_0_relnotes.html
This section includes the following topics:
•
Preparing an NX-OS Device for Management by DCNM
•
NX-OS System-Message Logging Requirements
Preparing an NX-OS Device for Management by DCNM
Before you perform device discovery with DCNM, you should perform the following procedure on each NX-OS device that you want to manage and monitor with DCNM. This procedure helps ensure that device discovery succeeds and that DCNM can effectively manage and monitor the device.
Note
Remember that each VDC on a physical device that runs NX-OS is considered an NX-OS device. You must perform the steps in "Preparing an NX-OS Device for Management by DCNM" section for each VDC that you want to manage and monitor with DCNM.
DETAILED STEPS
To successfully discover an NX-OS device, DCNM requires that you configuring the following items in each VDC that you want to manage and monitor with DCNM:
Step 1
Log into the CLI of the NX-OS device.
Step 2
Use the configure terminal command to access global configuration mode.
Step 3
Confirm that the XML server is enabled. To do so, use the show xml server status command.
If the XML server is not enabled, use the xml server command to enable it.
Step 4
Ensure that an RSA key exists so that secure shell (SSH) connections can succeed. To do so, use the show ssh key rsa command.
If you need to generate an RSA key, use the ssh key command.
Note
You must disable the SSH server before you can generate a key. To do so, use the no ssh server enable command.
Step 5
Ensure that the SSH server is enabled. To do so, use the show ssh server command.
If the SSH server is not enabled, use the ssh server enable command to enable it.
Step 6
Ensure that CDP is enabled globally and on the interface that DCNM uses to connect to the device. Use the show run cdp all command to see whether CDP is enabled. For assistance with configuring CDP, see the Cisco NX-OS System Management Configuration Guide (http://www.cisco.com/en/US/docs/switches/datacenter/sw/4_0/nx-os/system_management/ configuration/guide/sm_nx-os_config.html).
Step 7
Ensure that the NX-OS device meets the system-message logging requirements of DCNM. For more information, see the "NX-OS System-Message Logging Requirements" section.
NX-OS System-Message Logging Requirements
To monitor and manage devices, DCNM depends partly on system messages for some NX-OS features. To ensure that DCNM receives the messages that it needs, you must ensure that all NX-OS devices managed and monitored by DCNM meet the logging requirements described in this section.
For information about configuring system-message logging on an NX-OS device, see the Cisco NX-OS System Management Configuration Guide.
This section includes the following topics:
•
Interface Link-Status Events Logging Requirement
•
Logfile Requirements
•
Logging Severity-Level Requirements
•
Configuring a Device to Meet DCNM Logging Requirements
Interface Link-Status Events Logging Requirement
You must configure the device to log system messages about interface link-status change events. This requirement ensures that DCNM receives information about interface link-status changes. The following two commands must be present in the running configuration on the device:
logging event link-status enable
logging event link status default
To ensure that these commands are configured on the device, perform the steps in the "Configuring a Device to Meet DCNM Logging Requirements" section.
Logfile Requirements
You must configure the device to store system messages that are severity level 6 or lower in the log file.
Although you can specify any name for the log file, we recommend that you do not change the name of the log file. When you change the name of the log file, the device clears previous system messages. The default name of the log file is "messages".
If you use the default name for the log file, the following command must be present in the running configuration on the device:
logging logfile messages 6
To ensure that this command is configured on the device, perform the steps in the "Configuring a Device to Meet DCNM Logging Requirements" section.
Logging Severity-Level Requirements
All enabled features on an NX-OS have a default logging level. For features supported by DCNM, DCNM requires the logging severity levels set to a specific level depending on the feature. The logging level required varies from feature to feature. As of Cisco DCNM Release 4.0, DCNM cannot configure logging levels on the managed NX-OS devices. We plan to enhance DCNM to configure logging levels in a future release; however, with Cisco DCNM Release 4.0, you must ensure that any NX-OS device that you want to manage and monitor with DCNM is configured with logging levels that meet the logging-level requirements listed in Table 1-1.
When evaluating the logging-level configuration of a device, consider the following:
•
DCNM has logging-level requirements for only the features listed in Table 1-1. If an NX-OS logging facility does not appear in Table 1-1, you do not need to configure a logging level in order for DCNM to successfully manage and monitor the device.
•
The default NX-OS logging level for some facilities is not high enough to support management of the feature by DCNM. Be sure that you raise the logging level for a facility when its default level is not high enough to satisfy the DCNM logging-level requirement. In Table 1-1, DCNM logging levels that exceed the default logging level appear in bold text.
•
You can set a logging level higher than the DCNM requirement. The maximum logging severity level is 7. If a logging level exceeds the DCNM requirement, you do not need to lower the logging level.
•
NX-OS does not support logging-level configuration for disabled features. If you disable a feature, any nondefault logging level configuration is lost and is not restored if you reenable the feature later. When you enable a feature, perform the steps in "Configuring a Device to Meet DCNM Logging Requirements" section to ensure that logging level configuration for the feature meets DCNM requirements.
•
When you create a new VDC, its running configuration includes only the default logging levels. For each VDC that you create, perform the steps in "Configuring a Device to Meet DCNM Logging Requirements" section to ensure that logging level configuration in each VDC meets DCNM requirements.
To ensure that logging severity levels are correctly configured on the device, perform the steps in the "Configuring a Device to Meet DCNM Logging Requirements" section.
Table 1-1 Logging Levels per DCNM Feature
DCNM Feature
|
NX-OS Logging Facility
|
Enabled by Default?
|
Logging Facility Keyword
|
NX-OS Default Logging Level
|
Minimum DCNM-
|
Your Current Logging Level
|
AAA
|
AAA
|
Yes
|
aaa
|
3
|
5
|
|
RADIUS
|
Yes
|
radius
|
3
|
5
|
|
TACACS+
|
No
|
tacacs+
|
3
|
5
|
|
Device Discovery
|
CDP
|
Yes
|
cdp
|
2
|
6
|
|
Topology
|
DHCP snooping
|
DHCP snooping
|
No
|
dhcp
|
2
|
6
|
|
Dynamic ARP Inspection
|
IP Source Guard
|
Dot1X
|
802.1x
|
No
|
dot1x
|
2
|
5
|
|
Traffic Storm Control
|
Ethernet port manager
|
Yes
|
ethpm
|
5
|
5
|
|
Ethernet Interfaces
|
Unidirectional Link Detection (UDLD)
|
No
|
udld
|
5
|
5
|
|
Gateway Load Balancing Protocol (GLBP)
|
GLBP
|
No
|
glbp
|
3
|
6
|
|
VLAN Network Interfaces
|
Interface VLAN
|
No
|
interface-vlan
|
2
|
5
|
|
Inventory
|
Module
|
Yes
|
module
|
5
|
5
|
|
Platform
|
Yes
|
platform
|
5
|
5
|
|
System manager
|
Yes
|
sysmgr
|
3
|
3
|
|
SPAN
|
SPAN
|
Yes
|
monitor
|
7
|
6
|
|
Port-Channel Interfaces
|
Port-channel interfaces
|
Yes
|
port-channel
|
5
|
6
|
|
Port security
|
Port security
|
No
|
port-security
|
2
|
5
|
|
Spanning Tree
|
Spanning tree
|
Yes
|
spanning-tree
|
3
|
6
|
|
Object Tracking
|
Object tracking
|
Yes
|
track
|
3
|
6
|
|
Virtual Device Contexts (VDCs)
|
VDC manager
|
Yes
|
vdc_mgr
|
6
|
6
|
|
Configuring a Device to Meet DCNM Logging Requirements
When you are preparing a device for management and monitoring by DCNM, you can perform an initial logging configuration. If you later enable a feature that was previously disabled, we recommend that you perform this procedure again to ensure that logging configuration on the device meets DCNM requirements.
You should also perform this procedure in a newly created VDC. Regardless of whether you used DCNM to create the VDC or whether you used the CLI, the logging configuration of a new VDC is only the default configuration and must be configured to support management and monitoring by DCNM.
BEFORE YOU BEGIN
Consider printing Table 1-1. You can use the Your Current Logging Level column to make notes about logging level configuration on the device.
For more information about configuring logging levels, see the Cisco NX-OS System Management Configuration Guide.
DETAILED STEPS
To perform initial NX-OS logging configuration, follow these steps:
Step 1
Log into the NX-OS device.
Step 2
Access the global configuration mode.
switch# configure terminal
Step 3
Verify that the logging event link-status default and logging event link-status enable commands are configured.
switch(config)# show running-config all | include "logging event link-status"
logging event link-status default
logging event link-status enable
If either command is missing, enter it to add it to the running configuration.
Note
The logging event link-status enable is included in the default NX-OS configuration. The show running-config command displays default configuration only if you use the all keyword.
Step 4
Verify that the device is configured to log system messages that are severity 6 or lower.
Note
The default name of the log file is "messages"; however, we recommend that you use the log-file name currently configured on the device. If you change the name of the log file, the device clears previous system messages.
switch(config)# show running-config all | include logfile
logging logfile logfile-name 6
If the logging logfile command does not appear or if the severity level is less than 6, configure the logging logfile command.
switch(config)# logging logfile logfile-name 6
Step 5
Determine which non-default features are enabled on the device.
switch(config)# show running-config | include feature
Step 6
View the logging levels currently configured on the device. The show logging level command displays logging levels only for features that are enabled. The Current Session Severity column lists the current logging level.
switch(config)# show logging level
Facility Default Severity Current Session Severity
-------- ---------------- ------------------------
For most logging facilities, you can use the show logging level command with the facility name when you want to see the logging level of a single logging facility, such as show logging level aaa; however, as of Cisco NX-OS Release 4.0(3), the show logging level command does not support this option with all logging facilities. We recommend that you use the full output from the show logging level command instead.
Step 7
Determine which logging levels on the device are below the minimum DCNM-required logging levels. To do so, compare the logging levels displayed in Step 6 to the minimum DCNM-required logging levels that are listed in Table 1-1.
Step 8
For each logging facility with a logging level that is below the minimum DCNM-required logging level, configure the device with a logging level that meets or exceeds the DCNM requirement.
switch(config)# logging level facility severity-level
The facility argument is the applicable logging-facility keyword from Table 1-1 and severity-level is the applicable minimum DCNM-required logging level or higher (up to 7).
Step 9
Use the show logging level command to verify your changes to the configuration.
Step 10
Copy the running configuration to the startup configuration, to save your changes.
switch(config)# copy running-config startup-config
[########################################] 100%