Страница 1 из 1

присвоение ip адреса интерфейсу

Добавлено: 2008-09-08 10:29:26
m0ps
Есть простенькая циска - 878. хочу для начала настроить интерфейс fe0.
но при присвоении ip адреса в ответ получаю

Код: Выделить всё

Strela(config)#interface fastethernet 0
Strela(config-if)#ip address 172.16.1.133 255.255.255.0

% IP addresses may not be configured on L2 links.

Strela(config-if)#

Код: Выделить всё

Strela>sh ver
Cisco IOS Software, C870 Software (C870-ADVSECURITYK9-M), Version 12.4(4)T8, REL                                                                             EASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Sat 11-Aug-07 03:34 by khuie

ROM: System Bootstrap, Version 12.3(8r)YI4, RELEASE SOFTWARE

Strela uptime is 25 minutes
System returned to ROM by reload
System image file is "flash:c870-advsecurityk9-mz.124-4.T8.bin"
Last reload reason: Reload Command



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 878 (MPC8272) processor (revision 0x200) with 118784K/12288K bytes of memo                                                                             ry.
Processor board ID FCZ120311GQ
MPC8272 CPU Rev: Part Number 0xC, Mask Number 0x10
4 FastEthernet interfaces
1 ISDN Basic Rate interface
128K bytes of non-volatile configuration memory.
24576K bytes of processor board System flash (Intel Strataflash)

Configuration register is 0x2102
немного погуглив вразумительного ответа так и не нашел, не подскажет ли кто, как с этим бороться?
P.S. сори если вопрос совсем ламерский, первый раз в руках циску держу :oops:

Re: присвоение ip адреса интерфейсу

Добавлено: 2008-09-08 10:43:16
zingel

Re: присвоение ip адреса интерфейсу

Добавлено: 2008-09-08 10:51:36
m0ps

Код: Выделить всё

Strela#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Strela(config)#inter fasteth 0
Strela(config-if)#no switchport
% Incomplete command.

Strela(config-if)#
:cz2:

Re: присвоение ip адреса интерфейсу

Добавлено: 2008-09-08 11:02:10
zingel

Код: Выделить всё

enable
conf t
interface vlan1
ip address 172.16.1.133 255.255.255.0
no shutdown
interface FastEthernet0
no shutdown
exit

Re: присвоение ip адреса интерфейсу

Добавлено: 2008-09-08 11:36:38
m0ps
вообщем сделал так:

Код: Выделить всё

Router>enable
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int fa 0
Router(config-if)#switchport access vlan 1
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int vlan 1
Router(config-if)#ip add 172.16.1.133 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#^Z
Router#
вроде работает... спасибо за подсказку.

Re: присвоение ip адреса интерфейсу

Добавлено: 2008-09-08 11:39:06
zingel
пиши если что....

Re: присвоение ip адреса интерфейсу

Добавлено: 2008-09-09 7:40:27
manefesto
такс...нашел знатоков. У меня будет 2 циски.

Re: присвоение ip адреса интерфейсу

Добавлено: 2008-09-09 19:46:05
zingel
какие?