Alpha Centauri Studies
CoursesFor Institutions

Loading...

Alpha Centauri Studies

CSEC past papers, worked

Past papers worked question by question, and courses built on the CSEC syllabus, for students across the Caribbean.

Serving Caribbean students since 2025

Explore

CoursesAboutContact

Support

PrivacyTermsHelp

Subscribe to Our Newsletter

New papers and courses, when they land.

Connect With Us
© 2026 Alpha Centauri Studies. All rights reserved.
4.4 The function of SNMP

Lab5.2.2.6ccna424 min

5.2.2.6 Lab - Configuring SNMP

Topology

The topology for the Configuring SNMP lab, drawn as a line of four devices. PC A, captioned SNMP Manager, connects to switch S1 on port F0/6. S1 is captioned SNMP Agent. S1 port F0/5 connects to router R1 on port G0/1, and R1 is captioned SNMP Agent beneath it. R1 port S0/0/0, marked DCE in red, runs up a red serial link to router R2 port S0/0/0. No IP addresses are printed on the figure.

Addressing Table

DeviceInterfaceIP AddressSubnet MaskDefault Gateway
R1G0/1192.168.1.1255.255.255.0N/A
S0/0/0192.168.2.1255.255.255.252N/A
R2S0/0/0192.168.2.2255.255.255.252N/A
S1VLAN 1192.168.1.2255.255.255.0N/A
PC-ANIC192.168.1.3255.255.255.0192.168.1.1

Objectives

  • Part 1: Build the Network and Configure Basic Device Settings

  • Part 2: Configure an SNMPv2 Manager and Agent

  • Part 3: Configure an SNMPv3 Manager and Agent

Background / Scenario

Simple Network Management Protocol (SNMP) is a network management protocol and an IETF standard which can be used to both monitor and control clients on the network. SNMP can be used to get and set variables related to the status and configuration of network hosts like routers and switches, as well as network client computers. The SNMP manager can poll SNMP agents for data, or data can be automatically sent to the SNMP manager by configuring traps on the SNMP agents.

In this lab, you will download, install, and configure SNMP management software on PC-A. You will also configure a Cisco router and Cisco switch as SNMP agents. After capturing SNMP notification messages from the SNMP agent, you will convert the MIB/Object ID codes to learn the details of the messages using the Cisco SNMP Object Navigator.

Note: The routers used with CCNA hands-on labs are Cisco 1941 Integrated Services Routers (ISRs) with Cisco IOS Release 15.4(3) (universalk9 image). The switches used are Cisco Catalyst 2960s with Cisco IOS Release 15.0(2) (lanbasek9 image). Other routers, switches and Cisco IOS versions can be used. Depending on the model and Cisco IOS version, the commands available and output produced might vary from what is shown in the labs. Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.

Note: Make sure that the routers and switches have been erased and have no startup configurations. If you are unsure, contact your instructor.

Note: The snmp-server commands in this lab will cause the Cisco 2960 switch to issue a warning message when saving the configuration file to NVRAM. To avoid this warning message verify that the switch is using the lanbase-routing template. The IOS template is controlled by the Switch Database Manager (SDM). When changing the preferred template, the new template will be used after reboot even if the configuration is not saved.

S1# show sdm prefer

Use the following commands to assign the lanbase-routing template as the default SDM template.

S1# configure terminal
S1(config)# sdm prefer lanbase-routing
S1(config)# end
S1# reload

Required Resources

2 Routers (Cisco 1941 with Cisco IOS, Release 15.4(3) universal image or comparable) 1 Switch (Cisco 2960 with Cisco IOS Release 15.0(2) lanbasek9 image or comparable) 1 PC (Windows with terminal emulation program, such as Tera Term, SNMP manager, such as SNMP MIB Browser by ManageEngine, and Wireshark) Console cables to configure the Cisco IOS devices via the console ports Ethernet and serial cables as shown in the topology SNMP Management Software (SNMP MIB Browser by ManageEngine)

