最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

路由器R1配置操作

IT圈 admin 25浏览 0评论

2024年4月24日发(作者:匡振)

Connected to Dynamips VM "R1" (ID 0, type c3600) - Console port

% Please answer 'yes' or 'no'.

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

% Please answer 'yes' or 'no'.

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

Press RETURN to get started!

00:00:03: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

00:00:03: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up

00:00:03: %LINK-3-UPDOWN: Interface Serial1/1, changed state to up

00:00:03: %LINK-3-UPDOWN: Interface Serial1/2, changed state to up

00:00:03: %LINK-3-UPDOWN: Interface Serial1/3, changed state to up

00:00:04: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state

to up

00:00:04: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

00:00:04: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up

00:00:04: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/2, changed state to up

00:00:04: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/3, changed state to up

00:00:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to

down

00:00:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/2, changed state to

down

00:00:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/3, changed state to

down

00:11:32: %SYS-5-RESTART: System restarted --

Cisco Internetwork Operating System Software

IOS (tm) 3600 Software (C3620-I-M), Version 12.2(37), RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Thu 15-Jun-06 19:17 by pwade

00:11:32: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing a cold start

00:11:33: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively

down

00:11:33: %LINK-5-CHANGED: Interface Serial1/0, changed state to administratively down

00:11:33: %LINK-5-CHANGED: Interface Serial1/1, changed state to administratively down

00:11:33: %LINK-5-CHANGED: Interface Serial1/2, changed state to administratively down

00:11:33: %LINK-5-CHANGED: Interface Serial1/3, changed state to administratively down

00:11:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state

to down

00:11:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to

down

Router>enable

Router#?

Exec commands:

access-enable Create a temporary Access-List entry

access-profile Apply user-profile to interface

access-template Create a temporary Access-List entry

archive manage archive files

bfe For manual emergency modes setting

cd Change current directory

clear Reset functions

clock Manage the system clock

configure Enter configuration mode

connect Open a terminal connection

copy Copy from one file to another

debug Debugging functions (see also 'undebug')

delete Delete a file

dir List files on a filesystem

disable Turn off privileged commands

disconnect Disconnect an existing network connection

enable Turn on privileged commands

erase Erase a filesystem

exit Exit from the EXEC

help Description of the interactive help system

isdn Run an ISDN EXEC command on a BRI interface

Router#configure

Configuring from terminal, memory, or network [terminal]? terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#hostname R1

R1(config)#interface serial 1/1

R1(config-if)#ip address 192.168.1.1 255.255.255.0

R1(config-if)#encapsulation ppp

R1(config-if)#no shutdown

R1(config-if)#

00:19:38: %LINK-3-UPDOWN: Interface Serial1/1, changed state to up

00:23:17: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up

R1 con0 is now available

Press RETURN to get started.

00:29:36: %SYS-5-CONFIG_I: Configured from console by console

R1>enable

R1#ping 192.168.1.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 24/34/44 ms

R1#ping 192.168.2.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:

.....

Success rate is 0 percent (0/5)

R1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R1(config)#ip route 192.168.2.0 255.255.255.0 192.168.1.2

R1(config)#show interface s1/1

^

% Invalid input detected at '^' marker.

R1(config)#show interface serial 1/1

^

% Invalid input detected at '^' marker.

R1(config)#end

R1#sho

00:51:26: %SYS-5-CONFIG_I: Configured from console by consolew interface serial 1/1

Serial1/1 is up, line protocol is up

Hardware is M4T

Internet address is 192.168.1.1/24

MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,

reliability 255/255, txload 1/255, rxload 1/255

Encapsulation PPP, crc 16, loopback not set

Keepalive set (10 sec)

Restart-Delay is 0 secs

LCP Open

Open: IPCP, CDPCP

Last input 00:00:21, output 00:00:05, output hang never

Last clearing of "show interface" counters 00:32:22

Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

Queueing strategy: weighted fair

Output queue: 0/1000/64/0 (size/max total/threshold/drops)

Conversations 0/1/256 (active/max active/max total)

Reserved Conversations 0/0 (allocated/max allocated)

Available Bandwidth 1158 kilobits/sec

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

391 packets input, 16209 bytes, 0 no buffer

Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort

--More--

