IP адрес свитча
Модератор: Модераторы
Сообщений: 13
• Страница 1 из 2 • 1, 2
- MartishinAE
- Активный пользователь
- Сообщения: 171
- Зарегистрирован: 12 янв 2004, 12:36
- Откуда: Иваново
Помогите узнать ip свитча, хотелось бы достучаться до него через Web-интерфейс, смотрю через гипертерминал и не могу найти (а может и нет на нем ip адреса).
- MartishinAE
- Активный пользователь
- Сообщения: 171
- Зарегистрирован: 12 янв 2004, 12:36
- Откуда: Иваново
Switch#sh run
Building configuration...
Current configuration : 2157 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
switchport access vlan 20
no ip address
!
interface FastEthernet0/2
switchport access vlan 20
no ip address
!
interface FastEthernet0/3
switchport access vlan 20
no ip address
!
interface FastEthernet0/4
switchport access vlan 20
no ip address
!
interface FastEthernet0/5
switchport access vlan 20
no ip address
!
interface FastEthernet0/6
switchport access vlan 20
no ip address
!
interface FastEthernet0/7
switchport access vlan 20
no ip address
!
interface FastEthernet0/8
switchport access vlan 20
no ip address
*******
!
interface FastEthernet0/24
switchport access vlan 10
no ip address
!
interface GigabitEthernet0/1
switchport mode trunk
no ip address
!
interface GigabitEthernet0/2
switchport mode trunk
no ip address
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
ip http server
!
line con 0
line vty 0 4
login
line vty 5 15
login
!
end
Switch#
Building configuration...
Current configuration : 2157 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
switchport access vlan 20
no ip address
!
interface FastEthernet0/2
switchport access vlan 20
no ip address
!
interface FastEthernet0/3
switchport access vlan 20
no ip address
!
interface FastEthernet0/4
switchport access vlan 20
no ip address
!
interface FastEthernet0/5
switchport access vlan 20
no ip address
!
interface FastEthernet0/6
switchport access vlan 20
no ip address
!
interface FastEthernet0/7
switchport access vlan 20
no ip address
!
interface FastEthernet0/8
switchport access vlan 20
no ip address
*******
!
interface FastEthernet0/24
switchport access vlan 10
no ip address
!
interface GigabitEthernet0/1
switchport mode trunk
no ip address
!
interface GigabitEthernet0/2
switchport mode trunk
no ip address
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
ip http server
!
line con 0
line vty 0 4
login
line vty 5 15
login
!
end
Switch#
Не задан у тебя IP адрес на свиче, его сонфигурить надо
Switch#config t
Switch(config)#int Vlan1
Switch(config-if)ip address IP_address Subnet_Mask
Ctrl+Z
Switch#copy run start
Доп комментарии
http://www.cisco.com/en/US/products/hw/ ... html#23737
Switch#config t
Switch(config)#int Vlan1
Switch(config-if)ip address IP_address Subnet_Mask
Ctrl+Z
Switch#copy run start
Доп комментарии
http://www.cisco.com/en/US/products/hw/ ... html#23737
Знания, которые нельзя применить - бесполезны
- MartishinAE
- Активный пользователь
- Сообщения: 171
- Зарегистрирован: 12 янв 2004, 12:36
- Откуда: Иваново
то что надо, спасибо , но теперь не получается войти на свитч через web-интерфейс, в настройках браузера включил поддержку Java, перезагрузился, в адресной строке ввел ip свитча и ... ничего: The page cannot be displayed.
Где еще посмотреть ?
По идее ведь свитч с ip адресом должен еще и пинговаться.
Где еще посмотреть ?
По идее ведь свитч с ip адресом должен еще и пинговаться.
- MartishinAE
- Активный пользователь
- Сообщения: 171
- Зарегистрирован: 12 янв 2004, 12:36
- Откуда: Иваново
Switch#sh int vlan 1
Vlan1 is administratively down, line protocol is down
Hardware is CPU Interface, address is 000d.6596.7fc0 (bia 000d.6596.7fc0)
Internet address is 192.168.200.170/24
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
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: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute ouxtput rate 0 bits/sec, 0 packets/sec
915238 packets input, 110305274 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
35287954 packets output, 0 bytes, 0 underruns
0 output errors, 2 interface resets
0 output buffer failures, 0 output buffers swapped out
Switch#
Vlan1 is administratively down, line protocol is down
Hardware is CPU Interface, address is 000d.6596.7fc0 (bia 000d.6596.7fc0)
Internet address is 192.168.200.170/24
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
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: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute ouxtput rate 0 bits/sec, 0 packets/sec
915238 packets input, 110305274 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
35287954 packets output, 0 bytes, 0 underruns
0 output errors, 2 interface resets
0 output buffer failures, 0 output buffers swapped out
Switch#
Цитата | ||
Vlan1 is administratively down, line protocol is down
[/quote] не из-за этого ли и не пингуется ?
из-за этого
Switch#config t Switch(config)#int Vlan1 Switch(config-if)no shut Ctrl+Z Switch#wr mem Trust me - i know what i’m doing © Sledge Hummer
Switch#show int vlan 1
Vlan1 is up, line protocol is up Hardware is CPU Interface, address is 000d.6596.7fc0 (bia 000d.6596.7fc0) Internet address is 192.168.200.170/24 MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set ARP type: ARPA, ARP Timeout 04:00:00 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: fifo Output queue :0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute ouxtput rate 0 bits/sec, 0 packets/sec 947855 packets input, 114220169 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 36939016 packets output, 0 bytes, 0 underruns 0 output errors, 3 interface resets 0 output buffer failures, 0 output buffers swapped out
|