Форум программистов, компьютерный форум, киберфорум
Cisco
Войти
Регистрация
Восстановить пароль
Карта форума Темы раздела Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.89/18: Рейтинг темы: голосов - 18, средняя оценка - 4.89
40 / 31 / 11
Регистрация: 25.07.2014
Сообщений: 744
1

При настройке ssh на 2950 получаю маркер ошибки

23.04.2022, 18:43. Показов 3276. Ответов 18

Author24 — интернет-сервис помощи студентам
Доброго времени суток форумчане!
Пытаюсь настроить ssh на 2950 но получаю маркер ошибки
Код
RT-2(config)#crypto key generate rsa
              ^
% Invalid input detected at '^' marker.
настраиваю так
Код
RT-2(config)# crypto key generate rsa
RT-2(config)# line vty 0 15
RT-2(config)# transport preferred none
RT-2(config)# transport input ssh
RT-2(config)#transport output ssh
вот сам конфиг
Кликните здесь для просмотра всего текста
Код
RT-2#show run
Building configuration...

Current configuration : 4518 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname RT-2
!
enable password 7 14141B180F0B
!
ip subnet-zero
no ip domain-lookup
ip domain-name RT-2
!

shutdown vlan 10

!
spanning-tree extend system-id
!
!
interface FastEthernet0/1
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/2
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/3
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/4
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/5
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/6
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/7
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/8
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/9
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/10
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/11
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/12
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/13
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/14
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/15
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/16
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/17
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/18
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/19
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/20
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/21
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/22
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/23
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface FastEthernet0/24
 description not_used
 switchport access vlan 10
 switchport mode access
 switchport nonegotiate
 no ip address
 shutdown
 no cdp enable
!
interface Vlan1
 ip address 192.168.0.11 255.255.255.0
 no ip route-cache
 shutdown
!
ip default-gateway 192.168.0.1
no ip http server
!
no cdp run
!
line con 0
line vty 0 4
 password 7 13061E010803
 login
line vty 5 15
 password 7 13061E010803
 login
!
end

Подскажите пожалуйста, что не так .

Добавлено через 25 минут
Конфиг подправил
Кликните здесь для просмотра всего текста
Код
RT-2#show ru
Building configuration...

Current configuration : 3606 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname RT-2
!
enable password 7 14141B180F0B
!
ip subnet-zero
no ip domain-lookup
ip domain-name RT-2
!

shutdown vlan 10

!
spanning-tree extend system-id
!
!
interface FastEthernet0/1
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/2
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/3
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/4
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/5
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/6
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/7
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/8
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/9
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/10
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/11
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/12
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/13
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/14
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/15
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/16
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/17
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/18
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/19
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/20
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/21
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/22
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/23
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface FastEthernet0/24
 switchport mode access
 no ip address
 shutdown
 speed 100
 no cdp enable
 spanning-tree portfast
!
interface Vlan1
 ip address 192.168.0.11 255.255.255.0
 no ip route-cache
 shutdown
!
ip default-gateway 192.168.0.1
no ip http server
!
no cdp run
!
line con 0
line vty 0 4
 password 7 13061E010803
 login
line vty 5 15
 password 7 13061E010803
 login
!
end

Результата не дало.
0
Programming
Эксперт
94731 / 64177 / 26122
Регистрация: 12.04.2006
Сообщений: 116,782
23.04.2022, 18:43
Ответы с готовыми решениями:

Ошибки при настройке nhibernate
Вот такой код using System; using System.Collections.Generic; using System.Linq; using...

