Cisco NX-OS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
===Show Interfaces=== | ===Show Interfaces=== | ||
show int status | |||
show int description | show int description | ||
=== | ===Add an Allowed VLAN to an Interface=== | ||
switchport trunk allowed vlan | ''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 Table for a VLAN=== | ||
Line 16: | Line 18: | ||
== | ==Virtual Port Channels== | ||
===Show vPC Info=== | ===Show vPC Info=== |
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