Cisco Cisco Nexus 5010 Switch Guida Alla Progettazione

Pagina di 32
 
 
© 2012 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. 
Page 26 of 32 
Nexus 7k01 VDC2 Configuration 
feature ospf                                                                     
feature udld                                                                     
feature interface-vlan                                                           
feature hsrp                                                                     
feature lacp                                                                     
feature vpc                                                                      
 
username admin role vdc-admin                                                    
 
vrf context management                                                           
  ip route 0.0.0.0/0 10.51.35.129                                                
 
vrf context vpc-keepalive                                                        
 
vlan 3                                                                           
  name l3_vlan                                                                   
vlan 50                                                                          
vlan 60                                                                          
 
spanning-tree mode mst                                                           
spanning-tree pathcost method long                                               
spanning-tree mst 0-1 priority 24576                                             
spanning-tree mst configuration                                                  
  name dc1                                                                       
  revision 3                                                                     
  instance 1 vlan 1-3967,4048-4093                                               
 
vpc domain 1                                                                     
  role priority 100                                                              
  peer-keepalive destination 192.168.1.2 source 192.168.1.1 vrf vpc-keepalive    
 
 
interface Vlan3                                                                  
  no shutdown                                                                    
  ip address 10.3.0.1/30                                                         
  ip router ospf 1 area 0.0.0.0                                                  
 
interface Vlan50                                                                 
  no shutdown                                                                    
  ip address 10.50.0.251/24                                                      
  ip ospf passive-interface                                                      
  ip router ospf 1 area 0.0.0.0                                                  
  hsrp 50