Part 1: Build the Network and Configure Basic Device Settings

In Part 1, you will set up the network topology and configure the devices with basic settings.

Step 4: Configure basic settings for the routers and switch.

a. Disable DNS lookup.

b. Configure device names as shown in the topology.

c. Configure IP addresses as shown in the Addressing Table. (Do not configure or enable the VLAN 1 interface on S1 at this time.)

d. Assign cisco as the console and vty password and enable login.

e. Assign class as the encrypted privileged EXEC mode password.

f. Configure logging synchronous to prevent console messages from interrupting command entry.

g. Verify successful connectivity between PC-A and R1 and between the routers by issuing the ping command.

h. Copy the running configuration to the startup configuration.

Part 2: Configure SNMPv2 Manager and Agent

In Part 2, SNMP management software will be installed and configured on PC-A, and R1 and S1 will be configured as SNMP agents.

Step 1: Install an SNMP management program.

a. Download and install the SNMP MIB Browser by ManageEngine from the following URL: https://www.manageengine.com/products/mibbrowser-free-tool/download.html. You will be asked to provide an email address to download the software.

b. Launch the ManageEngine MibBrowswer program.

  1. If you receive an error message regarding the failure to load MIBs. Navigate to the MibBrowser Free Tool folder:

32bit: C:\Program Files (x86)\ManageEngine\MibBrowser Free Tool 64bit: C:\Program Files\ManageEngine\MibBrowser Free Tool

  1. Right-click the mibs folder and select the Security tab. Click Edit. Select Users. Click Full control. Click OK to change the permission.

  2. Repeat the previous step with the conf folder.

  3. Launch the ManageEngine MibBrowswer program again.

The ManageEngine MibBrowser Free Tool as it opens, before anything has been queried. Host is localhost and Port is 161; Community holds six masked characters and Write Community is empty; Set Value and Object ID are both empty. Under Device Type, Device Type Identified reads Not Available and Suggested OIDs reads None. The result pane shows only the start-up log, in blue: "Loading MIBs .\mibs\RFC1213-MIB .\mibs\IF-MIB" followed by "Done." The tree on the left is headed Loaded MibModules and lists four modules, all collapsed: IANAifType-MIB, RFC1213-MIB, IF-MIB and SNMPv2-MIB. The Description tab at the bottom is blank: Syntax, Access, Index, Object ID, Description, Status and Reference are all empty. A Global View tick box at the bottom left is unticked.

Step 2: Configure a SNMPv2 agent.

On S1, enter the following commands from the global configuration mode to configure the switch as an SNMP agent. In line 1 below, the SNMP community string is ciscolab, with read- only privileges, and the named access list SNMP_ACL defines which hosts are allowed to get SNMP information from S1. In lines 2 and 3, the SNMP manager location and contact commands provide descriptive contact information. Line 4 specifies the IP address of the host that will receive SNMP notifications, the SNMP version, and the community string. Line 5 enables all default SNMP traps, and lines 6 and 7 create the named access list, to control which hosts are permitted to get SNMP information from the switch.

S1(config)# snmp-server community ciscolab ro SNMP_ACL
S1(config)# snmp-server location Company_HQ
S1(config)# snmp-server contact [email protected]
S1(config)# snmp-server host 192.168.1.3 version 2c ciscolab
S1(config)# snmp-server enable traps
S1(config)# ip access-list standard SNMP_ACL
S1(config-std-nacl)# permit 192.168.1.3

Step 3: Verify the SNMPv2 settings.

Use the show commands to verify the SNMPv2 settings.

