![]() |
Инвентаризация Cisco. Команды
Необходимо сделать инвентаризацию портов на 48 портовой циске 4948. Желательно получить информацию типа: № порта - ip адрес, VLAN, либо порт не настроен.
Ввожу команду: show int - результат: GigabitEthernet1/2 is up, line protocol is up (connected) Hardware is Gigabit Ethernet Port, address is xxxxxxxxxxx MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 1000Mb/s, link type is auto, media type is 10/100/1000-TX input flow-control is on, output flow-control is off 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/2000/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 7099000 bits/sec, 1033 packets/sec 5 minute output rate 1115000 bits/sec, 897 packets/sec 11440561272 packets input, 11949502823784 bytes, 0 no buffer Received 103928 broadcasts (0 multicast) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 7492416581 packets output, 1271309103756 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out результат команды show run: interface GigabitEthernet1/2 switchport access vlan 100 switchport mode access 1. Как мне посмотреть ip? 2. Из 48 портов мне показывает только 28, как мне посмотреть остальные 20? |
sh run
#Может работать не на всех свичах 2го уровня sh ip int sh ip int brief sh vlan sh vlan brief sh int trunk # Может не работать на маршрутизаторах sh int status |
Цитата:
GigabitEthernet1/1 unassigned YES unset down down GigabitEthernet1/2 unassigned YES unset up up GigabitEthernet1/3 unassigned YES unset down down GigabitEthernet1/4 unassigned YES unset up up GigabitEthernet1/5 unassigned YES unset up up GigabitEthernet1/6 unassigned YES unset down down GigabitEthernet1/7 unassigned YES unset up up Цитата:
Gi1/1 notconnect 100 auto auto 10/100/1000-TX Gi1/2 connected 100 a-full a-1000 10/100/1000-TX Gi1/3 notconnect 102 auto auto 10/100/1000-TX Gi1/4 connected 100 a-full a-1000 10/100/1000-TX Gi1/5 connected 100 a-full a-1000 10/100/1000-TX Gi1/6 notconnect 100 auto auto 10/100/1000-TX Gi1/7 connected 100 a-full a-1000 10/100/1000-TX Цитата:
GigabitEthernet1/1 is down, line protocol is down Inbound access list is not set Outgoing access list is not set GigabitEthernet1/2 is up, line protocol is up Inbound access list is not set Outgoing access list is not set GigabitEthernet1/3 is down, line protocol is down Inbound access list is not set Outgoing access list is not set ip так и не видно Cisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I5S-M), Version 12.2(25)EWA11, RELEASE SOFTWARE (fc1 |
Цитата:
пытался через ping & arp но тоже не вышло. |
Цитата:
|
1) В свичах IP присваиваются VLAN-интерфейсам
Sh run - просмотрите 2) Нахождение порта в том или ином VLAN sh vlan |
Цитата:
|
А в книжках все примеры с ip адресами :(
|
Цитата:
|
скан из книжки
|
|
nikitos435, А ничего, что вы привели пример для маршрутизатора?
Настройки для порта маршрутизатора и порта коммутатора разные. |
там даже глава называется - интерфейсы маршрутизатора
|
Цитата:
|
Время: 20:18. |
Время: 20:18.
© OSzone.net 2001-