2024年4月24日发(作者:匡振)

Connected to Dynamips VM "R1" (ID 0, type c3600) - Console port

% Please answer 'yes' or 'no'.

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

% Please answer 'yes' or 'no'.

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

Press RETURN to get started!

00:00:03: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

00:00:03: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up

00:00:03: %LINK-3-UPDOWN: Interface Serial1/1, changed state to up

00:00:03: %LINK-3-UPDOWN: Interface Serial1/2, changed state to up

00:00:03: %LINK-3-UPDOWN: Interface Serial1/3, changed state to up

00:00:04: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state

to up

00:00:04: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

00:00:04: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up

00:00:04: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/2, changed state to up

00:00:04: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/3, changed state to up

00:00:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to

down

00:00:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/2, changed state to

down

00:00:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/3, changed state to

down

00:11:32: %SYS-5-RESTART: System restarted --

Cisco Internetwork Operating System Software

IOS (tm) 3600 Software (C3620-I-M), Version 12.2(37), RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2006 by cisco Systems, Inc.

Compiled Thu 15-Jun-06 19:17 by pwade

00:11:32: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing a cold start

00:11:33: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively

down

00:11:33: %LINK-5-CHANGED: Interface Serial1/0, changed state to administratively down

00:11:33: %LINK-5-CHANGED: Interface Serial1/1, changed state to administratively down

00:11:33: %LINK-5-CHANGED: Interface Serial1/2, changed state to administratively down

00:11:33: %LINK-5-CHANGED: Interface Serial1/3, changed state to administratively down

00:11:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state

to down

00:11:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to

down

Router>enable

Router#?

Exec commands:

access-enable Create a temporary Access-List entry

access-profile Apply user-profile to interface

access-template Create a temporary Access-List entry

archive manage archive files

bfe For manual emergency modes setting

cd Change current directory

clear Reset functions

clock Manage the system clock

configure Enter configuration mode

connect Open a terminal connection

copy Copy from one file to another

debug Debugging functions (see also 'undebug')

delete Delete a file

dir List files on a filesystem

disable Turn off privileged commands

disconnect Disconnect an existing network connection

enable Turn on privileged commands

erase Erase a filesystem

exit Exit from the EXEC

help Description of the interactive help system

isdn Run an ISDN EXEC command on a BRI interface

Router#configure

Configuring from terminal, memory, or network [terminal]? terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#hostname R1

R1(config)#interface serial 1/1

R1(config-if)#ip address 192.168.1.1 255.255.255.0

R1(config-if)#encapsulation ppp

R1(config-if)#no shutdown

R1(config-if)#

00:19:38: %LINK-3-UPDOWN: Interface Serial1/1, changed state to up

00:23:17: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up

R1 con0 is now available

Press RETURN to get started.

00:29:36: %SYS-5-CONFIG_I: Configured from console by console

R1>enable

R1#ping 192.168.1.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 24/34/44 ms

R1#ping 192.168.2.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:

.....

Success rate is 0 percent (0/5)

R1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R1(config)#ip route 192.168.2.0 255.255.255.0 192.168.1.2

R1(config)#show interface s1/1

^

% Invalid input detected at '^' marker.

R1(config)#show interface serial 1/1

^

% Invalid input detected at '^' marker.

R1(config)#end

R1#sho

00:51:26: %SYS-5-CONFIG_I: Configured from console by consolew interface serial 1/1

Serial1/1 is up, line protocol is up

Hardware is M4T

Internet address is 192.168.1.1/24

MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,

reliability 255/255, txload 1/255, rxload 1/255

Encapsulation PPP, crc 16, loopback not set

Keepalive set (10 sec)

Restart-Delay is 0 secs

LCP Open

Open: IPCP, CDPCP

Last input 00:00:21, output 00:00:05, output hang never

Last clearing of "show interface" counters 00:32:22

Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

Queueing strategy: weighted fair

Output queue: 0/1000/64/0 (size/max total/threshold/drops)

Conversations 0/1/256 (active/max active/max total)

Reserved Conversations 0/0 (allocated/max allocated)

Available Bandwidth 1158 kilobits/sec

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

391 packets input, 16209 bytes, 0 no buffer

Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort

--More--

发布评论

评论列表 (0)

  1. 暂无评论