Nexus 5020

Unanswered Question
Jul 30th, 2010

Hi ,

Anbody worked on cisco Nexus 5020 switch ? Can you please help me with the configuration guide ?

I am using this as a access switch for data centre connectivity.

Regards

Mathew

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
datapex Fri, 08/06/2010 - 06:53

Here is a sample config:

!
conf t
!
username admin password role network-admin
username admin password role network-operator
snmp-server community [SNMP_COMMUNITY] ro
switchname [HOSTNAME]
ssh key dsa 768 force
ssh server enable
system default switchport shutdown san
!
boot kickstart bootflash:/n5000-uk9-kickstart.4.1.3.N2.1a.bin
boot system bootflash:/n5000-uk9-kickstart.4.1.3.N2.1a.bin
!
clock summer-time EDT recurring 2 Sun Mar 2:00 1 Sun Nov 2:00
!
feature ssh
feature tacacs+
feature vpc
feature lacp
feature tacacs+
feature private-vlan
!
logging distribute
logging commit
logging abort
!
tacacs-server host x.x.x.x key 7 [KEY]
tacacs-server host y.y.y.y key 7 [KEY]
!
aaa group server tacacs+ ACS-Servers
  server x.x.x.x
  server y.y.y.y
! use-vrf management
!
aaa authentication login default group ACS-Servers
aaa authentication login console local
aaa authentication login error-enable
aaa accounting default group ACS-Servers
aaa authorization config-commands default group ACS-Servers local
aaa authorization commands default group ACS-Servers local
!
no aaa user default-role
!
ntp server x.x.x.x
! ntp peer y.y.y.y
!
vpc domain 1
system-priority 1
role priority 100
peer-keepalive destination x.x.x.x source x.x.x.x
!
int e1/1
switchport mode trunk
switchport trunk allowed vlan xxx
switchport trunk native vlan xxx
channel-group 1 mode active
!
int e1/9
switchport mode trunk
switchport trunk allowed vlan xxx
switchport trunk native vlan xxx
channel-group 1 mode active
!
int po1
vpc peer-link
!
int po2
vpc 2
!
logging server x.x.x.x 5
logging timestamp milliseconds
!
int mgmt 0
ip address x.x.x.x/xx
ip access-group [NAME] in
no shut
!
ip access-list [NAME]
10 permit ip x.x.x.x any
20 deny ip y.y.y.y any
statistics
!
vrf context management
ip route x.x.x.x/xx y.y.y.y
!
snmp-server global enforcePriv
snmp-server community [NAME] ro
snmp-server host x.x.x.x traps version 2c [COMMUNITY]
snmp-server enable traps
!
snmp-server contact [Network Group]
snmp-server location [LOCATION]
!
line console
exec-timeout 9 0
!
line vty
exec-timeout 9
session-limit 10
!

Actions

This Discussion

 

 

Trending Topics: Other DC Subjects