cisco ccnp switch

Posted filed under Cisco CCNA.

Get our complete tutorial in PDF
To Find Out If Link is UP

Switch#show ip int brief

InterfaceIP-AddressOK? Method StatusProtocol
FastEthernet0/1unassignedYESmanualupup
FastEthernet0/2unassignedYESmanualupup
FastEthernet0/3unassignedYESmanualupup
FastEthernet0/4unassignedYESmanualupup
FastEthernet0/5unassignedYESmanualupdown
FastEthernet0/6unassignedYESmanualupdown

The above commands means I have some host that are connected to port f0/1 – f0/4, and there is no devices is connected to port f0/5 and f0/6

To Reboot The Switch

 Switch#reload

To Save Switch Configuration

SWitch#copy running-config startup-config

In order to save your configuration, you need to save your running-config  from DRAM to NVRAM. The file running-config is located inside the DRAM, and the file Startup-config is located inside the NVRAM. If we do not do above the command, the router will boot up in setup mode (since there is nothing inside the NVRAM).

To show Vlan configuration on Switch

Sw1#show vlan brief

VLAN NameStatusPorts
1 defaultactiveFa0/3, Fa0/6, Fa0/7, Fa0/8Fa0/9, Fa0/10, Fa0/11, Fa0/12Fa0/13, Fa0/14, Fa0/15, Fa0/16Fa0/17, Fa0/18, Fa0/19, Fa0/20Fa0/21, Fa0/22, Fa0/23, Fa0/24Gig1/1, Gig1/2
2 salesactiveFa0/1, Fa0/2
3 EGRactiveFa0/4, Fa0/5
1002 fddi-defaultactive
1003 token-ring-defaultactive
1004 fddinet-defaultactive
1005 trnet-defaultactive

The above commands means I have three VLAN in my network called:

VLAN1=Default

VLAN2=Sales

VLAN3=EGR

Also the Sales VLAN PC must be connected to port f0/1 and F0/2

Also the EGR VLAN PC must be connected to port f0/4 and f0/5

To show content of VTP

Sw1#show vtp status

VTP Version                     : 2

Configuration Revision          : 0

Maximum VLANs supported locally : 1005

Number of existing VLANs        : 7

VTP Operating Mode              : Server

VTP Domain Name                 : CCNA

VTP Pruning Mode                : Disabled

VTP V2 Mode                     : Disabled

VTP Traps Generation            : Disabled

MD5 digest                      : 0x53 0x7B 0xA8 0x36 0x80 0x0A 0x52 0x2D

Configuration last modified by 0.0.0.0 at 3-1-93 00:04:22

Local updater ID is 0.0.0.0 (no valid interface found)

In above it means we 7 VLAN on our netwrok and the VTP operating mode is Server (default) and the VTP domain name for the netwrok is called CCNA

To show content of Spanning-tree on Switch

Sw1#show spanning-tree vlan 1

VLAN0001

Spanning tree enabled protocol ieee

Root ID    Priority    32769

Address     0009.7CC2.6354

This bridge is the root

Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec

Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)

Address     0009.7CC2.6354

Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec

Aging Time  20

InterfaceRoleSts CostPrio.Nbr Type
Fa0/10DesgFWD19128.10P2p
Fa0/3DesgFWD 19128.3P2p
Fa0/2DesgFWD19128.2P2p

In above we have two parts , the top part will tell us who is the root bridge for whole network; and the bottom part tell us the information about the current switch (in our case is SW1 ), since The MAC address of the top part is same as MAC address of bottom part it , means SW1 is the root bridge for the whole network.

Want more information on how to become Cisco CCNA Certified? Learn more!


Also published on Medium.

4 Responses to “6 Cisco CCNA Switch Tips”

Trackbacks/Pingbacks

  1.  gvk biosciences
  2.  juegos de friv
  3.  Bdsm