S1# show snmp
Chassis: FCQ1628Y5MG
Contact: [email protected]
Location: Company_HQ
0 SNMP packets input
0 Bad SNMP version errors
0 Unknown community name
0 Illegal operation for community name supplied
0 Encoding errors
0 Number of requested variables
0 Number of altered variables
0 Get-request PDUs
0 Get-next PDUs
0 Set-request PDUs
0 Input queue packet drops (Maximum queue size 1000)
0 SNMP packets output
0 Too big errors (Maximum packet size 1500)
0 No such name errors
0 Bad values errors
0 General errors
0 Response PDUs
0 Trap PDUs
SNMP global trap: enabled
SNMP logging: enabled
Logging to 192.168.1.3.162, 0/10, 0 sent, 0 dropped.
SNMP agent enabled
S1# show snmp community
Community name: ciscolab
Community Index: ciscolab
Community SecurityName: ciscolab
storage-type: nonvolatile        active access-list: SNMP_ACL
<output omitted>

What is the configured SNMP community? ______

Step 4: Enable SNMP trap.

In this step, you will start the SNMP trap and observe the messages when you configure and enable SVI on VLAN 1 for S1.

a. In the MibBrowser, click Edit > Settings. Verify that v2c is selected as the SNMP Version. Click OK to continue.

b. Click Trap Viewer UI .

c. Verify 162 is the Port number and configure ciscolab as the Community.

The ManageEngine TrapViewer window before it has been started. The trap table at the top has the columns Class, Type, Source, Date and Message, and it is empty. "Authenticate v1/v2c traps (Community)" and "Authenticate v3 Trap" are both ticked; "Enable Logging" and "Enable Mail" are both unticked, with a Log Format drop-down and a Configure Mail button beside them. Port is 162 and Community is ciscolab. The TrapList and TrapParser boxes are both empty, with Add, Del and Load buttons beside them, Add and Del greyed out. Along the bottom, Start and ParserEditor are enabled while Stop, Show Details and Delete Entry are greyed out. The status strip reads "Traps : 0 Inform : 0" and "Status : Not Listening for Traps", with a red indicator at the left.

d. Click Start after you have verified the settings. The TrapList field displays 162:ciscolab.

e. To generate SNMP messages, configure and enable SVI on S1. Use the IP address 192.168.1.2 /24 for VLAN 1 and disable and enable the interface.

f. Enter the show snmp command to verify the SNMP messages were sent.

S1# show snmp
Chassis: FCQ1628Y5MG
Contact: [email protected]
Location: Company_HQ
0 SNMP packets input
0 Bad SNMP version errors
0 Unknown community name
0 Illegal operation for community name supplied
0 Encoding errors
0 Number of requested variables
0 Number of altered variables
0 Get-request PDUs
0 Get-next PDUs
0 Set-request PDUs
0 Input queue packet drops (Maximum queue size 1000)
2 SNMP packets output
0 Too big errors (Maximum packet size 1500)
0 No such name errors
0 Bad values errors
0 General errors
0 Response PDUs
2 Trap PDUs
SNMP global trap: enabled
SNMP logging: enabled
Logging to 192.168.1.3.162, 0/10, 2 sent, 0 dropped.
SNMP agent enabled
SNMP agent enabled

g. Navigate to the TrapViewer. View the messages that have been trapped by MibBrowser. To see the details of each message, click Show Details.

The ManageEngine TrapViewer while it is listening, with two traps received. The table lists two rows, both shaded pink: Class Clear, Type v2c Trap, Source 192.168.1.2, Date "Wed Oct 05 14:31:35..." and "Wed Oct 05 14:31:36...", and Message ".iso.org.dod.internet..." on both. Both the Date and Message cells are truncated by the column width in the source, so the seconds and the rest of the OID cannot be read. "Authenticate v1/v2c traps (Community)" and "Authenticate v3 Trap" are still ticked but now greyed out, and "Enable Logging" and "Enable Mail" are unticked and greyed. Port is 162 and Community is ciscolab, both now greyed. TrapList reads 162:ciscolab and TrapParser is empty. Start, Add, Del, Load and ParserEditor are greyed out while Stop, Show Details and Delete Entry are enabled. The status strip reads "Traps : 2 Inform : 0" and "Status : Listening for Traps", with a green indicator at the left.

