Cisco NX-OS: Difference between revisions

From Dave-Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==General==
===Show Interfaces===
===Show Interfaces===
   show int description
   show int description
    
    
   show int status
   show int status
===Allow a VLAN Thru an Interface===
  switchport trunk allowed vlan ADD 1635
===Show MAC Table for a VLAN===
  show mac address-table vlan 3
===Clear an Entry from the MAC Table===
  clear mac address-table dynamic address c0c5.20a3.3f25
==vPC==


===Show vPC Info===
===Show vPC Info===
Line 9: Line 23:
===Show vPC Inconsistencies===
===Show vPC Inconsistencies===
   show vpc consistency-parameters vpc 7
   show vpc consistency-parameters vpc 7
===Allow a VLAN Thru an Interface===
  switchport trunk allowed vlan ADD 1635


===vPC Config===
===vPC Config===
Line 21: Line 32:
     mtu 9216
     mtu 9216
     vpc 2
     vpc 2
===Show MAC Table for a VLAN===
  show mac address-table vlan 3
===Clear an Entry from the MAC Table===
  clear mac address-table dynamic address c0c5.20a3.3f25

Revision as of 01:47, 13 February 2024

General

Show Interfaces

 show int description
 
 show int status

Allow a VLAN Thru an Interface

 switchport trunk allowed vlan ADD 1635

Show MAC Table for a VLAN

 show mac address-table vlan 3

Clear an Entry from the MAC Table

 clear mac address-table dynamic address c0c5.20a3.3f25


vPC

Show vPC Info

 show vpc br

Show vPC Inconsistencies

 show vpc consistency-parameters vpc 7

vPC Config

Example:

 interface port-channel2
   description ResNet1
   switchport mode trunk
   switchport trunk allowed vlan 163,171,220,230,241-246,2100-2117,2360
   mtu 9216
   vpc 2