R1>
R1>enable Password: R1#
R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#
R1(config)#int lo 101 R1(config-if)#
1(config)#router bgp 100 R1(config-router)#
R1(config)#line console 0 R1(config-line)#
Software Activation on Cisco Integrated Services Routers
R1#show license Index 1 Feature: ipbasek9 Period left: Life time License Type: Permanent License State: Active, In Use License Count: Non-Counted License Priority: Medium Index 2 Feature: securityk9 Period left: Life time License Type: RightToUse License State: Active, Not in Use, EULA accepted License Count: Non-Counted License Priority: Low Index 3 Feature: datak9 Period left: Not Activated Period Used: 0 minute 0 second License Type: EvalRightToUse License State: Active, Not in Use, EULA not accepted License Count: Non-Counted License Priority: None Index 4 Feature: FoundationSuiteK9 Period left: Not Activated Period Used: 0 minute 0 second License Type: EvalRightToUse License State: Active, Not in Use, EULA not accepted License Count: Non-Counted License Priority: None Index 5 Feature: ios-ips-update Period left: Not Activated Period Used: 0 minute 0 second License Type: EvalRightToUse License State: Active, Not in Use, EULA not accepted License Count: Non-Counted License Priority: None Index 6 Feature: hseck9 Index 7 Feature: mgmt-plug-and-play Index 8 Feature: mgmt-lifecycle Index 9 Feature: mgmt-assurance Index 10 Feature: mgmt-onplus Index 11 Feature: mgmt-compliance R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#license accept end user agreement PLEASE READ THE FOLLOWING TERMS CARE . . . ACCEPT? [yes/no]: yes R1(config)# 000060: *Jun 1 17:51:36.523: %LICENSE-6-EULA_ACCEPT_ALL: The Right to Use End User License Agreement is accepted R1(config)#do show license Index 1 Feature: ipbasek9 Period left: Life time License Type: Permanent License State: Active, In Use License Count: Non-Counted License Priority: Medium Index 2 Feature: securityk9 Period left: Life time License Type: RightToUse License State: Active, Not in Use, EULA accepted License Count: Non-Counted License Priority: Low Index 3 Feature: datak9 Period left: Not Activated Period Used: 0 minute 0 second License Type: EvalRightToUse License State: Active, Not in Use, EULA not accepted License Count: Non-Counted License Priority: None Index 4 Feature: FoundationSuiteK9 Period left: Not Activated Period Used: 0 minute 0 second License Type: EvalRightToUse R1(config)#license boot suite FoundationSuiteK9 % use 'write' command to make license boot config take effect on next boot R1(config)# 000061: *Jun 1 17:54:08.271: %LICENSE-6-EULA_ACCEPTED: EULA for feature FoundationSuiteK9 1.0 has been accepted. UDI=CISCO1921/K9:FTX144000UN; StoreIndex=2:Built-In License Storage R1(config)#do wr Building configuration... [OK] R1(config)#do reload Proceed with reload? [confirm] 000062: *Jun 1 17:54:33.831: %SYS-5-RELOAD: Reload requested by console. R1#show license Index 1 Feature: ipbasek9 Period left: Life time License Type: Permanent License State: Active, In Use License Count: Non-Counted License Priority: Medium Index 2 Feature: securityk9 Period left: Life time License Type: RightToUse License State: Active, In Use License Suite: FoundationSuiteK9 License Count: Non-Counted License Priority: Low Index 3 Feature: datak9 Period left: 8 weeks 3 days Period Used: 1 minute 52 seconds License Type: EvalRightToUse License State: Active, In Use License Suite: FoundationSuiteK9 License Count: Non-Counted License Priority: Low Index 4 Feature: FoundationSuiteK9 Period left: 8 weeks 3 days Period Used: 1 minute 52 seconds License Type: EvalRightToUse License State: Active, In Use License Count: Non-Counted License Priority: Low Index 5 Feature: ios-ips-update Period left: Not Activated Period Used: 0 minute 0 second License Type: EvalRightToUse License State: Active, Not in Use, EULA not accepted License Count: Non-Counted License Priority: None Index 6 Feature: hseck9 Index 7 Feature: mgmt-plug-and-play Index 8 Feature: mgmt-lifecycle Index 9 Feature: mgmt-assurance Index 10 Feature: mgmt-onplus Index 11 Feature: mgmt-compliance
R1#show license feature Feature name Enforcement Evaluation Subscription Enabled RightToUse ipbasek9 no no no yes no securityk9 yes yes no yes yes datak9 yes yes no yes yes FoundationSuiteK9 yes yes no yes yes ios-ips-update yes yes yes no yes hseck9 yes no no no no mgmt-plug-and-play yes no no no no mgmt-lifecycle yes no no no no mgmt-assurance yes no no no no mgmt-onplus yes no no no no mgmt-compliance yes no no no no Feature name Enforcement Evaluation Subscription Enabled RightToUse
R1#show version Cisco IOS Software, C1900 Software (C1900-UNIVERSALK9-M), Version 15.5(3)M2, RELEASE SOFTWARE (fc1) Suite License Information for Module:'c1900' -------------------------------------------------------------------------------- Suite Suite Current Type Suite Next reboot -------------------------------------------------------------------------------- FoundationSuiteK9 FoundationSuiteK9 EvalRightToUse FoundationSuiteK9 securityk9 datak9 Technology Package License Information for Module:'c1900' ------------------------------------------------------------------------ Technology Technology-package Technology-package Current Type Next reboot ------------------------------------------------------------------------ ipbase ipbasek9 Permanent ipbasek9 security None None None data None None None
R1#license install flash:license-file.lic
R1(config)#snmp-server community TST RO R1(config)#snmp-server enable traps R1(config)#snmp-server host 192.168.1.80 TST !optional
R1(config)#snmp-server community TST RO R1(config)#snmp-server enable traps R1(config)#snmp-server host 192.168.1.80 version 2c TST
R1(config)#snmp-server group TSTGRP v3 noauth read TSTVIEW R1(config)#snmp-server view TSTVIEW mib-2 included R1(config)#snmp-server enable traps R1(config)#snmp-server host 192.168.1.80 version 3 noauth TST
R1(config)#logging ? Hostname or A.B.C.D IP address of the logging host buffered Set buffered logging parameters buginf Enable buginf logging for debugging cns-events Set CNS Event logging level console Set console logging parameters count Count every log message and timestamp last occurance delimiter Append delimiter to syslog messages discriminator Create or modify a message discriminator dmvpn DMVPN Configuration esm Set ESM filter restrictions exception Limit size of exception flush output facility Facility parameter for syslog messages filter Specify logging filter history Configure syslog history table host Set syslog server IP address and parameters message-counter Configure log message to include certain counter value monitor Set terminal line (monitor) logging parameters on Enable logging to all enabled destinations origin-id Add origin ID to syslog messages persistent Set persistent logging parameters queue-limit Set logger message queue size rate-limit Set messages per second limit reload Set reload logging level server-arp Enable sending ARP requests for syslog servers when first configured snmp-trap Set syslog level for sending snmp trap source-interface Specify interface for source address in logging transactions trap Set syslog server logging level userinfo Enable logging of user info on privileged mode enabling
R1(config)#logging console ? <0-7> Logging severity level alerts Immediate action needed (severity=1) critical Critical conditions (severity=2) debugging Debugging messages (severity=7) discriminator Establish MD-Console association emergencies System is unusable (severity=0) errors Error conditions (severity=3) filtered Enable filtered logging guaranteed Guarantee console messages informational Informational messages (severity=6) notifications Normal but significant conditions (severity=5) warnings Warning conditions (severity=4) xml Enable logging in XML <cr>
R1(config)#logging buffered ? <0-7> Logging severity level <4096-2147483647> Logging buffer size alerts Immediate action needed (severity=1) critical Critical conditions (severity=2) debugging Debugging messages (severity=7) discriminator Establish MD-Buffer association emergencies System is unusable (severity=0) errors Error conditions (severity=3) filtered Enable filtered logging informational Informational messages (severity=6) notifications Normal but significant conditions (severity=5) warnings Warning conditions (severity=4) xml Enable logging in XML to XML logging buffer <cr>
no logging console
no logging buffered
R1#show logging Syslog logging: enabled (0 messages dropped, 2 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled) No Active Message Discriminator. No Inactive Message Discriminator. Console logging: level debugging, 36 messages logged, xml disabled, filtering disabled Monitor logging: level debugging, 0 messages logged, xml disabled, filtering disabled Buffer logging: level debugging, 36 messages logged, xml disabled, filtering disabled Exception Logging: size (4096 bytes) Count and timestamp logging messages: disabled Persistent logging: disabled No active filter modules. Trap logging: level informational, 39 message lines logged Logging Source-Interface: VRF Name: Log Buffer (8192 bytes): *Jan 2 00:00:02.247: %SMART_LIC-6-AGENT_READY: Smart Agent for Licensing is initialized *Jan 2 00:00:02.395: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name = c1900 Next reboot level = ipbasek9 and License = ipbasek9 *May 17 04:13:42.127: c3600_scp_set_dstaddr2_idb(184)add = 80 name is Embedded-Service-Engine0/0 *May 17 04:13:55.703: %ESWMRVL_FLTMG-5-NOTICE: Notice: FPGA Rev 0x27 *May 17 04:13:56.931: %ESWMRVL_FLTMG-5-NOTICE: Notice: FPGA Rev 0x27 *May 17 04:14:04.595: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to up *May 17 04:14:04.595: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to down *May 17 04:14:05.595: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up *May 17 04:14:05.595: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down
R1(config)#logging host 192.168.1.205
R1(config)#logging trap ? <0-7> Logging severity level alerts Immediate action needed (severity=1) critical Critical conditions (severity=2) debugging Debugging messages (severity=7) emergencies System is unusable (severity=0) errors Error conditions (severity=3) informational Informational messages (severity=6) notifications Normal but significant conditions (severity=5) warnings Warning conditions (severity=4) <cr>
R1(config)#service sequence-numbers
R1(config)#logging source-interface gigabitEthernet 0/1
R1(config)#ip sla 101 R1(config-ip-sla)#icmp-echo 192.168.1.1 source-interface g0/0 ! source-interface is optional
R1#show ip sla configuration IP SLAs Infrastructure Engine-III Entry number: 101 Owner: Tag: Operation timeout (milliseconds): 5000 Type of operation to perform: icmp-echo Target address/Source interface: 192.168.1.1/GigabitEthernet0/0 Type Of Service parameter: 0x0 Request size (ARR data portion): 28 Data pattern: 0xABCDABCD Verify data: No Vrf Name: Schedule: Operation frequency (seconds): 10 (not considered if randomly scheduled) Next Scheduled Start Time: Start Time already passed Group Scheduled : FALSE Randomly Scheduled : FALSE Life (seconds): Forever Entry Ageout (seconds): never Recurring (Starting Everyday): FALSE Status of entry (SNMP RowStatus): Active Threshold (milliseconds): 5000 Distribution Statistics: Number of statistic hours kept: 2 Number of statistic distribution buckets kept: 1 Statistic distribution interval (milliseconds): 20 Enhanced History: History Statistics: Number of history Lives kept: 0 Number of history Buckets kept: 15 History Filter Type: None
R1#show ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 101 Latest RTT: 1 milliseconds Latest operation start time: 18:47:15 UTC Mon Jun 1 2020 Latest operation return code: OK Number of successes: 7 Number of failures: 0 Operation time to live: Forever
R1#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] R1#copy run start Destination filename [startup-config]? Building configuration... [OK] R1#write memory Building configuration... [OK] R1#wr Building configuration... [OK]
R1#copy start R1#copy startup-config tftp Address or name of remote host []? 192.168.1.205 Destination filename [r1-confg]? .!! 5372 bytes copied in 4.060 secs (1323 bytes/sec)
R1#copy tftp running-config Address or name of remote host []? 192.168.1.205 Source filename []? r1-confg Destination filename [running-config]? Accessing tftp://192.168.1.205/r1-confg... Loading r1-confg from 192.168.1.205 (via GigabitEthernet0/0): ! [OK - 5372 bytes] 000041: *Jun 2 12:51:08.227: %SYS-5-CONFIG_I: Configured from tftp://192.168.1.205/r1-confg by console
R1(config)#boot system tftp image.bin 192.168.1.205
R1(config)#boot network tftp r1-confg 192.168.1.205
R1(config)#no cdp run R1(config)#do show cdp neighbors % CDP is not enabled R1(config)#cdp run
R1(config)#lldp run R1(config)#no lldp run R1(config)#do show lldp neighbors % LLDP is not enabled
R1#show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone, D - Remote, C - CVTA, M - Two-port Mac Relay Device ID Local Intrfce Holdtme Capability Platform Port ID homeswitch.ciscoworldtour.com Gig 0/0 126 R S I WS-C3750X Gig 2/0/7 Total cdp entries displayed : 1
R1#show lldp neighbors Capability codes: (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other Device ID Local Intf Hold-time Capability Port ID homeswitch.ciscoworlGi0/0 120 B,R Gi2/0/7 Total entries displayed: 1
R1(config)#do show cdp Global CDP information: Sending CDP packets every 60 seconds Sending a holdtime value of 180 seconds Sending CDPv2 advertisements is enabled
R1(config)#cdp timer 30 R1(config)#do show cdp Global CDP information: Sending CDP packets every 30 seconds
R1(config)#cdp holdtime 90 R1(config)#do show cdp Global CDP information: Sending a holdtime value of 90 seconds
R1#show cdp neighbors detail ------------------------- Device ID: homeswitch.ciscoworldtour.com Entry address(es): Platform: cisco WS-C3750X-48P, Capabilities: Router Switch IGMP Interface: GigabitEthernet0/0, Port ID (outgoing port): GigabitEthernet2/0/7 Holdtime : 136 sec Version : Cisco IOS Software, C3750E Software (C3750E-UNIVERSALK9-M), Version 15.2(4)E8, RELEASE SOFTWARE (fc3) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2019 by Cisco Systems, Inc. Compiled Fri 15-Mar-19 09:00 by prod_rel_team advertisement version: 2 VTP Management Domain: '' Native VLAN: 1 Duplex: full Total cdp entries displayed : 1
homeswitch#show cdp neighbors detail ------------------------- Device ID: R1 Entry address(es): IP address: 192.168.1.64 Platform: Cisco CISCO1921/K9, Capabilities: Router Source-Route-Bridge Switch Interface: GigabitEthernet2/0/7, Port ID (outgoing port): GigabitEthernet0/0 Holdtime : 64 sec Version : Cisco IOS Software, C1900 Software (C1900-UNIVERSALK9-M), Version 15.5(3)M2, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2016 by Cisco Systems, Inc. Compiled Sun 07-Feb-16 02:36 by prod_rel_team advertisement version: 2 Duplex: full Management address(es): IP address: 192.168.1.64 Total cdp entries displayed : 1
R1(config)#clock timezone zone 6 0 000044: *Jun 2 15:21:13.750: %SYS-6-CLOCKUPDATE: System clock has been updated from 15:21:13 UTC Tue Jun 2 2020 to 21:21:13 zone Tue Jun 2 2020, configured from console by console. R1(config)#do show clock *21:21:22.906 zone Tue Jun 2 2020
R1(config)#no clock timezone 000045: *Jun 2 15:22:45.942: %SYS-6-CLOCKUPDATE: System clock has been updated from 21:22:45 zone Tue Jun 2 2020 to 15:22:45 UTC Tue Jun 2 2020, configured from console by console. R1(config)#do show clock *15:22:49.898 UTC Tue Jun 2 2020
R1(config)#int lo ? <0-2147483647> Loopback interface number <0-2> LongReachEthernet interface number R1(config)#int lo 101 000046: *Jun 2 15:38:04.562: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback101, changed state to up R1(config-if)#do show ip int bri | i 101 Loopback101 unassigned YES unset up up
R1(config-if)#shut 000047: *Jun 2 15:39:13.074: %LINK-5-CHANGED: Interface Loopback101, changed state to administratively down 000048: *Jun 2 15:39:14.074: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback101, changed state to down R1(config-if)#do show ip int bri | i 101 Loopback101 unassigned YES unset administratively down down
R1(config-if)#ip address 172.16.24.101 255.255.255.255 R1(config-if)#no shut R1(config-if)#do show ip int brief 000049: *Jun 2 15:41:58.710: %LINK-3-UPDOWN: Interface Loopback101, changed state to up 000050: *Jun 2 15:41:59.710: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback101, changed state to up R1(config-if)#do show ip int brief | i 101 Loopback101 172.16.24.101 YES manual up up
R1#copy tftp flash Address or name of remote host []? 192.168.1.205 Source filename []? c1900-universalk9-mz.SPA.154-3.M4.bin Destination filename [c1900-universalk9-mz.SPA.154-3.M4.bin]? Accessing tftp://192.168.1.205/c1900-universalk9-mz.SPA.154-3.M4.bin... Loading c1900-universalk9-mz.SPA.154-3.M4.bin from 192.168.1.205 (via GigabitEthernet0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 75638940 bytes] 75638940 bytes copied in 120.840 secs (625943 bytes/sec)
R1#verify /md5 flash:c1900-universalk9-mz.SPA.154-3.M4.bin d2cc02075ab46c7344f01c8ace42feb5 ...........................A lot of dots ........... .....MD5 of usbflash0:c1900-universalk9-mz.SPA.154-3.M4.bin Done! Verified (usbflash0:c1900-universalk9-mz.SPA.154-3.M4.bin) = d2cc02075ab46c7344f01c8ace42feb5
R1#verify /md5 flash:c1900-universalk9-mz.SPA.154-3.M4.bin d2cc02075ab46c7344f01c8ace42feb ...........................A lot of dots ........... .....MD5 of usbflash0:c1900-universalk9-mz.SPA.154-3.M4.bin Done! %Error verifying usbflash0:c1900-universalk9-mz.SPA.154-3.M4.bin Computed signature = d2cc02075ab46c7344f01c8ace42feb5 Submitted signature = d2cc02075ab46c7344f01c8ace42feb
R1#show version | i regist Configuration register is 0x2102
R1#copy ftp flash Address or name of remote host [192.168.1.205]? Source filename [c1900-universalk9-mz.SPA.154-3.M4.bin]? Destination filename [c1900-universalk9-mz.SPA.154-3.M4.bin]? Accessing ftp://192.168.1.205/c1900-universalk9-mz.SPA.154-3.M4.bin... Loading c1900-universalk9-mz.SPA.154-3.M4.bin !!!!!!!!!!!!! A lot of exclamation points !!!! [OK - 75638940/4096 bytes] 75638940 bytes copied in 95.408 secs (792795 bytes/sec)
R1(config)#boot system usbflash0 c1900-universalk9-mz.SPA.154-3.M4.bin R1(config)#do show run | i boot boot-start-marker boot system usbflash0 c1900-universalk9-mz.SPA.154-3.M4.bin boot-end-marker license boot suite FoundationSuiteK9 R1(config)#end R1#wr Building configuration... 000054: *Jun 2 18:14:01.361: %SYS-5-CONFIG_I: Configured from console by console[OK] R1#reload Proceed with reload? [confirm] 000055: *Jun 2 18:14:42.013: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command. R1#show version Cisco IOS Software, C1900 Software (C1900-UNIVERSALK9-M), Version 15.4(3)M4, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2015 by Cisco Systems, Inc. Compiled Sun 27-Sep-15 05:31 by prod_rel_team ROM: System Bootstrap, Version 15.0(1r)M9, RELEASE SOFTWARE (fc1) R1 uptime is 2 minutes System returned to ROM by reload at 18:14:40 UTC Tue Jun 2 2020 System image file is "usbflash0:c1900-universalk9-mz.SPA.154-3.M4.bin"
monitor session 1 source interface gigabitEthernet 2/0/17 homeswitch(config)#$sion 1 destination interface gigabitEthernet 2/0/4
homeswitch#show monitor session 1 Session 1 --------- Type : Local Session Source Ports : Both : Gi2/0/17 Destination Ports : Gi2/0/4 Encapsulation : Native Ingress : Disabled