Step 1: Configure a SNMPv3 agent on R1.

On R1, enter the following commands from the global configuration mode to configure the router as an SNMP agent. In lines 1 – 3 below, a standard ACL named PERMIT-ADMIN permits only the hosts of the network 192.168.1.0 /24 to access the SNMP agent running on R1. Line 4 configures an SNMP view, SNMP-RO, and it includes the iso tree from the MIB. In line 5, an SNMP group is configured with the name ADMIN, is set to SNMPv3 with authentication and encryption required, and only allows access limit to hosts permitted in the PERMIT-ADMIN ACL. Line 5 defines a user named USER1 with the group ADMIN. Authentication is set to use SHA with the password cisco12345 and encryption is set for AES 128 with cisco54321 as the configured password.

R1(config)# ip access-list standard PERMIT-ADMIN
R1(config-std-nacl)# permit 192.168.1.0 0.0.0.255
R1(config-std-nacl)# exit
R1(config)# snmp-server view SNMP-RO iso included
R1(config)# snmp-server group ADMIN v3 priv read SNMP-RO access PERMIT-ADMIN
R1(config)# snmp-server user USER1 ADMIN v3 auth sha cisco12345 pri aes 128
cisco54321
R1(config)#
*Aug 5 02:52:50.715: Configuring snmpv3 USM user, persisting snmpEngineBoots.
Please Wait...

Step 2: Verify a SNMPv3 configuration on R1.

Use the show commands to verify the SNMPv3 settings.

R1# show run | include snmp
snmp-server group ADMIN v3 priv read SNMP-RO access PERMIT-ADMIN
snmp-server view SNMP-RO iso included
R1# show snmp user
User name: USER1
Engine ID: 800000090300D48CB5CEA0C0
storage-type: nonvolatile active
Authentication Protocol: SHA
Privacy Protocol: AES128
Group-name: ADMIN

Step 3: Configure SNMP manager access to the SNMPv3 agent.

a. Navigate to PC-A Open Wireshark. Start a live capture on the appropriate interface.

b. Enter snmp in the Filter field.

c. In the MibBrowser, click Edit > Settings. Select v3 for SNMP Version. Then click Add.

d. Enter the SNMPv3 settings that were configured on R1. Click OK to continue.

The SnmpParameterPanel dialogue of the MIB Browser, on its V3 Parameters section. Target Host is 192.168.1.1 and Target Port is 161. User Name is USER1 and Security Level is Auth,Priv. Auth Protocol is SHA and Auth Password holds ten masked characters. Priv Protocol is CFB-AES-128 and Priv Password holds ten masked characters. Context Name is empty, and the Engine ID box is empty and greyed out. OK, Cancel and Apply buttons sit at the bottom, with OK the default.

SNMPv3 ParametersSettings
Target Host192.168.1.1
User NameUSER1
Auth ProtocolSHA
Priv ProtocolCFB-AES-128
Target Port161
Security LevelAuth,Priv
Auth Passwordcisco12345
Priv Passwordcisco54321

e. Click Edit > Find Node. Enter ipAddrTable in the Find What field and click Close. Verify ipAddrTable is selected in the left panel and .iso.org.dod.internet.mgmt.mib-2.ip.ipAddrTable is listed in the ObjectID field.

f. Click Operation > GET to get all the objects under the select MIB object, ipAddrTable in this instance.

