Перейти к содержанию

Рекомендуемые сообщения

Опубликовано

Вот. немного нарыл.

В этих модемах вход осуществляется через телнет или SSH и через него всё управляется. Типа

 

[9:42 alex@darkstar /home/alex]% telnet 192.168.0.1

Trying 192.168.0.1...

Connected to 192.168.0.1.

Escape character is '^]'.

 

 

User Access Verification

 

Password:

RELAX_ROUTER>en

Password:

RELAX_ROUTER#conf t

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

RELAX_ROUTER(config)#

 

Что бы узнать. на что способна Cisco на своём интерфейсе необходимо набрать int ?

 

 

Хотя я сам мало что понял, но может быть пригодится.

 

Вот ещё:

 

На примере неактивного интерфейса Serial0/0 изменяем MTU с 1500 на 1400 и заливаем конфиг во флеш-ром маршрутизатора:

 

PHP код:

[9:59 alex@darkstar /home/alex]% telnet 192.168.0.1

Trying 192.168.0.1...

Connected to 192.168.0.1.

Escape character is '^]'.

 

 

User Access Verification

 

Password:

RELAX_ROUTER>en

Password:

RELAX_ROUTER#conf t

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

RELAX_ROUTER(config)#int Serial0/0

RELAX_ROUTER(config-if)#mtu 1400

RELAX_ROUTER(config-if)#exit

RELAX_ROUTER(config)#exit

RELAX_ROUTER#wr

Building configuration...

[OK]

RELAX_ROUTER#copy running-config startup-config

Destination filename [startup-config]?

Building configuration...

[OK]

RELAX_ROUTER#

Далее смотрим, что у нас получилось. MTU 1400

 

PHP код:

RELAX_ROUTER#sh int Serial0/0

Serial0/0 is administratively down, line protocol is down

Hardware is PowerQUICC Serial

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

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

Encapsulation HDLC, loopback not set

Keepalive set (10 sec)

Last input never, output never, output hang never

Last clearing of "show interface" counters never

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

Queueing strategy: Class-based queueing

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

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

Reserved Conversations 0/0 (allocated/max allocated)

Available Bandwidth 0 kilobits/sec

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

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

0 packets input, 0 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

0 packets output, 0 bytes, 0 underruns

0 output errors, 0 collisions, 0 interface resets

0 output buffer failures, 0 output buffers swapped out

0 carrier transitions

DCD=down DSR=down DTR=down RTS=down CTS=down

 

 

Тоже не понял, но может пригодится.

  • Ответов 62
  • Создана
  • Последний ответ

Топ авторов темы

  • vit9696

    24

  • Omnividente

    14

  • оlег

    13

  • Bl@ckMC

    5

Топ авторов темы

Изображения в теме

Пожалуйста, войдите, чтобы комментировать

Вы сможете оставить комментарий после входа в



Войти
×
×
  • Создать...