User Tools

Site Tools


netzwerk:switches:cisco_nxos

This is an old revision of the document!


Cisco NXOS

Basic System Config

Alias

cli alias name wr copy running-config startup-config


Hostname

hostname SuperGeilerSwitch
ip domain-name mylab.loc


Gateway

Default Gateway.
Man kann natürlich auch einzelne Routen setzten

ip route 0.0.0.0/0 10.0.0.1


Timezone & NTP

clock timezone CET 1 0
clock summer-time CEST 5 Sun Mar 02:00 5 Sun Oct 02:00 60
clock protocol ntp
ntp server x.x.x.x

show clock



banner moth #
-------------------- !!! WARNING !!!  --------------------

Any unauthorized access is logged and will be prosecuted.
If you are authorized for access enter your username and
password, OTHERWISE LEAVE NOW !
----------------------------------------------------------
#


SNMP

snmp-server contact Maurice Moss - IT
snmp-server location Serveroom
snmp-server community public group network-operator


Beispiel eines Nexus C93180YC-FX3
Hier muss ein VPC Keepalive Link gesetzt werden. Dieser kann einfach 10G oder 25G sein.
Danach konfiguriert man den Peer Link über 2x 100G

VPC Keepalive

VPC Keepalive Link über 1x 10G oder 25G

Auf beiden Switches

feature vpc
feature lacp
feature interface-vlan
feature vtp


VPC Config auf Switch #1

vpc doamin 1
show vpc role

vrf context vpc-keepalive

interface Ethernet1/48
  description *** VPC-PEER-KEEPALIVE ***
  no switchport
  vrf member vpc-keepalive
  ip address 10.193.214.1/30
  no shutdown


VPC Config auf Switch #2

vpc doamin 1
show vpc role

vrf context vpc-keepalive

interface Ethernet1/48
  description *** VPC-PEER-KEEPALIVE ***
  no switchport
  vrf member vpc-keepalive
  ip address 10.193.214.2/30
  no shutdown


Test ob sich die Switches erreichen können
Ping von Switch #2 auf #1

ping 10.193.214.1 vrf vpc-keepalive


Auf Switch #1

vpc domain 1
peer-keepalive destination 10.193.214.2 source 10.193.214.1 vrf vpc-keepalive


Auf Switch #2

vpc domain 1
peer-keepalive destination 10.193.214.1 source 10.193.214.2 vrf vpc-keepalive


Kontrolle auf beiden Switches

show vpc peer-keepalive
show vpc



Kann eingerichtet werden wenn der VPC Keepalive Link steht.
VPC Peer Link über 2x 100G.

Auf beiden Nodes

int po10
description *** vPC PEER LINK ***
switchport mode trunk
spanning-tree port type network
vpc peer-link

interface eth1/53-54
description *** vPC PEER-LINK Interface ***
switchport
switchport mode trunk
channel-group 10 mode active
no shutdown


Kontrolle auf beiden Switches

show vpc peer-keepalive
show vpc



netzwerk/switches/cisco_nxos.1672931272.txt.gz · Last modified: by stone