The ManageEngine MibBrowser Free Tool after walking ipAddrTable on a router. Host is 192.168.1.1 and Port is 161; Community holds six masked characters and Write Community is empty; Set Value is empty. Under Device Type, Device Type Identified reads Not Available and Suggested OIDs reads None. The Object ID box holds .iso.org.dod.internet.mgmt.mib-2.ip.ipAddrTable. The result pane lists six variable bindings: ipAdEntAddr.192.168.1.1 is 192.168.1.1, ipAdEntAddr.192.168.2.1 is 192.168.2.1, ipAdEntIfIndex.192.168.1.1 is 3, ipAdEntIfIndex.192.168.2.1 is 5, ipAdEntNetMask.192.168.1.1 is 255.255.255.0, and ipAdEntNetMask.192.168.2.1 is 255.255.255.252. The Description tab below shows Status mandatory, Access not-accessible, Object ID .1.3.6.1.2.1.4.20 and the description "The table of addressing information relevant to this entity's IP addresses." Syntax, Index and Reference are empty. In the MIB tree on the left, ipAddrTable is the selected node, among ipInDelivers, ipOutRequests, ipOutDiscards, ipOutNoRoutes, ipReasmTimeout, ipReasmReqds, ipReasmOKs, ipReasmFails, ipFragOKs, ipFragFails, ipFragCreates, ipRouteTable, ipNetToMediaTable and ipRoutingDiscards, with icmp, tcp, udp, egp, transmission and snmp folders below.

g. Navigate back to the Wireshark screen. Stop the live capture.

h. In the Results panel, right-click one of the results. Select Protocol Preferences > Simple Network Management Preferences.

Wireshark 1.12.3 capturing on Local Area Connection, filtered on snmp, with the packet right-click menu open on the way to the SNMP preferences. Four packets are displayed: number 20 at 33.9248400 from 192.168.1.3, get-request 1.3.6.1.2.1.1.2.0, which is the selected row; number 21 at 33.9252270 from 192.168.1.3, get-next-request 1.3.6.1.2.1.4.20; number 22 at 33.9265460 from 192.168.1.1, get-response 1.3.6.1.2.1.1.2.0; and number 23 at 33.9266380 from 192.168.1.1, get-response 1.3.6.1.2.1.4.20.1.1.192.168.1.1. The open menu covers the Destination, Protocol and Length columns, so those values cannot be read in this figure. The detail pane shows Frame 20 as 166 bytes on wire (1328 bits) on interface 0; Ethernet II with Src Vmware_be:8e:bb and a destination ending fc:99:47:75:c3:e1; Internet Protocol Version 4 with a destination of 192.168.1.1; an expanded User Datagram Protocol layer with Source Port 51466, Destination Port 161, Length 132, Checksum 0x8567 with validation disabled and Stream index 0; and an expanded Simple Network Management Protocol layer showing msgVersion snmpv3 (3), a collapsed msgGlobalData, msgAuthoritativeEngineID beginning 800000090300 and msgAuthoritativeEngineBoots 13. The right-click menu offers Mark Packet (toggle), Ignore Packet (toggle), Set Time Reference (toggle), Time Shift, a greyed Edit Packet, Packet Comment, Manually Resolve Address, Apply as Filter, Prepare a Filter, Conversation Filter, Colorize Conversation, a greyed SCTP, a greyed Follow TCP Stream, Follow UDP Stream, a greyed Follow SSL Stream, Copy, Protocol Preferences (highlighted, with its submenu open), Decode As, Print, and Show Packet in New Window. The open submenu lists Simple Network Management Protocol Preferences; three ticked options, Show SNMP OID in info column, Reassemble SNMP-over-TCP messages spanning multiple TCP segments, and Display dissected variables inside SNMP tree; then Users Table and Enterprise Specific Trap Types. The status bar reads Packets: 46, Displayed: 4 (8.7%), Dropped: 0 (0.0%), and the pane tabs are Frame (166 bytes) and Decrypted ScopedPDU (45 bytes).

i. Click Edit for the Users Table. Click New and enter user information in Step 1. Click OK.

The Wireshark SNMP Users Table "new entry" dialogue, titled "SNMP Users: New - Profile: Def...". Engine ID is left empty. Username is USER1. Authentication model is SHA1 and Password is cisco12345. Privacy protocol is AES and Privacy password is cisco54321. OK and Cancel buttons sit at the bottom.

