Вы находитесь на странице: 1из 4

Rights clause at FAR sec. 52.

227-19 and subparagraph


(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

cisco Systems, Inc.


170 West Tasman Drive
San Jose, California 95134-1706

Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.1(4)M5,


RELEASE SOFTWARE (fc2)Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 04:52 by pt_team
Image text-base: 0x2100F918, data-base: 0x24729040

This product contains cryptographic features and is subject to United


States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to


export@cisco.com.

Cisco CISCO2911/K9 (revision 1.0) with 491520K/32768K bytes of memory.


Processor board ID FTX152400KS
3 Gigabit Ethernet interfaces
2 Low-speed serial(sync/async) network interface(s)
DRAM configuration is 64 bits wide with parity disabled.
255K bytes of non-volatile configuration memory.
249856K bytes of ATA System CompactFlash 0 (Read/Write)

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: n

Press RETURN to get started!

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host
Router(config)#hostname R2
R2(config)#int se0/0/0
R2(config-if)#ip add 12.12.12.12 255.255.255.252
Bad mask /30 for address 12.12.12.12
R2(config-if)#ip add 12.12.12.2 255.255.255.252
R2(config-if)#no shut

R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
des
% Incomplete command.
R2(config-if)#des
R2(config-if)#description
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed
R2(config-if)#des
R2(config-if)#description koneksi to r1
R2(config-if)#do ping 12.12.12.1

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 12.12.12.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/12 ms

R2(config-if)#exit
R2(config)#int gi0/0
R2(config-if)#ip add 192.168.20.1 255.255.255.252
R2(config-if)#no shut

R2(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state


to up

R2(config-if)#des
R2(config-if)#description koneksi r2 to lan
R2(config-if)#do ping 192.168.20.1

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 192.168.20.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/2/4 ms

R2(config-if)#do sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 192.168.20.1 YES manual up up
GigabitEthernet0/1 unassigned YES unset administratively down down
GigabitEthernet0/2 unassigned YES unset administratively down down
Serial0/0/0 12.12.12.2 YES manual up up
Serial0/0/1 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
R2(config-if)#exit
R2(config)#int lo1

R2(config-if)#
%LINK-5-CHANGED: Interface Loopback1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up

R2(config-if)#ip add 2.2.2.2 255.255.255.0


R2(config-if)#do sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 192.168.20.1 YES manual up up
GigabitEthernet0/1 unassigned YES unset administratively down down
GigabitEthernet0/2 unassigned YES unset administratively down down
Serial0/0/0 12.12.12.2 YES manual up up
Serial0/0/1 unassigned YES unset administratively down down
Loopback1 2.2.2.2 YES manual up up
Vlan1 unassigned YES unset administratively down down
R2(config-if)#do wr
Building configuration...
[OK]
R2(config-if)#exit
R2(config)#router os
R2(config)#router ospf 10
R2(config-router)#net 192.168.10.0 0.0.0.0.255 area 0
^
% Invalid input detected at '^' marker.

R2(config-router)#net 192.168.10.0 0.0.0.255 area 0


R2(config-router)#no net 192.168.10.0 0.0.0.255 area 0
R2(config-router)#net 192.168.20.0 0.0.0.255 area 0
R2(config-router)#net 12.12.12.0 0.0.0.3 area 0
R2(config-router)#
00:22:55: %OSPF-5-ADJCHG: Process 10, Nbr 1.1.1.1 on Serial0/0/0 from LOADING to
FULL, Loading Done

R2(config-router)#net 2.2.2.2 0.0.0.255 area 0


R2(config-router)#exit
R2(config)#do sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets


O 1.1.1.1/32 [110/65] via 12.12.12.1, 00:01:02, Serial0/0/0
2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 2.2.2.0/24 is directly connected, Loopback1
L 2.2.2.2/32 is directly connected, Loopback1
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/30 is directly connected, Serial0/0/0
L 12.12.12.2/32 is directly connected, Serial0/0/0
O 192.168.10.0/24 [110/65] via 12.12.12.1, 00:01:02, Serial0/0/0
192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.20.0/30 is directly connected, GigabitEthernet0/0
L 192.168.20.1/32 is directly connected, GigabitEthernet0/0

R2(config)#exit
R2#
%SYS-5-CONFIG_I: Configured from console by console

R2#sh ip protocols

Routing Protocol is "ospf 10"


Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 2.2.2.2
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
192.168.20.0 0.0.0.255 area 0
12.12.12.0 0.0.0.3 area 0
2.2.2.0 0.0.0.255 area 0
Routing Information Sources:
Gateway Distance Last Update
1.1.1.1 110 00:01:36
2.2.2.2 110 00:00:47
Distance: (default is 110)

R2#sh ip ospf neig


R2#sh ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface


1.1.1.1 0 FULL/ - 00:00:34 12.12.12.1 Serial0/0/0
R2#
R2#sh ip ospf data
R2#sh ip ospf database
OSPF Router with ID (2.2.2.2) (Process ID 10)

Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count


1.1.1.1 1.1.1.1 156 0x80000004 0x004192 4
2.2.2.2 2.2.2.2 107 0x80000004 0x009f24 4
R2#
R2#

Вам также может понравиться