Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request virtual-chassis vc-port

Syntax

member-id

Description

Set a port to operate as a Virtual Chassis port (VCP), or delete the VCP setting on a port. See Virtual Chassis Port Options for details on which ports you can set as VCPs on different switches. After setting a port as a VCP, you can’t use the port for any other purpose unless you remove the VCP setting.

You can specify the port using the interface option or the pic-slot and port options.

If you don’t include the member member-id option, this command defaults to setting the port as a VCP or deleting the VCP setting on the switch where you run the command. You can alternatively set the local option to ensure the command applies to the specified port on the local switch where you run it.

You might experience a temporary traffic disruption immediately after creating or deleting a user-configured VCP in an EX8200 Virtual Chassis.

Some switches have ports that are dedicated VCPs (you can only use them as VCPs and for no other purpose) or that are configured as VCPs by default (set as VCPs in the default factory configuration). You do not need to explicitly set those ports as VCPs to use them to interconnect the switch into a Virtual Chassis. See Virtual Chassis Port Options for details.

If you don’t need a default-configured VCP to interconnect Virtual Chassis member switches, you can run this command with the delete option to remove the VCP setting and use the port as a regular uplink or network port. If you want to use the port as a VCP again later, then you need to run this command with the set option to reapply the VCP setting.

Special Behavior for VCPs on EX4400 Switches

On EX4400 switches, you don't use this command to convert ports on the switch into VCPs. EX4400 switches have default VCPs which are the only ports you can use as VCPs on the switch. These are the two 100-Gbps QSFP28 ports on the rear panel in PIC slot 1, which are set by default as four logical 50-Gbps VCP interfaces (vcp-255/1/0 through vcp-255/1/3). You can convert them into network ports by enabling network port mode on the switch (request virtual-chassis mode network-port <reboot>). In that case, to subsequently use the switch in a Virtual Chassis, you must disable network port mode (request virtual-chassis mode network-port disable <reboot>), which converts those ports back into VCPs. (Port mode changes apply to all VCPs on the switch,)

You can enter the request virtual-chassis vc-port delete command to disable these ports as VCPs, but, as mentioned above, that action doesn't convert them into network ports.

Note:

On EX4400 switches, if you use the request virtual-chassis vc-port delete interface interface-name command to disable logical VCP interface vcp-255/1/0, the switch disables both logical ports 0 and 1 (vcp-255/1/0 and vcp-255/1/1). Similarly, if you disable logical VCP interface vcp-255/1/2, that action disables both logical ports 2 and 3 (vcp-255/1/2 and vcp-255/1/3).

Options

set

Set a port as a VCP to convert an uplink or network port into a VCP.

delete

Delete the VCP setting on a port to convert a VCP back into an uplink or network port.

pic-slot pic-slot

Number of the PIC slot for the port on the switch.

port port-number

Number of the port that you want to enable or disable as a VCP.

interface interface-name

Interface name of the port that you want to enable or disable as a VCP. You can use this option to specify the port instead of using the pic-slot and port options.

member member-id

(Optional) Enable or disable the specified VCP on the specified member of the Virtual Chassis or VCF.

local

(Optional) Enable or disable the specified VCP on the local switch where you run the command.

Required Privilege Level

system-control

Sample Output

request virtual-chassis vc-port set pic-slot 1 port 0

To check the results of this command, use the show virtual-chassis vc-port command.

request virtual-chassis vc-port set pic-slot 1 port 1 member 3

To check the results of this command, use the show virtual-chassis vc-port command.

request virtual-chassis vc-port delete pic-slot 1 port 1 member 3

To check the results of this command, use the show virtual-chassis vc-port command.

Release Information

Command introduced in Junos OS Release 9.0.

Option fpc-slot introduced in Junos OS Release 10.4 for EX Series switches.