j. Click OK to accept the user information. Click OK again to exit the Wireshark Preferences window.

k. Select one of the lines. Expand the SNMP result and view the decrypted messages.

Wireshark 1.12.3 filtered on snmp, with the SNMPv3 traffic now decrypted because the SNMP user has been added. Four packets are displayed. Number 20 at 33.9248400 goes from 192.168.1.3 to 192.168.1.1, SNMP, 166 bytes, get-request 1.3.6.1.2.1.1.2.0. Number 21 at 33.9252270 goes from 192.168.1.3 to 192.168.1.1, SNMP, 165 bytes, get-next-request 1.3.6.1.2.1.4.20. Number 22 at 33.9265460 goes from 192.168.1.1 to 192.168.1.3, SNMP, 175 bytes, get-response 1.3.6.1.2.1.1.2.0, and this is the selected row. Number 23 at 33.9266380 goes from 192.168.1.1 to 192.168.1.3, SNMP, 177 bytes, get-response 1.3.6.1.2.1.4.20.1.1.192.168.1.1. The detail pane is scrolled to show Checksum 0x47eb with validation disabled, Stream index 0, and the expanded Simple Network Management Protocol layer: msgVersion snmpv3 (3), a collapsed msgGlobalData, msgAuthoritativeEngineID 800000090300fc994775c3e0, msgAuthoritativeEngineBoots 13, msgAuthoritativeEngineTime 1493, msgUserName USER1, msgAuthenticationParameters 09c7bfaca3e7e925c49d1bd7 (this row is highlighted), msgPrivacyParameters da5e570131075268, and msgData encryptedPDU (1). Inside that, encryptedPDU begins 6938e240568438057119992a9aab4c429912173dc7cbb11b, and the Decrypted ScopedPDU begins 3034040c800000090300fc994775c3e00400a22202013502, with contextEngineID 800000090300fc994775c3e0, an empty contextName, and data get-response (2). The get-response carries request-id 53, error-status noError (0), error-index 0 and variable-bindings of 1 item: 1.3.6.1.2.1.1.2.0 is 1.3.6.1.4.1.9.1.1047 (iso.3.6.1.4.1.9.1.1047), with Object Name 1.3.6.1.2.1.1.2.0 and Value (OID) 1.3.6.1.4.1.9.1.1047. The bytes pane begins 00 50 56 be 8e bb fc 99 47 75 c3 e1 08 00 45 00. The pane tabs are Frame (175 bytes) and Decrypted ScopedPDU (54 bytes), and the status bar reads Packets: 46, Displayed: 4 (8.7%), Dropped: 0 (0.0%), Profile: Default.

Step 4: Review your results.

What are the IP addresses configured on R1 in the SNMPv3 results? ______

Compare the Wireshark decrypted SNMP packets and MIB Browser results. Record your observations. ______

Reflection

  1. What are some of the potential benefits of monitoring a network with SNMP? ______

  2. Why is it preferable to solely use read-only access when working with SNMPv2? ______

  3. What are the benefits of using SNMPv3 over SNMPv2? ______

Router Interface Summary Table

