NOTE: be sure your Serial Device is set to /dev/ttyS0 - by default, mine was set as /dev/ttyS1 so thats why i could not connect to my switchĪfter you have made the chanaged hit ESC to exit, you should be back to the configuration menu: and select "Modem and dialing" │ i18n by Arnaldo Carvalho de Melo 1998 │ │ Some additions by Jukka Lahtinen 1997-2000 │ │ Written by Miquel van Smoorenburg 1991-1995 │ │ Select function or press Enter for none.
│ lineWrap on/off.W local Echo on/off.E | Help screen.Z │ │ Terminal settings.T run Kermit.K | Cursor key mode.I │
│ send break.F initialize Modem.M | Quit with no reset.Q │ │ Capture on/off.L Hangup.H | eXit and reset.X │ │ comm Parameters.P Add linefeed.A | Suspend minicom.J │ │ Send files.S Receive files.R | cOnfigure Minicom.O │ │ Dialing directory.D run script (Go).G | Clear Screen.C │
#SETUP CISCO 2950 SWITCH PLUS#
NOTE: you press CTRL plus a at the same time, relase both keys and then hit z If you dont see anything after the message "Press CTRL-A Z for help on special keys" try hitting enter on your keyboard, if you still cant see anything, then its probably because you need to setup your terminal OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n Dpending on where this happens, this can bring down an entire network within a few seconds.Then you should be able to connect to your switch, you will see a message like this: Welcome to minicom 2.00.0 It is probably the one classical human factor error in switched networking: to forget the add/remove keywords when "let me just add that new VLAN to to this 802.1q trunk" - which reduces that trunk to just the VLAN you were about to add. Sooner or later in your networking career, you'll learn why if you don't. and switchport trunk allowed vlan remove. Switchport nonegotiate ! <- suggested, if you don't run DTP or VTPĪdding to that, I strongly suggest to exclusively work with switchport trunk allowed vlan add.
Switchport trunk encapsulation dot1q ! <- some platforms still need that one As other commentators pointed out, older releases need spaces between the numbers and commata or hypens.Īs Andrey has pointed out, manipulating the scope of a given (set) of VLAN(s) can happen in a 1-liner: The switchport trunk allowed vlan command (in interface configuration mode) works with a set of VLANs on a single line. There is a way to configure multiple VLAN IDs with a 1-liner, separating the list of vlans with commata or defining ranges with hyphens. The "name" line is optional and of almost no technical relevance, but recommended - you'll have to define your own style and guidelines to naming VLANs. Multiple VLANs cannot be created in a 1-liner on a classic Catalyst IOS Switch.īut you can prepare a command sequence in your preferred text editor and then copy & paste it into the terminal window ofyour switch (ssh, telnet, console.) vlan 1