Virtual Remote Networks | Help Desk: (917) 293 2669
Cisco switch commands, tips and tricks

Your Technology Partner

Cisco switch commands, tips and tricks

To see all ip addresses of switch :

To see all ip addresses of switch use command `show ip aliases‘. This can be very useful in case switch is going to get IP from DHCP server.

 

To avoid logging messages from disturbing you while typing

Many times when we are connected to switch through console, the switch messages come after we have typed only a portion of command. In such situation it is very hard to type the command properly as backspace does not erases switch’s printed log message. To make sure that switch does not logs messages while we are in middle of typing a command. Use

config t
    line console 0
        logging synchronous
        exit
    line vty 0 15
        logging synchronous
        end
wr

To disable auto-negotiation of trunk / access mode

We can configure modern switch in three modes

  • access
  • trunk
  • dynamic desirable

In case of dynamic desirable switch will automatically try to negotiate link type.

To avoid this communication we can either setswitchport mode‘ to ‘trunk‘ or ‘access‘ or we can configure

To disable STP (Spanning Tree Protocol) on particular port

It is NOT possible to disable STP on particular port. We can however disable STP for particular VLAN. To do it we can use

no spanning-tree vlan <vlan_number>

Note that STP for the VLAN must be disabled in all the switches were this VLAN is forwarded (either trunked or access). Just disabling it on one switch will not solve problem and can have undesirable side-effects.

After we disable STP for particular VLAN we have to be very careful in making connections of that VLAN, so that we do not create any loops. It is best to have at least storm control enabled on ports where we forward VLAN whose STP is disabled.

 


Tags : ,
Share This:

Related articles

Leave a Reply

Newsletter Signup

Virtual Remote provides cross-platform Mobil Apps,Virtual Servers/Applications,Data Center and Coding solutions. Setting higher standards for VOIP , Cloud technology & Virtual Servers and investing in to highly skilled team for the implementation of customized solutions for our clients.

3 S Hope Street,Los Angeles, CA

Phone : 917 293 2669

info@virtualremote.net