Router Interface Summary
Router ModelEthernet Interface #1Ethernet Interface #2Serial Interface #1Serial Interface #2
1800Fast Ethernet 0/0 (F0/0)Fast Ethernet 0/1 (F0/1)Serial 0/0/0 (S0/0/0)Serial 0/0/1 (S0/0/1)
1900Gigabit Ethernet 0/0 (G0/0)Gigabit Ethernet 0/1 (G0/1)Serial 0/0/0 (S0/0/0)Serial 0/0/1 (S0/0/1)
2801Fast Ethernet 0/0 (F0/0)Fast Ethernet 0/1 (F0/1)Serial 0/1/0 (S0/1/0)Serial 0/1/1 (S0/1/1)
2811Fast Ethernet 0/0 (F0/0)Fast Ethernet 0/1 (F0/1)Serial 0/0/0 (S0/0/0)Serial 0/0/1 (S0/0/1)
2900Gigabit Ethernet 0/0 (G0/0)Gigabit Ethernet 0/1 (G0/1)Serial 0/0/0 (S0/0/0)Serial 0/0/1 (S0/0/1)
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many interfaces the router has. There is no way to effectively list all the combinations of configurations for each router class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device. The table does not include any other type of interface, even though a specific router may contain one. An example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be used in Cisco IOS commands to represent the interface.

Device Configs

Router R1

R1# show run
Building configuration...
Current configuration : 5969 bytes
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$OrtP$2NNYnom443a8KZ9OHt1rs.
!
no aaa new-model
memory-size iomem 15
!
ip cef
!
no ipv6 cef
multilink bundle-name authenticated
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 192.168.2.1 255.255.255.252
clock rate 2000000
!
interface Serial0/0/1
no ip address
shutdown
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip access-list standard PERMIT-ADMIN
permit 192.168.1.0 0.0.0.255
!
!
!
snmp-server group ADMIN v3 priv read SNMP-RO access PERMIT-ADMIN
snmp-server view SNMP-RO iso included
!
control-plane
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login
transport input all
!
scheduler allocate 20000 1000
!
end

Router R2

R2# show run
Building configuration...
Current configuration : 1251 bytes
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$QZ1F$RFH9AW.ayUS9fqOAjNpBD.
!
no aaa new-model
!
no ip domain lookup
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
ip address 192.168.2.2 255.255.255.252
!
interface Serial0/0/1
no ip address
shutdown
clock rate 2000000
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
control-plane
!
!
line con 0
password cisco
logging synchronous
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password cisco
login
transport input all
!
scheduler allocate 20000 1000
!
end

Switch S1

S1#show run
Building configuration...
Current configuration : 4618 bytes
!
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname S1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$3v3u$anY1xkAH.LWanrI0LsGrc0
!
no aaa new-model
system mtu routing 1500
!
no ip domain-lookup
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 192.168.1.2 255.255.255.0
!
ip http server
ip http secure-server
!
ip access-list standard SNMP_ACL
permit 192.168.1.3
snmp-server community ciscolab RO SNMP_ACL
snmp-server location snmp_manager
snmp-server contact ciscolab_admin
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps transceiver all
snmp-server enable traps call-home message-send-fail server-fail
snmp-server enable traps tty
snmp-server enable traps cluster
snmp-server enable traps entity
snmp-server enable traps cpu threshold
snmp-server enable traps vtp
snmp-server enable traps vlancreate
snmp-server enable traps vlandelete
snmp-server enable traps flash insertion removal
snmp-server enable traps port-security
snmp-server enable traps auth-framework sec-violation
snmp-server enable traps dot1x auth-fail-vlan guest-vlan no-auth-fail-vlan
noguest-vlan
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps power-ethernet police
snmp-server enable traps fru-ctrl
snmp-server enable traps config-copy
snmp-server enable traps config
snmp-server enable traps config-ctid
snmp-server enable traps energywise
snmp-server enable traps ipsla
snmp-server enable traps vstack
snmp-server enable traps bridge newroot topologychange
snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency
snmp-server enable traps syslog
snmp-server enable traps mac-notification change move threshold
snmp-server enable traps vlan-membership
snmp-server enable traps errdisable
snmp-server host 192.168.1.3 version 2c ciscolab
!
line con 0
password cisco
logging synchronous
login
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end

Your answers

Nothing here is marked. Most of these answers are read off your own machine, so there is no right value to compare them against; they are kept so your work survives.

Check your answersEvery question in this lab, answered. Take your own capture first.→

Source: itexamanswers.net