Cisco NX-OS

From Dave-Wiki
Revision as of 01:48, 13 February 2024 by Dave (talk | contribs) (→‎vPC)
Jump to navigation Jump to search

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


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