Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Simulate Cisco Switches

Does anyone know any free software that can simulate cisco switches commands?  I would like to know the outcome if I run certain command lines on a cisco switches.  I do not have apre switches to test or see what it does.  Basically I just want to see what happen if I run a command line that has an existing command like

Before

interfacet port-channel11

switchport trunk allowed vlan 8,9,10

After - Need to add vlan 80

What would happen if I ran the command line?

interfacet port-channel11

switchport trunk allowed vlan 80

I found out that it will remove all the vlan on port-channel11 except 80 and that cause major problems.  I had a space between comma each number and I did not know that.

So my thing is I would like to simulate something like this and show me the outcome if I ran that command.

Thanks in advance.

  • LAN Switching and Routing
3 REPLIES

Re: Simulate Cisco Switches

If you just want to add VLAN 80 you could just run this

interfacet port-channel11

switchport trunk allowed vlan 8,9,10,80

or this would also do it

interfacet port-channel11

switchport trunk allowed vlan add 80

Either of these would work.

Please rate helpful posts.

Mike

Re: Simulate Cisco Switches

Here is the explaination.

The vlan-list format is all | none | add | remove | except vlan-list[,vlan-list...] where:

all—Specifies all VLANs from 1 to 1005. Beginning with Cisco IOS Release 12.4(15)T, the valid VLAN ID range is from 1 to 4094.

none—Indicates an empty list. This keyword is not supported in the switchport trunk allowed vlan form of the command.

add—Adds the defined list of VLANs to those currently set instead of replacing the list.

remove—Removes the defined list of VLANs from those currently set instead of replacing the list.

except—Lists the VLANs that should be calculated by inverting the defined list of VLANs.

vlan-list—Is either a single VLAN number from 1 to 1005 or a continuous range of VLANs described by two VLAN numbers, the lesser one first, separated by a hyphen that represents the VLAN IDs of the allowed VLANs when this port is in trunking mode. Beginning with Cisco IOS Release 12.4(15)T, the valid VLAN ID range is from 1 to 4094.

Please rate helpful posts.

Mike

New Member

Re: Simulate Cisco Switches

In response to the free software. You can have a look at GNS3.

HTH,

Nhat

533
Views
0
Helpful
3
Replies
This widget could not be displayed.