Basic Switch Configuration
Switch>enable
Switch#
Examine the current running configuration file.
Switch#show running-config
Examine the current contents of NVRAM:
Switch#show startup-config
Examine the characteristics of the virtual interface VLAN1:
Switch#show interface vlan1
Switch#show ip interface vlan1
Examine the following version information that the switch reports.
Switch#show version
Examine the default properties of the FastEthernet interface used by PC1.
Switch#show interface fastethernet 0/18
Switch#show vlan examine the contents of the flash directory.
Switch#dir flash: or Switch#show flash
Switch#dir flash:c2960-lanbase-mz.122-25.SEE3
To save the contents of the running configuration file to non-volatile RAM (NVRAM), issue the the command copy running-config startup-config.
Switch#copy running-config startup-config
S1#configure terminal
S1(config)#hostname S1
S1(config)#exit
S1#configure terminal
S1(config)#line console 0
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#line vty 0 15
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#exit
S1(config)#enable secret class
First, you will create the new VLAN 99 on the switch. Then you will set the IP address of the switch to
172.17.99.11 with a subnet mask of 255.255.255.0 on the internal virtual interface VLAN 99.
S1(config)#vlan 99
S1(config-vlan)#exit
S1(config)#interface vlan99
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to down
S1(config-if)#ip address 172.17.99.11 255.255.255.0
S1(config-if)#no shutdown
S1(config-if)#exit
S1(config)#
Notice that the VLAN 99 interface is in the down state even though you entered the command no shutdown. The interface is currently down because no switchports are assigned to VLAN 99.
Assign all user ports to VLAN 99.
S1(config)#interface range fa0/1 - 24
S1(config-if-range)#switchport access vlan 99
S1(config-if-range)#exit
S1(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to up to establish connectivity between the host and the switch, the ports used by the host must be in the same VLAN as the switch. Notice in the above output that VLAN 1 interface goes down because none of the ports are assigned to VLAN 1. After a few seconds, VLAN 99 will come up because at least one port is now assigned to VLAN 99.
S1(config)#ip default-gateway 172.17.99.1
S1(config)#exit
ig-if)#speed 100
S1(config-if)#duplex full
S1(config-if)#end
S1#copy running-config startup-config
Destination filename [startup-config]?[Enter] Building configuration...
[OK]
S1#
S1#show mac-address-table
S1(config)#interface fastethernet 0/18
S1(config-if)#switchport port-security ? aging Port-security aging commands mac-address Secure mac address maximum Max secure addresses violation Security violation mode
S1(config-if)#switchport port-security
Configure switch port FastEthernet 0/18 to accept only two devices, to learn the MAC addresses of those devices dynamically, and to block traffic from invalid hosts if a violation occurs.
S1(config-if)#switchport mode access
S1(config-if)#switchport port-security
S1(config-if)#switchport port-security maximum 2
S1(config-if)#switchport port-security mac-address sticky
S1(config-if)#switchport port-security violation protect
Related Documents: Basic Switch Configuration Essay
network”. A flat network operates with a single broadcast domain and each device is interconnected within the network. Which means every device sees every broadcast packet that is transmitted. With the use of the same Layer 2 switches and the configuration of Virtual LANs within those switches the network now becomes a Layer 3 with the capability of routing within the network. A VLAN is made up of defined members communicating as a logical network segment. The switches are configured with access…
Introduction Course: IS3120 Week: 4 Lab: Configuring RIPv2 The Configuring RIPv2 lab provides you with the instructions and Cisco hardware to develop your hands on skills in basic route configuration on Cisco routers. This lab includes the following exercises: 1) Configure and verify RIPv2 Notes As you perform the various steps of the lab, update your lab report. You will send the lab report to your online instructor for evaluation after you quit the lab. Submit the following screenshots to your…
2010 3 Chapter 1 Overview Data Communications and NM Telephone Network Model To other Regional Center Class 1 switch Regional Center Class 1 switch Sectional Center Class 2 switch Sectional Center Class 2 switch Primary Center Class 3 switch Primary Center Class 3 switch Toll Center Class 4 switch Toll Center Class 4 switch End Office Class 5 switch End Office Class 5 switch Regional centers Sectional centers Primary centers Toll centers End offices To other Primary centers Toll centers…
address it represents. a) Answer: Hostname 31. A list of the last several commands entered in a Cisco router or switch EXEC and configuration modes. These commands can be recalled to the command line by using the Up Arrow key or Ctrl-p, which saves typing effort when using the same commands repeatedly. a) Answer: Terminal History 32. In the Cisco router and switch CLI, an area of memory that holds the commands most recently used by that user. The commands are recalled to the command…
server, so that all access to the storage must go through the server. If the server fails, access to the storage devices is lost. Multiple servers can share the storage device, but multiple server access is typically limited to a clustered configuration to provide access to the data when one server is unavailable. Network Attached Storage (NAS) With Network Attached Storage (NAS), external storage devices are connected to the network, sharing the network with servers, workstations, and other…
MTN Ghana SWITCHING SYSTEM CONT’D Visitor Location Register (VLR) The VLR temporarily stores information about the MS currently visiting its service area. In the system the VLR is integrated with MSC in the same AXE 10 switch. The HLR can be implemented in a stand alone AXE 10 switch or an integrated (G)MSC/VLR/HLR. 3 MTN Ghana SWITCHING SYSTEM CONT’D Authentication Center (AUC) The AUC generates triplets used in the authentication of a subscriber SIM card and ciphering of speech, data and signaling…
your current system. I will give my recommendation for a new web scheduling software, should you be open for a change. I will also go over my choices for networking equipment. This will include the Modem/Router choice, VOIP phone system, and POE switch I have take the liberty of adding a few suggestions to your system to make your new business network more productive. First, I feel that for further growth, a website should be enabled on your domain of JohnsonLandsacaping.com, which will…