Skip to content

Modify Default Port Numbers in VPCS

By Codrut Nistor

Posted in Cisco, How-to, Virtualization-2

While working with VPCS it becomes essential for the users to map the application with GNS3 in order to connect them with each other. For this purpose local and remote port numbers on VPCS are required. Although both the port numbers are by default provided to every simulated virtual PC making it preconfigured to communicate with GNS3 however in some cases default port numbers which are used by VPCS are already associated with some other devices. When this is the case users need to modify the port numbers on any of the involved devices. In case of VPCS if you want to modify local and remote port numbers you need to follow the steps given below:

  1. Open the folder where you have extracted VPCS files.
  2. Double click on VPCS.exe file and wait for the prompt to appear.
  3. On the appeared prompt type the number of the virtual machine on which you want to modify local and remote port numbers.
  4. On the available prompt type the following commands to set the local and remote port numbers on the selected simulated virtual PC:

set lport 15000 (for local port)

set rport 15001 (for remote port)

Note:

You need to configure GNS3 as well in order to establish a successful connection between VPCS and virtual router or switch.