cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1857
Views
0
Helpful
3
Replies

Addition of Vlans on TRUNK on Nexus 7000

Rupesh Kashyap
Level 1
Level 1

Hi, I have two Nexus 7000 named as Core-1 and Core-2. Both are connected with Po-1. I have allowed many vlans on trunk.

Now I want to add three new vlan 401,402 & 403. My question is my command would be

switchport trunk allowed vlan add 888-889,900,998,401,402,403 or switchport trunk allowed vlan add 401,402,403.

Please confirm so that all vlans should not removed by my mistake.

interface port-channel1
  description DDC-ED2 Po1 - L2/TRUNK (vPC Peer Link)
  switchport
  switchport mode trunk
  switchport trunk native vlan 998
  switchport trunk allowed vlan 64-126,300-301,303,332-333,667-670
  switchport trunk allowed vlan add 888-889,900,998
  vpc peer-link
  spanning-tree port type network

3 Replies 3

aditya5846
Level 1
Level 1

use the command switchport trunk allowed vlan add 401,402,403.

aditya5846
Level 1
Level 1

switchport trunk allowed vlan add 401,402,403.because u r going to add new VLAN

thanks man.

Review Cisco Networking products for a $25 gift card