About this task
Additional VLANs are added to the trunk of an existing vPC when it is modified.
Before you begin
•
Verify that the Cisco Nexus series switch is reachable through the console or the management
connection
•
Verify that the Cisco vPC that needs to be modified is up
•
Obtain the required Cisco vPC ID and VLANs that need to be added to the Cisco vPC
•
Cisco Nexus series switch connectivity information (IP address/console information), log on
credentials and access method (SSH/TELNET)
Procedure
1
Log on to the primary Cisco Nexus series switch.
2
To run the configuration, type:
Switch-A#
config terminal
3
To specify the port channel, type:
Switch-A(config)#
interface port-
channel
port_channel_number
4
To add the VLANs, type:
Switch-A(config)#
switchport trunk allowed vlan add
VLAN_IDs
5
Repeat this procedure on the peer Cisco Nexus series switch.
Related information
(see page 47)
Removing VLANs from a vPC
VLANs can be removed from the trunk of a Cisco vPC.
Procedure
1
Log on to the Cisco Nexus series switch.
2
To run the configuration, type:
Switch-A#
config terminal
3
Type:
Switch-A(config)#
interface port-channel port_channel_number
4
To remove the VLAN ID, type:
Switch-A(config-if)#
switchport trunk allowed
vlan remove VLAN_IDs
Related information
(see page 46)
47
|
Managing networking resources