Cisco NX-OS: Difference between revisions

From Dave-Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
==General==
===Show Interfaces===
===Show Interfaces===
  show int status
   show int description
   show int description
    
 
   show int status
===Add an Allowed VLAN to an Interface===
''Don't forget '''add''', unless you want to blow away all existing VLANs allowed on the interface''
   interface e 1/25
    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
 
 
==Virtual Port Channels==


===Show vPC Info===
===Show vPC Info===
Line 9: Line 25:
===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 34:
     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

Latest revision as of 01:50, 13 February 2024

General

Show Interfaces

 show int status
 show int description

Add an Allowed VLAN to an Interface

Don't forget add, unless you want to blow away all existing VLANs allowed on the interface

 interface e 1/25
   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


Virtual Port Channels

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