Ошибки при настройке VPN сервера
Добрый день. Настраиваю свой первый VPN сервер. Пересмотрел несколько видео (например,...

Ошибки при настройке ком-порта
Здравствуйте! Я пишу программу для ком-порта. Пытаюсь заполнить структуры DCB. Четность, количество...

Ошибки 623 и 624 при настройке сетевых подключений
вопрос к Гуру компов: подскожите что значит ошибка 623 и 624 при настройке сетевых подключений....

Номер ошибки 2950
Есть форма на ней поля со списком, выбираем поля со списком месяц и год, Должна открыться форма по...

18
Модератор
Эксперт по компьютерным сетям
11427 / 6996 / 1903
Регистрация: 25.12.2012
Сообщений: 29,398
24.04.2022, 09:41 2
Так у вас пару ключей получилось сгенерить?
0
40 / 31 / 11
Регистрация: 25.07.2014
Сообщений: 744
24.04.2022, 18:26  [ТС] 3
Цитата Сообщение от insect_87 Посмотреть сообщение
Так у вас пару ключей получилось сгенерить?
Нет получаю ошибку
Код
RT-2(config)#crypto key generate rsa
              ^
% Invalid input detected at '^' marker.
либо так
Код
RT-2(config)#crypto key generate rsa modulus 1024
              ^
% Invalid input detected at '^' marker.
Может сама система не поддерживает
Кликните здесь для просмотра всего текста
Код
RT-2#sh version
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(9)EA1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Wed 24-Apr-02 06:57 by antonino
Image text-base: 0x80010000, data-base: 0x804E8000

ROM: Bootstrap program is CALHOUN boot loader

RT-2 uptime is 16 minutes
System returned to ROM by power-on
System image file is "flash:c2950-i6q4l2-mz.121-9.EA1.bin"

cisco WS-C2950-24 (RC32300) processor (revision E0) with 20815K bytes of memory.
Processor board ID FOC0625W1Y3
Last reset from system-reset
Running Standard Image
24 FastEthernet/IEEE 802.3 interface(s)

32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:0A:41:1F:16:40
Motherboard assembly number: 73-5781-10
Power supply part number: 34-0965-01
Motherboard serial number: FOC06250FHY
Power supply serial number: DAB06244UET
Model revision number: E0
Motherboard revision number: B0
Model number: WS-C2950-24
System serial number: FOC0625W1Y3
Configuration register is 0xF


Добавлено через 17 минут
Вот все мои действия после сброса в дефолт
Кликните здесь для просмотра всего текста
Код
Switch(config)# enable password cisco

Switch(config)# line vty 0 15
Switch(config-line)#password cisco
Switch(config-line)# login
Switch(config)# exit

Switch(config)# service password-encryption


Switch(config)# hostname RT-2


RT-2(config)# interface vlan 1
RT-2(config-if)# ip address 192.168.0.11 255.255.255.0
RT-2(config-if)# exit


RT-2(config)# no ip domain-lookup

RT-2(config)# ip domain-name RT-2

RT-2(config)# interface range Fa0/1 - 24
  switchport mode trunk
  switchport nonegotiate 
  speed 100
  load-interval 60
  spanning-tree portfast trunk


RT-2(config)# no ip http server

RT-2(config)# ip default-gateway 192.168.0.1

RT-2# wri

----------------ssh----------------
RT-2(config)# aaa new-model
RT-2(config)# access-list 23 permit 192.168.0.0 0.0.0.255
RT-2(config)# crypto key generate rsa modulus 1024
RT-2(config)# ip ssh version 2
RT-2(config)# username root secret cisco
RT-2(config)# line vty 0 4
RT-2(config-line)# login local
RT-2(config-line)# transport input ssh
RT-2(config-line)# logging synchronous
RT-2(config-line)# privilege level 15
RT-2(config-line)# exit
RT-2(config)# exit
RT-2# wri

Сейчас застопорился на ssh
0
Модератор
Эксперт по компьютерным сетям
11427 / 6996 / 1903
Регистрация: 25.12.2012
Сообщений: 29,398
24.04.2022, 19:18 4
Код
sh ver
0
40 / 31 / 11
Регистрация: 25.07.2014
Сообщений: 744
24.04.2022, 19:33  [ТС] 5
Код
RT-2#sh ver
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(9)EA1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Wed 24-Apr-02 06:57 by antonino
Image text-base: 0x80010000, data-base: 0x804E8000

ROM: Bootstrap program is CALHOUN boot loader

RT-2 uptime is 0 minutes
System returned to ROM by power-on
System image file is "flash:c2950-i6q4l2-mz.121-9.EA1.bin"

cisco WS-C2950-24 (RC32300) processor (revision E0) with 20815K bytes of memory.
Processor board ID FOC0625W1Y3
Last reset from system-reset
Running Standard Image
24 FastEthernet/IEEE 802.3 interface(s)

32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:0A:41:1F:16:40
Motherboard assembly number: 73-5781-10
Power supply part number: 34-0965-01
Motherboard serial number: FOC06250FHY
Power supply serial number: DAB06244UET
Model revision number: E0
Motherboard revision number: B0
Model number: WS-C2950-24
System serial number: FOC0625W1Y3
Configuration register is 0xF
0
Модератор
Эксперт по компьютерным сетям
11427 / 6996 / 1903
Регистрация: 25.12.2012
Сообщений: 29,398
24.04.2022, 19:49 6
Может 2950 вообще не поддерживают ssh/шифрование
show ssh команды нет?
0
40 / 31 / 11
Регистрация: 25.07.2014
Сообщений: 744
24.04.2022, 19:55  [ТС] 7
Код
RT-2#show ssh
           ^
% Invalid input detected at '^' marker.
Может есть возможность обновить ос
0
Модератор
Эксперт по компьютерным сетям
11427 / 6996 / 1903
Регистрация: 25.12.2012
Сообщений: 29,398
24.04.2022, 20:16 8
Тогда не знаю, у меня из самых младших только 2960 были
0
40 / 31 / 11
Регистрация: 25.07.2014
Сообщений: 744
25.04.2022, 06:58  [ТС] 9
Цитата Сообщение от insect_87 Посмотреть сообщение
Может 2950 вообще не поддерживают ssh/шифрование
Вроде как у него нет
System image file is "flash:c2950-i6q4l2-mz.121-9.EA1.bin"
Информацию взял тут https://learningnetwork.cisco.com/s/question/0D53i00000KstiNCAR/cisco-2950-switch-ssh
Вот этот пост
To be able to configure ssh on 2950 switch, you should have the Enhanced Software Image" on your device. Please check out this link:


http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2950/software/release/12-1_14_az/release/notes/OL480501.html#wp34681
но ссылка не работает, может вы сталкивались с установкой расширенного образа системы
0
Модератор
Эксперт по компьютерным сетям
11427 / 6996 / 1903
Регистрация: 25.12.2012
Сообщений: 29,398
25.04.2022, 08:04 10
нет
0
40 / 31 / 11
Регистрация: 25.07.2014
Сообщений: 744
25.04.2022, 17:22  [ТС] 11
Попробовал прошить, вроде все в порядке ssh поднялся
Код
RT-2#sh conf
Using 1491 out of 32768 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname RT-2
!
aaa new-model
enable password 7 070C285F4D06
!
username root secret 5 $1$t6hm$hQz4hqzEay9nupvY.gBSe.
ip subnet-zero
!
no ip domain-lookup
ip domain-name RT-2
ip ssh time-out 120
ip ssh authentication-retries 3
ip ssh version 2
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface Vlan1
 ip address 192.168.0.11 255.255.255.0
 no ip route-cache
!
ip default-gateway 192.168.0.1
no ip http server
access-list 23 permit 192.168.0.0 0.0.0.255
!
line con 0
line vty 0 4
 privilege level 15
 password 7 030752180500
 logging synchronous
 transport input ssh
line vty 5 15
 password 7 030752180500
!
!
end
Добавлено через 35 минут
При подготовки второго аппарата возникла проблема, не могу вывести с shutdown
Код
RT-1(config)#interface range FastEthernet0/1 - 12
RT-1(config-if-range)#no  shutdown
не работает


Вот весь конфиг, подскажите мот что то я не так сделал
Кликните здесь для просмотра всего текста
Код
RT-1#sh conf
Using 1095 out of 32768 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname RT-1
!
enable password 7 14141B180F0B
!
username root privilege 15 password 7 045802150C2E
ip subnet-zero
!
no ip domain-lookup
ip domain-name RT-1
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 shutdown
!
interface FastEthernet0/2
 shutdown
!
interface FastEthernet0/3
 shutdown
!
interface FastEthernet0/4
 shutdown
!
interface FastEthernet0/5
 shutdown
!
interface FastEthernet0/6
 shutdown
!
interface FastEthernet0/7
 shutdown
!
interface FastEthernet0/8
 shutdown
!
interface FastEthernet0/9
 shutdown
!
interface FastEthernet0/10
 shutdown
!
interface FastEthernet0/11
 shutdown
!
interface FastEthernet0/12
 shutdown
!
interface Vlan1
 ip address 192.168.0.12 255.255.255.0
 no ip route-cache
 shutdown
!
ip default-gateway 192.168.0.1
no ip http server
!
line con 0
line vty 0 4
 password 7 121A0C041104
 login
line vty 5 15
 password 7 045802150C2E
 login
!
!
end
0
Модератор
Эксперт по компьютерным сетям
11427 / 6996 / 1903
Регистрация: 25.12.2012
Сообщений: 29,398
25.04.2022, 17:52 12
Да не, всё так.
Чудеса у вас там, перепрошейте и его
0
40 / 31 / 11
Регистрация: 25.07.2014
Сообщений: 744
25.04.2022, 18:57  [ТС] 13
так вот по сети он не определяет сетевую карту мне необходимо чтоб был доступ в сеть

Добавлено через 38 минут
подскажите пожалуйста, возможно-ли прописать доступ в сеть с отдельного интерфейса\
так не работает
Код
RT-2(config)# interface FastEthernet0/2 
no shutdown
ip address 192.168.0.13 255.255.255.0
попробовал транк прописался
Код
RT-2(config)# interface range Fa0/2
  switchport mode trunk
  switchport nonegotiate 
  speed 100
  load-interval 60
  spanning-tree portfast trunk
Кликните здесь для просмотра всего текста
Код
# sh conf
Using 1140 out of 32768 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname RT-1
!
enable password 7 13061E010803
!
ip subnet-zero
!
no ip domain-lookup
ip domain-name RT-1
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 shutdown
!
interface FastEthernet0/2
 switchport mode trunk
 switchport nonegotiate
 load-interval 60
 shutdown
 speed 100
 spanning-tree portfast trunk
!
interface FastEthernet0/3
 shutdown
!
interface FastEthernet0/4
 shutdown
!
interface FastEthernet0/5
 shutdown
!
interface FastEthernet0/6
 shutdown
!
interface FastEthernet0/7
 shutdown
!
interface FastEthernet0/8
 shutdown
!
interface FastEthernet0/9
 shutdown
!
interface FastEthernet0/10
 shutdown
!
interface FastEthernet0/11
 shutdown
!
interface FastEthernet0/12
 shutdown
!
interface Vlan1
 ip address 192.168.0.12 255.255.255.0
 no ip route-cache
!
ip default-gateway 192.168.0.1
no ip http server
!
line con 0
line vty 0 4
 password 7 01100F175804
 login
line vty 5 15
 password 7 01100F175804
 login
!
!
end

Подскажите пожалуйста, что можно сделать чтоб дивайс увидел сеть (для заливки образа по tftp)

Добавлено через 12 минут
после сброса порты так же не поднимаются
Кликните здесь для просмотра всего текста
Код
Switch#sh conf
Using 867 out of 32768 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 shutdown
!
interface FastEthernet0/2
 shutdown
!
interface FastEthernet0/3
 shutdown
!
interface FastEthernet0/4
 shutdown
!
interface FastEthernet0/5
 shutdown
!
interface FastEthernet0/6
 shutdown
!
interface FastEthernet0/7
 shutdown
!
interface FastEthernet0/8
 shutdown
!
interface FastEthernet0/9
 shutdown
!
interface FastEthernet0/10
 shutdown
!
interface FastEthernet0/11
 shutdown
!
interface FastEthernet0/12
 shutdown
!
interface Vlan1
 ip address 192.168.0.12 255.255.255.0
 no ip route-cache
 shutdown
!
ip http server
!
line con 0
line vty 5 15
!
!
end
0
Модератор
Эксперт по компьютерным сетям
11427 / 6996 / 1903
Регистрация: 25.12.2012
Сообщений: 29,398
25.04.2022, 20:23 14
Подскажите пожалуйста, что можно сделать чтоб дивайс увидел сеть (для заливки образа по tftp)
Так по tftp не получится, у вас же порты не стартуют, выключены...
0
40 / 31 / 11
Регистрация: 25.07.2014
Сообщений: 744
26.04.2022, 06:07  [ТС] 15
Цитата Сообщение от insect_87 Посмотреть сообщение
Так по tftp не получится, у вас же порты не стартуют, выключены...
да вот в этом и вся проблема, получается только программатором шить флешку.
0
Модератор
Эксперт по компьютерным сетям
11427 / 6996 / 1903
Регистрация: 25.12.2012
Сообщений: 29,398
26.04.2022, 09:46 16
https://www.cisco.com/c/en/us/... l2fs8tsbcc
по консоли, xmodem
https://noldo-walker.livejournal.com/56130.html?
0
40 / 31 / 11
Регистрация: 25.07.2014
Сообщений: 744
26.04.2022, 09:54  [ТС] 17
Отлично! Спасибо! Вечером попробую
0
40 / 31 / 11
Регистрация: 25.07.2014
Сообщений: 744
26.04.2022, 17:58  [ТС] 18
Залил прошивку, поднялся ssh. Проблема с портами осталась.
Кликните здесь для просмотра всего текста
Код
#sh ver
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version 12.1(22)EA14, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by cisco Systems, Inc.
Compiled Tue 26-Oct-10 10:35 by nburra
Image text-base: 0x80010000, data-base: 0x80680000

ROM: Bootstrap program is C2950 boot loader

RT-1 uptime is 0 minutes
System returned to ROM by power-on
System image file is "flash:/c2950-i6k2l2q4-mz.121-22.EA14.bin"


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 WS-C2950-12 (RC32300) processor (revision C0) with 19911K bytes of memory.
Processor board ID FOC0620Z2CD
Last reset from system-reset
Running Standard Image

32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:09:B7:AF:F4:00
Motherboard assembly number: 73-5782-10
Power supply part number: 34-0965-01
Motherboard serial number: FOC06200E35
Power supply serial number: PHI061606A8
Model revision number: C0
Motherboard revision number: A0
Model number: WS-C2950-12
System serial number: FOC0620Z2CD
Configuration register is 0xF


Проблема с shutdown осталась
Кликните здесь для просмотра всего текста
Код
#sh conf
Using 1273 out of 32768 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname RT-1
!
aaa new-model
enable password 7 1511021F0725
!
username root secret 5 $1$MhD8$RsHY/se7BMpqf/ZGsvtin1
ip subnet-zero
!
no ip domain-lookup
ip domain-name RT-1
ip ssh time-out 120
ip ssh authentication-retries 3
ip ssh version 2
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 shutdown
!
interface FastEthernet0/2
 shutdown
!
interface FastEthernet0/3
 shutdown
!
interface FastEthernet0/4
 shutdown
!
interface FastEthernet0/5
 shutdown
!
interface FastEthernet0/6
 shutdown
!
interface FastEthernet0/7
 shutdown
!
interface FastEthernet0/8
 shutdown
!
interface FastEthernet0/9
 shutdown
!
interface FastEthernet0/10
 shutdown
!
interface FastEthernet0/11
 shutdown
!
interface FastEthernet0/12
 shutdown
!
interface Vlan1
 ip address 192.168.0.12 255.255.255.0
 no ip route-cache
 shutdown
!
ip default-gateway 192.168.0.1
no ip http server
access-list 23 permit 192.168.0.0 0.0.0.255
!
line con 0
line vty 0 4
 privilege level 15
 password 7 045802150C2E
 logging synchronous
 transport input ssh
line vty 5 15
 password 7 00071A150754
!
!
end

индикаторы оранжевые на всех портах.
При рестарте горит зеленый индикатор на подключенном порте но при полной загрузки опять все оранжевые
0
Модератор
Эксперт по компьютерным сетям
11427 / 6996 / 1903
Регистрация: 25.12.2012
Сообщений: 29,398
26.04.2022, 19:02 19
Может уже аппаратная трабла?
0
26.04.2022, 19:02
IT_Exp
Эксперт
87844 / 49110 / 22898
Регистрация: 17.06.2006
Сообщений: 92,604
26.04.2022, 19:02
Помогаю со студенческими работами здесь

Получаю ошибки
program solution; uses Crt, Dos; const Line: String = 'Курсовая работа.'; { Текст...

2950 зависает при старте
Доброго времени суток форумчане, помогите разобраться, cisco 2950 зависает при старте. C2950...

Ошибки в настройке апач 2.2.25 + рнр 5.2.1
Суть проблемы не обрабатывает рнр код (ребутает рнр при обращении к нему) Apache/2.2.25...

Ввожу скрипты в IB Experte - получаю ошибки :)
Приветвую! Использую Firebird 2.5 и IB Expert. Создаю в том числе четыре таблицы. Далее ввожу...

Получаю ошибки компиляции helloworld.c - undefined reference
я новичок в линуксе. На практике задали установить библиотеку логгирования - log4c. На windows c...

Условие: если ввести не существующий ид, получаю ошибки...
Доброе время суток. помогите дописать условие if(!isset($_GET)) { echo 'Не верно..'; }...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
19
Ответ Создать тему
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2024, CyberForum.ru