Network management is an intelligent network service that allows the management and monitoring of the server farm, network devices in different network modules, or WAN connections. This involves system administration for the servers, with software tools specific to each operating system provider (e.g., Microsoft) or third-party tools (e.g., Tivoli, HP, etc.). Network management also includes logging, usually through a Syslog server implementation or security features like OTP (One Time Password). OTP represents a two-factor security mechanism (i.e., something one knows, like a password, and something one has, like a card or a token) that allows for a high-security environment. Cisco IOS software allows for the implementation of flexible network management features, some of which are described in the following sections.
Simple Network Management Protocol
The network management system is usually based on the Simple Network Management Protocol (SNMP), which is a TCP/IP Application Layer protocol that uses IP within UDP. SNMP, illustrated below in Figure 2.25, is used to share management information between network devices, usually between a management workstation and routers, switches, or other devices.
Figure 2.25 – Network Management Using SNMP
SNMP has evolved during the years and has now reached version 3 (SNMPv3). Network designers should demand that every environment uses SNMPv3, and not the older, unsecured SNMP versions (1 and 2), because of the advanced security features it presents. SNMP is used by network administrators and engineers to perform the following tasks:
- Monitoring the performance of network devices
- Troubleshooting
- Planning scalable enterprise solutions and intelligent services
SNMP accesses detailed information in Management Information Bases (MIBs) and it uses SNMP agents, as shown in Figure 2.25. An MIB is an object-oriented hierarchical database system stored locally on the network device. An example of an MIB entry is 1.3.6.1.2.1.2.2.1.20.0, with 1 being the root of the MIB tree and 0 being the final leaf.
The SNMP agent is used to send and receive information from the device to the Network Management Station (NMS) and the other way around. To do that, different types of SNMP messages are used. The NMS will run some kind of network management software (e.g., CiscoWorks) that retrieves and displays the SNMP information in a Graphical User Interface (GUI) format. The displayed information is used for controlling, troubleshooting, and planning.
Another SNMP concept is represented by community strings, also known as the access control method. A community is a password that controls what group of people has access to certain information on the device. The concept of community strings presented in earlier versions of SNMP evolved to the username/password authentication method used in SNMPv3.
The managed device contains SNMP agents and an MIB that stores all the information. Different types of messages are used to get information from the NMS to and from the managed device (or the monitored device), as shown in Figure 2.26 below:
Figure 2.26 – SNMP Messages
The first message is called the Get Request. This is sent to the managed device when the NMS wants to get a specific MIB variable from the SNMP agent that runs on that device. The Get Next Request information is used to return the next object in the list after the Get Request message returned a value. The Get Bulk message works only in SNMPv3 environments and it can be used to retrieve a big chunk of data (e.g., an entire table); it also reduces the need to use many Get Request and Get Next Request messages. This reduces the overhead on bandwidth utilization on the link.
The Set Request message is also sent by the NMS and is used to set an MIB variable on the agent. The Get Response message is the response from the SNMP agent to the NMS Get Request, Get Next Request, or Get Bulk messages. A Trap is used by the SNMP agent to transmit unsolicited alarms to the NMS when certain conditions occur (e.g., device failure, state change, or parameter modifications). Different thresholds can be configured on the managed device for different parameters (e.g., disk space, CPU utilization, memory utilization, or bandwidth utilization) and Trap messages are sent when the defined thresholds are reached.
SNMPv3 introduced another message called the Inform Request. This is similar to a Trap message and is what a managed device will send to the NMS as an acknowledgement to other messages. The major difference between these two message types is that Inform Request messages are acknowledged by the receiver, unlike the Trap messages, which are not.
| Note: SNMPv3 is defined by the following RFCs: RFC 2571, RFC 2572, RFC 2573, RFC 2574, and RFC 2575. |
SNMPv3 provides three security levels:
- NoAuthNoPriv: No authentication and no privacy mechanisms.
- AuthNoPriv: Authentication (e.g., MD5, SHA) but no privacy mechanisms.
- AuthPriv: The highest level; uses authentication (e.g., MD5, SHA) and privacy (e.g., DES).
Remote Network Monitoring
Remote Network Monitoring (RMON) is an MIB that allows proactive monitoring of LAN traffic in the network environment. RMON tracks individual data packets, the number and size of those packets, broadcast packet tracking, network utilization, errors, and statistics.
RMON agents run on various network devices, such as routers, switches, or servers. To save overhead on those specific devices, RMON can be configured on special workstations that operate as probes on specific network segments. RMON can diagnose faults within the LAN, and allows for network tuning and planning for growth and utilization.
RMON is implemented in two versions: RMON1 and RMON2. RMON1 operates only at the Physical and Data-link Layers, so it must be used only to probe, tune, plan, and look for faults on hubs (at the Physical Layer) and switches (at Layer 2). RMON2 provides much more functionality and can be used for Network Layer applications (Layer 3) and Layer 4 through Layer 7, so it can monitor database servers, exchange servers, e-mail, and Web traffic.
| Note: RMON is documented in RFC 1757. |
NetFlow
NetFlow is a monitoring and measurement technology that is superior to a simple SNMP/RMON solution because it offers enhanced functionality and provides much more detail on the data that passes through a specific interface. NetFlow scales to a large number of interfaces and this makes it a great Enterprise and ISP solution because it supports customer service programs by using popular data warehousing and data mining solutions that are critical for competitive vendor offerings (e.g., flexible accounting and billing that considers application usage, the time of day, bandwidth utilization, and QoS elements). NetFlow is also a great tool for network scalability planning and overall analysis, and it can help lower the organization’s TCO. The NetFlow management architecture consists of three components:
- NetFlow data export service
- NetFlow flow collector service
- NetFlow data analysis
Figure 2.27 – NetFlow Management Architecture
As shown in Figure 2.27 above, the NetFlow data export service is the first layer of the three-tier NetFlow architecture. This is where the data warehousing and data mining solutions occur and where accounting statistics for traffic on the networking devices are captured, and it uses UDP to export data in a three-part process:
- Data switching
- Data export
- Data aggregation
The data is exported to the second tier, the NetFlow flow collector service, where servers and workstations accomplish data collection, data filtering, aggregation, data storage, and file system management using existing or third-party file systems. Network data analysis takes place at the lowest tier, which is at the Access Layer. At this level, network planning tools, overall network analysis tools, and accounting and billing tools can be used and data can be exported to various database systems or Excel spreadsheets.
Cisco Discovery Protocol
Cisco Discovery Protocol (CDP) is a proprietary Cisco protocol that operates at Layer 2 (Data-link Layer) between Cisco devices. Its main job is to summarize information discovered about directly connected routers, switches, or other Cisco devices. The Cisco devices themselves do not forward any CDP frames to their neighbors because its role is to share device information only between directly connected devices.
CDP is media and protocol independent, and it operates with TCP/IP, IPX, or AppleTalk. It can also run across different media types, such as LANs and ATM and Frame Relay networks. CDP should not be used on external Internet connections for security reasons, as it could expose information about the network’s devices to outside users. It also should not be configured on links going to non-Cisco devices because it is unnecessary to do so.
Running the “show cdp neighbor” command on a device will give CDP-related information, such as:
- The MAC address of the directly connected neighbor
- The local interface connecting to that particular neighbor
- Information about the device type (router, switch, or other)
- Device platform/mode
- Port numbers
| Note: Link Layer Discovery Protocol (LLDP) is an open-standard version of CDP, with similar functionality. LLDP can be used when interconnecting non-Cisco devices. |
Network-Based Application Recognition
Network-Based Application Recognition (NBAR) is a Cisco IOS-embedded technology that helps identify well-known applications, protocols, and services. It offers an application-level intelligent classification engine that recognizes many protocols and applications for the delivery of Quality of Services. Some of the protocols that are automatically recognized by NBAR include the following:
- Enterprise applications: Citrix, Oracle, PCAnywhere, SAP, Exchange
- Routing protocols: BGP, EIGRP, OSPF, RIP
- Database: SQL
- Financial: FIX
- Security and tunneling: GRE, IPsec, L2TP, PPTP, SFTP, SHTTP, SOCKS, SSH
- Network management: ICMP, SNMP, Syslog
- Network mail services: IMAP, POP3, SMTP
- Directory: DHCP, DNS, Kerberos, LDAP
- Internet: FTP, HTTP, IRC, Telnet, TFTP
- Signaling: IPX, ISAKMP, RSVP
- Remote Procedure Call (RPC): NFS, Sunrpc
- Voice: H.323, SIP, Skype, RTP
- Peer-to-peer file-sharing applications: BitTorrent, DirrectConnect, eDonkey, FastTrack, Gnutella, KaZaA
These protocols use statically or dynamically assigned TCP or UDP port numbers, and as new iterations of an operating system are introduced, Cisco adds new protocols via Packet Description Language Modules (PDLMs). One of the great features of NBAR is its ability to go beyond the TCP and UDP port numbers of a packet and look into the packet payload.
NBAR is configured in the CLI MQC configuration mode, using the “match protocol” command structure. The network management of the traffic can be improved by classifying a wide variety of elements and functions, beyond the statically assigned TCP or UDP port numbers. For example, non-TCP/UDP IP protocols like OSPF and EIGRP use their own transport mechanisms. NBAR can also inspect and classify dynamically assigned port numbers and achieve deep packet inspection.
NBAR is easy to configure because of its modularity and is preferred over using elaborate and complex Access Control Lists to classify static port protocols. Identifying and classifying the traffic is the first major step in implementing QoS. Once the amount of application traffic and the variety of applications and protocols in the network is identified, QoS solutions can be created.
A special feature of NBAR called Protocol Discovery can be applied to interfaces using the “ip nbar protocol-discovery” command to automatically discover the application protocols over that interface, at any point in time. This command monitors all ingress and egress traffic on the specific interface and it builds statistics on a protocol-by-protocol basis. These statistics help to deliver the traffic classes and policies, and they contain the following:
- The number of input packets
- The number of output packets
- The number of bytes
- Input and output bit rates
An external PDLM can also be manually loaded from the global configuration mode to extend and improve the classification engine for many of the existing and emerging application protocols in the NBAR list of protocols.
NBAR and NetFlow are complimentary embedded technologies that have some overlap functionalities. For example, both can function on the IP header, the source and destination IP address, and the source and destination port. The most important difference between the two mechanisms is that NBAR offers deep packet inspection features and NetFlow traditionally works based on the Type of Service (ToS) and the interface. Another important difference between the two mechanisms is that NetFlow monitors data from Layer 2 to Layer 4 and NBAR monitors data from Layer 3 to Layer 7. One of the most powerful features of NBAR is its ability to classify HTTP and its various packet options.
| Note: NetFlow version 9 offers some of the flexibility available in the NBAR PDLMs and Protocol Discovery features. |
NBAR can work with Cisco AutoQoS, which is a feature in the Cisco IOS that generates pre-defined policy maps for voice. This helps to simplify the deployment and provisioning of QoS by leveraging the existing NBAR traffic classification, which can be done with NBAR discovery. AutoQoS works by creating a trust zone that allows Differentiated Services Code Point (DSCP) markings to be used for classification. If the optional “trust” keyword is used, the existing DSCP marking can be used, but if the keyword is not specified, NBAR will be used to mark the DSCP values.
Another feature that can be used with NBAR is QoS for the Enterprise Network, which uses NBAR discovery to collect traffic statistics. Based on that discovery, NBAR will generate policy maps (as opposed to AutoQoS, which has predefined policy maps) and make its bandwidth settings via Cisco suggestions on a class-by-class basis. This is an appropriate solution for medium-sized companies and Enterprise organizations’ branch offices, and it is based on the Cisco best practice recommendations that come from the NBAR discovery process. This is a two-phase process: the first phase involves an auto discovery QoS command on the appropriate link, and the second phase involves automatically configuring the link with the “auto qos” command.
IP Service Level Agreement
Network redundancy involves the existence of multiple paths between different points in the topology. Path control manipulates the way a packet is forwarded by default across the network. This can be accomplished in different ways, including policy-based routing or filtering (e.g., prefix lists, distribute lists, or offset lists).
An IP Service Level Agreement (SLA) executes network performance measurements within Cisco devices. This will leverage active traffic monitoring; in other words, traffic is generated in a predictable, measurable, and continuous way with the goal of achieving optimized network performance. End-to-end network performance tests are conducted based on clear measurement metrics.
Different types of data (synthetic traffic) will be sent across the network to measure performance between different locations. Timestamp data generate the metrics used to calculate issues such as jitter, latency, response time, or packet loss. The process of configuring IP SLA involves the following steps:
- 1. Define one or more probes.
- 2. Define one or more tracking objects.
- 3. Define the action that will be taken for each tracking object.
Response times are of great importance in terms of the WAN, as they relate to the supported applications. Many modern applications will give an indication of the necessary response times. VoIP is an excellent example of this. When a VoIP call is made over many network devices, the necessary response time must be met for proper voice communications (one-way latency should not exceed 120 ms), and response time testing can be carried out using IP SLA on Cisco devices.
Figure 2.28 – Example of an IP SLA
Figure 2.28 above illustrates an example of IP SLA in action. R1 is the first hop in the traffic path and R3 is the last hop. Configuring IP SLA in an active configuration will generate synthetic traffic that flows over the intermediary devices so that the necessary parameters can be measured. R1 is considered the IP SLA sender and R3 is considered the responder. The responder functionality on R3 ensures that there are no false measurements, and this is a much more accurate test.
| Note: IP SLA used to be called the Service Assurance Agent (SAA) or the Real Time Responder (RTR). |
The most important parameters measured with the IP SLA feature are delay and jitter. Delay represents the amount of time required for a packet to reach its destination and jitter is the variation in delay. These parameters are of great importance, especially in highly congested WAN environments. Another important key design parameter is the overall available bandwidth (i.e., throughput). This measures the amount of data that can be sent in a particular timeframe through a specific WAN area.



