Cisco Cisco Nexus 5010 Switch Guida Alla Progettazione

Pagina di 15
 
Design Guide 
 
© 2010 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. 
Page 13 of 15
 
In order to configure a VRF in Cisco NX-OS Software, do the following: 
NXOS : (config)#vrf context <VRF NAME> 
NXOS : (config)#interface Ethernet1/1 
NXOS : (config-if)# vrf member <VRF NAME> 
In order to configure a VRF in Cisco Catalyst IOS Software, do the following: 
Catalyst IOS : (config)#ip vrf <VRF NAME> 
Catalyst IOS : (config)#interface Ethernet1/1 
Catalyst IOS : (config-if)# ip vrf forwarding <VRF NAME> 
Management Port 
Cisco NX-OS platforms offer a management interface. This port is clearly indicated on the front plate of Cisco Nexus 
devices and is configured through the following command: 
NXOS: (config)#interface mgmt0 
NXOS: (config-if)# ip address … 
Routing for management traffic is configured starting from the management vrf: 
NXOS: (config)#vrf context management 
NXOS: (config-if)# ip route … 
Quality of Service  
The Cisco Nexus switches follow the Cisco Modular Quality of Service command-line interface (MQC).  Quality-of-
service (QoS) features and capabilities are hardware-specific, and as a result, several options are specific to each of 
the Cisco Nexus platforms. 
MQC consists of three configuration steps: 
1.  Define match criteria with a class map. 
2.  Associate an action for each defined class with a policy map. 
3.  Apply the policy to the entire system or to an interface service policy. 
Classification 
A simple configuration example of classification is: 
Ip access-list ACL-A 
  Permit ip any 1.1.1.0/24 
 
class-map type qos qosgroupA 
  match access-group ACL-A 
 
policy-type qos policy-classify 
  class type qos qosgroupA 
    set qos-group 3 
  class type qos qosgroupB 
    set qos-group 4 
  […]