User Tools

Site Tools


netzwerk:switches:cisco_nxos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
netzwerk:switches:cisco_nxos [2023/01/05 14:14] – [Hostname] stonenetzwerk:switches:cisco_nxos [2023/04/03 14:20] (current) stone
Line 2: Line 2:
  
 ===== Basic System Config ===== ===== Basic System Config =====
 +
 +==== Alias ====
 +<code>
 +cli alias name wr copy running-config startup-config
 +</code>
 +\\
  
 ==== Hostname ==== ==== Hostname ====
Line 8: Line 14:
 hostname SuperGeilerSwitch hostname SuperGeilerSwitch
 ip domain-name mylab.loc ip domain-name mylab.loc
 +no ip domain-lookup
 +</code>
 +\\
 +
 +==== Gateway ====
 +
 +Default Gateway. \\  Man kann natürlich auch einzelne Routen setzten
 +
 +<code ->
 +ip route 0.0.0.0/0 10.0.0.1
 </code> </code>
  
Line 22: Line 38:
 show clock show clock
 </code> </code>
-\\ + 
-\\+\\  \\
  
 ==== Banner MOTD ==== ==== Banner MOTD ====
Line 37: Line 53:
 # #
 </code> </code>
 +\\
 +
 +==== SNMP ====
 +
 +<code>
 +snmp-server contact Maurice Moss - IT
 +snmp-server location Serveroom
 +snmp-server community public group network-operator
 +</code>
 +\\
 +
 +==== LLDP ====
 +
 +<code>
 +feature lldp
 +</code>
 +
  
 \\ \\
  
 ===== vPC Link Config (MLAG) ===== ===== vPC Link Config (MLAG) =====
 +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
 +\\
 +\\
  
-<code ->+Auf beiden Switches 
 +<code>
 feature vpc feature vpc
 +feature lacp
 +feature interface-vlan
 +feature vtp
 +</code>
 +\\
  
-vpc domain 10 +VPC Config auf Switch #1 
-peer-keepalive destination <remote-node-ip> source <local-node-ip+<code
-auto-recovery +vpc doamin 1 
-exit+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
 +</code>
 +\\
 +
 +
 +VPC Config auf Switch #2
 +<code>
 +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
 +</code>
 +\\
 +
 +Test ob sich die Switches erreichen können\\
 +Ping von Switch #2 auf #1
 +<code>
 +ping 10.193.214.1 vrf vpc-keepalive
 +</code>
 +\\
 +
 +Auf Switch #1
 +<code>
 +vpc domain 1
 +peer-keepalive destination 10.193.214.2 source 10.193.214.1 vrf vpc-keepalive
 +</code>
 +\\
 +
 +Auf Switch #2
 +<code>
 +vpc domain 1
 +peer-keepalive destination 10.193.214.1 source 10.193.214.2 vrf vpc-keepalive
 +</code>
 +\\
 +
 +Kontrolle auf beiden Switches
 +<code>
 +show vpc peer-keepalive
 +show vpc
 +</code>
 +\\
 +\\
 +
 +
 +==== VPC Peer Link ====
 +Kann eingerichtet werden wenn der VPC Keepalive Link steht. \\
 +VPC Peer Link über 2x 100G.\\
 +\\
 +Auf beiden Nodes
 +<code>
 int po10 int po10
 description *** vPC PEER LINK *** description *** vPC PEER LINK ***
Line 55: Line 167:
 spanning-tree port type network spanning-tree port type network
 vpc peer-link vpc peer-link
-exit 
  
-int eth1/49 +interface eth1/53-54 
-description *** PEER LINK *** +description *** vPC PEER-LINK Interface ***
-switchport +
-switchport mode trunk +
-channel-group 10 mode active +
-no shutdown +
-exit +
- +
-int eth1/50 +
-description *** PEER LINK ***+
 switchport switchport
 switchport mode trunk switchport mode trunk
Line 72: Line 175:
 no shutdown no shutdown
 </code> </code>
 +\\
 +Kontrolle auf beiden Switches
 +<code>
 +show vpc peer-keepalive
 +show vpc
 +</code>
 +\\
 +\\
 +
 +
 +
  
  
netzwerk/switches/cisco_nxos.1672928067.txt.gz · Last modified: by stone