.


:




:

































 

 

 

 


4.2.1 Ip access-group

. , 2- : in ( ) out ( ). , .

:

ip access - group _/_

 

:

Router(config-if)# ip access group 10 in Router(config - if)#

 

10: , in.

 

 

4.2.2 Bandwidth

. .

:

b andwidth __

 

:

Router(config)#interface serial 2/0 Router(config-if)#bandwidth 560 Router(config-if)#

serial 2/0 560 kbits.

 


4.2.3 Clock rate

, , 3- . DCE (). CISCO DTE, , DCE. ( ).

:

clock rate _

 

:

Router(config)#interface serial 2/0 Router(config-if)#clock rate 56000 Router (config - if)#

 

serial 2/0 56000 bits per second.

 

 

4.2.4 Ip address

ip- . ip- .

:

ip address A.B.C.D a.b.c.d,

A.B.C.D a.b.c.d ip- .

 

:

Switch(config)#interface vlan 1 Switch(config-if)#ip address 172.16.10.5 255.255.0.0 Switch(config-if)#

 

Switch#show ip interface vlan 1

 

vlan 1 ip- 172.16.10.5 255.255.0.0.

 

4.2.5 No

- .

:

no ___

 

:

Switch(config-if)# no shutdown %LINK-5-CHANGED: Interface Vlan1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up Switch(config - if)#

 

shutdown, . no shutdown .


4.3.1 Configure terminal

, IOS, configure. :

;

;

.

.

, . .

 

:

Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#

 

, .

 

 

4.3.2 Copy

. , . .

:

copy running - config startup - config

copy startup - config running - config

 

 


:

Switch#copy running-config startup-config Building configuration... [OK] Switch#

 

.

 

 

4.3.3 Show

Show (. - ) , . . .

, . .

 

4.3.3.1 running-config Show

.

 

:

Switch#show running-config ! version 12.1 ! hostname Switch

 

.

 

4.3.3.2 startup-config Show

.


:

Switch#show startup-config Using 1540 bytes ! version 12.1 !

 

, , .

 

:

Switch #show startup-config startup-config is not present Switch #

 

, - .

 

4.3.3.3 ip route Show

.

 

:

Router#show ip route Codes: C - connected, S - static, I - IGRP, 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 0.0.0.0 to network 0.0.0.0 C 192.168.1.0/24 is directly connected, FastEthernet0/0 C 192.168.2.0/24 is directly connected, Serial2/0 S 192.168.3.0/24 is directly connected, Serial2/0 S 192.168.4.0/24 is directly connected, Serial2/0 S 192.168.5.0/24 is directly connected, Serial2/0 S* 0.0.0.0/0 is directly connected, Serial2/0 Router #

 

.

4.3.3.4 ip protocols Show

, .

 

:

Router#show ip protocols Routing Protocol is "rip" Sending updates every 30 seconds, next due in 18 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Default version control: send version 1, receive any version Interface Send Recv Triggered RIP Key-chain FastEthernet0/0 1 2 1 Serial2/0 1 2 1 Automatic network summarization is in effect Maximum path: 4 Routing for Networks: 192.168.1.0 192.168.2.0 Passive Interface(s): Routing Information Sources: Gateway Distance Last Update 192.168.2.2 120 Distance: (default is 120) Router#

 

.

 

 

4.3.4 Ping

. - .

:

ping A. B. C. D


:

Router#ping 77.134.25.133 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 77.134.25.133, timeout is 2 seconds: ..!!! Success rate is 60 percent (3/5)

 

ICMP-, , , .


4.4.1 Enable

, .

 

:

Router>enable Router#

 

. disable exit.

, show .

 




<== | ==>
| 1. Cisco Packet Tracer 4.0.
:


: 2018-10-15; !; : 211 |


:

:

, ,
==> ...

1716 - | 1706 -


© 2015-2024 lektsii.org - -

: 0.018 .