Руководство По Проектированию для Cisco Cisco Nexus 5010 Switch
Design Guide
© 2010 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.
Page 12 of 15
Layer 3 Interface VLAN Configuration
Interface VLAN configurations are typically identical in Cisco NX-OS and Cisco Catalyst IOS Software. One
difference is that in Cisco NX-OS, you must enable the interface-VLAN service, as follows:
difference is that in Cisco NX-OS, you must enable the interface-VLAN service, as follows:
NXOS: (config)#feature interface-vlan
NXOS: (config)#interface vlan <number>
HSRP Configuration
Hot Standby Router Protocol (HSRP) configurations are generally identical in Cisco NX-OS and Cisco Catalyst IOS
Software. One difference is that in Cisco NX-OS, you must enable the HSRP service, as follows:
Software. One difference is that in Cisco NX-OS, you must enable the HSRP service, as follows:
NXOS: (config)#feature hsrp
Additionally, the HSRP configuration under the interface is slightly different than it is in Cisco Catalyst IOS Software:
NXOS: (config-if)# hsrp <group>
NXOS: (config-if-hsrp)#ip <IP address>
NXOS: (config-if-hsrp)#priority <priority>
NXOS: (config-if-hsrp)#[no] preempt
Catalyst IOS: (config-if)# standby <group> ip
Catalyst IOS: (config-if)# standby <group> priority <number>
Catalyst IOS: (config-if)# standby <group> preempt
The show commands differ as follows:
NXOS: #show hsrp brief
Catalyst IOS: #show standby brief
Routing Configuration
In Cisco NX-OS Software, the network command is not utilized; it has been replaced by the ip router ospf <area>
command under the interface VLAN or the Layer 3 interface configuration, as follows:
command under the interface VLAN or the Layer 3 interface configuration, as follows:
NXOS: (config)#feature ospf
NXOS: config)# interface <VLAN>
NXOS: config-if)#ip router ospf <area>
Additionally, if you want to make an interface passive, enter the following:
NXOS: config-if)# ip ospf passive-interface
NXOS: router ospf 1
NXOS: auto-cost reference-bandwidth 1000000
Virtual Route Forwarding
Both Cisco Nexus and Cisco Catalyst platforms support the concept of virtual route forwarding (VRF).
Cisco Nexus platforms utilize VRF by default for management purposes. Two VRFs are defined by default:
●
Default
●
Management