Меню

Ip addresses may not be configured on l2 links ошибка

Cisco logo В свободный слот Cisco серии 2800 (Cisco 2811) был куплен и установлен новый модуль расширения Cisco HWIC-4ESW с четырьмя портами FastEthernet. IOS Cisco – c2800nm-advsecurityk9-mz.124-24.T5.bin от 04 марта 2011 года. При попытке присвоить одному из четырех полученных новых интерфейсов вида FastEthernet0/0/n ip-адрес, выскочила ошибка…
router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
router(config)#interface FastEthernet0/0/0
router(config-if)#ip address 172.16.0.1 255.255.255.0
% IP addresses may not be configured on L2 links FastEthernet0/0/0.
router(config-if)#

Чтобы решить это досадное недоразумение, необходимо на данный FastEthernet интерфейс повесить новый Vlan, и уже ему присваивать необходимые настройки. Причем при добавлении нового Vlan в базу данных Vlan’ов данная версия IOS ругается на это, хотя и выполняет требуемую задачу:

router#vlan database
% Warning: It is recommended to configure VLAN from config mode,
  as VLAN database mode is being deprecated. Please consult user
  documentation for configuring VTP/VLAN in config mode.
router(vlan)#vlan 10
VLAN 10 added:
    Name: VLAN0010
router(vlan)#show
...
  VLAN ISL Id: 10
    Name: VLAN0010
    Media Type: Ethernet
    VLAN 802.10 Id: 100010
    State: Operational
    MTU: 1500
...
router(vlan)#exit
APPLY completed.
Exiting....

Теперь в необходимом нам FastEthernet интерфейсе установим режим доступа к нему через Vlan:

router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
router(config)#interface FastEthernet0/0/0
router(config-if)#switchport access vlan 10
router(config-if)#exit
router(config)#

В дальнейшем пойдет стандартная настройка нашего нового интерфейса Vlan 10:

router(config)#interface Vlan10
router(config-if)#description LOCALNET
router(config-if)#ip address 172.16.0.1 255.255.255.0
router(config-if)#ip broadcast-address 172.16.0.255
router(config-if)#exit
router(config)#exit

Осталось сохранить нашу конфигурацию в памяти и просмотреть на проделанную работу (я не буду приводить конфиг целиком):

router#write memory
Building configuration...
[OK]
router#show running-config
Building configuration...
Current configuration : 3554 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname router
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
logging buffered 51200 warnings
...
!
interface FastEthernet0/0/0
 switchport access vlan 10
!
...
!
interface Vlan10
 description LOCALNET
 ip address 172.16.0.1 255.255.255.0
 ip broadcast-address 172.16.0.255
!
...

В заключении хочу обратить ваше внимание на то, что если в вашей версии IOS при внесении нового Vlan, присваиваемого интерфейсу FastEthernet0/0/0, в базу Vlan’ов вы получите ошибку:

router#vlan database
router(vlan)#vlan 10
Vlan can not be added. Maximum number of 1 vlan(s) in the database.

То вам скорее всего необходимо сменить версию IOS с advsecurity на advipservices, или на более свежую. Как это делается, я описал в предыдущей заметке.

Удачи!

Помогите плз новичку побороть циску, при попытке конфигурирования

yourname#

yourname#conf t

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

yourname(config)#int fa0

yourname(config-if)#ip address 10.1.3.1 255.255.255.0

% IP addresses may not be configured on L2 links.

модель циски 871, 4 порта ЛАН и 1 Влан

yourname#show interface

FastEthernet0 is up, line protocol is up

Hardware is Fast Ethernet, address is 001a.a13b.4e1a (bia 001a.a13b.4e1a)

MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,

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

Encapsulation ARPA, loopback not set

Keepalive set (10 sec)

Full-duplex, 100Mb/s

ARP type: ARPA, ARP Timeout 04:00:00

Last input 00:00:00, 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 3000 bits/sec, 4 packets/sec

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

9919 packets input, 1024255 bytes, 0 no buffer

Received 5769 broadcasts, 0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

0 input packets with dribble condition detected

1440 packets output, 112236 bytes, 0 underruns

0 output errors, 0 collisions, 2 interface resets

0 babbles, 0 late collision, 0 deferred

0 lost carrier, 0 no carrier

0 output buffer failures, 0 output buffers swapped out

FastEthernet1 is up, line protocol is down

Hardware is Fast Ethernet, address is 001a.a13b.4e1b (bia 001a.a13b.4e1b)

MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,

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

Encapsulation ARPA, loopback not set

Keepalive set (10 sec)

Auto-duplex, Auto-speed

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 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 input packets with dribble condition detected

0 packets output, 0 bytes, 0 underruns

0 output errors, 0 collisions, 2 interface resets

0 babbles, 0 late collision, 0 deferred

0 lost carrier, 0 no carrier

0 output buffer failures, 0 output buffers swapped out

FastEthernet2 is up, line protocol is down

Hardware is Fast Ethernet, address is 001a.a13b.4e1c (bia 001a.a13b.4e1c)

MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,

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

Encapsulation ARPA, loopback not set

Keepalive set (10 sec)

Auto-duplex, Auto-speed

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 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 input packets with dribble condition detected

0 packets output, 0 bytes, 0 underruns

0 output errors, 0 collisions, 2 interface resets

0 babbles, 0 late collision, 0 deferred

0 lost carrier, 0 no carrier

0 output buffer failures, 0 output buffers swapped out

FastEthernet3 is up, line protocol is down

Hardware is Fast Ethernet, address is 001a.a13b.4e1d (bia 001a.a13b.4e1d)

MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,

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

Encapsulation ARPA, loopback not set

Keepalive set (10 sec)

Auto-duplex, Auto-speed

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 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 input packets with dribble condition detected

0 packets output, 0 bytes, 0 underruns

0 output errors, 0 collisions, 2 interface resets

0 babbles, 0 late collision, 0 deferred

0 lost carrier, 0 no carrier

0 output buffer failures, 0 output buffers swapped out

FastEthernet4 is administratively down, line protocol is down

Hardware is PQUICC_FEC, address is 001a.a13b.4e24 (bia 001a.a13b.4e24)

MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,

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

Encapsulation ARPA, loopback not set

Keepalive set (10 sec)

Auto-duplex, Auto Speed, 100BaseTX/FX

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 output rate 0 bits/sec, 0 packets/sec

0 packets input, 0 bytes

Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

0 watchdog

0 input packets with dribble condition detected

0 packets output, 0 bytes, 0 underruns

0 output errors, 0 collisions, 1 interface resets

0 babbles, 0 late collision, 0 deferred

0 lost carrier, 0 no carrier

0 output buffer failures, 0 output buffers swapped out

Vlan1 is up, line protocol is up

Hardware is EtherSVI, address is 001a.a13b.4e1a (bia 001a.a13b.4e1a)

Description: $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$

Internet address is 10.1.2.7/24

MTU 1500 bytes, BW 100000 Kbit, DLY 100 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 00:00:00, 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 1000 bits/sec, 2 packets/sec

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

7845 packets input, 824570 bytes, 0 no buffer

Received 6445 broadcasts, 0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

1525 packets output, 112696 bytes, 0 underruns

0 output errors, 1 interface resets

0 output buffer failures, 0 output buffers swapped out

Vlan2 is up, line protocol is down

Hardware is EtherSVI, address is 001a.a13b.4e1a (bia 001a.a13b.4e1a)

Internet address is 10.1.9.9/24

MTU 1500 bytes, BW 100000 Kbit, DLY 100 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: 2

Queueing strategy: fifo

Output queue: 0/40 (size/max)

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 packets output, 0 bytes, 0 underruns

0 output errors, 1 interface resets

0 output buffer failures, 0 output buffers swapped out

Есть простенькая циска — 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:

Привет всем! Только начинаю изучать cisco-оборудование(я не сисадмин(уволился), с другой службы ИТ). Подскажите с настройкой vlan на cisco881. Есть удаленный офис с 30 машинами. Под них выделена сеть 10.10.118.0/24 vlan 1143. Vlan 1143 приходит на тэгированный порт в trunk на управляемый коммутатор D-Link 3200-24. DHCP-сервер находится в Центральном офисе. Необходимо поставить между железом провайдера и D-link 3200-24 роутер Cisco881. На роутере поднять DHCP (если вдруг сеть провайдера отваливается, роутер сам раздавал ip, а не обращался к центральному офису). На порт fa0 добавить vlan1143 trunk, и на fa1 access. Самому роутеру присвоить ip 10.10.118.2. Помогите с настройкой, нет времени изучать, так как горит(((

csc-filial_1143#
csc-filial_1143#
csc-filial_1143#sh run
Building configuration…

Current configuration : 1421 bytes
!
! Last configuration change at 07:14:33 UTC Mon Jun 17 2013 by ciscomaster
! NVRAM config last updated at 07:14:34 UTC Mon Jun 17 2013 by ciscomaster
! NVRAM config last updated at 07:14:34 UTC Mon Jun 17 2013 by ciscomaster
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname csc-filial_1143
!
boot-start-marker
boot-end-marker
!
!
enable password 7 097D590C0B110E4359
!
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
!
!
!
!
!
aaa session-id common
!
memory-size iomem 10
ip auth-proxy max-login-attempts 5
ip admission max-login-attempts 5
!
!
!
!
!
ip cef
no ipv6 cef
!
!
multilink bundle-name authenticated
crypto pki token default removal timeout 0
!
!
license udi pid CISCO881-K9 sn FCZ1709C1LX
!
!
username ciscomaster privilege 15 secret 4 RufVVG.yr4BLNqqtL8cZoDCMp.9/QXteSo9DuB8KTms
!
!
!
!
!
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
no ip address
shutdown
duplex auto
speed auto
!
interface Vlan1
no ip address
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
exec-timeout 30 0
privilege level 15
transport input ssh
!
!
end

Добавлено через 1 час 47 минут
csc-filial_1143>
csc-filial_1143>
csc-filial_1143>
csc-filial_1143>en
Password:
csc-filial_1143#
csc-filial_1143#
csc-filial_1143#
csc-filial_1143#
csc-filial_1143#
csc-filial_1143#
csc-filial_1143#conf t
Enter configuration commands, one per line. End with CNTL/Z.
csc-filial_1143(config)#vl
csc-filial_1143(config)#vlan 1143
csc-filial_1143(config-vlan)#ip add
csc-filial_1143(config-vlan)#ip address 10.10.118.2 255.255.255.0
^
% Invalid input detected at ‘^’ marker.

csc-filial_1143(config-vlan)#ex
csc-filial_1143(config-vlan)#exit
% Failed to create VLANs 1143
Extended VLAN(s) not allowed in current VTP mode.
%Failed to commit extended VLAN(s) changes.

% IP addresses may not be configured on L2 links.

csc-filial_1143#sh vlan-switch

VLAN Name Status Ports
—- ——————————— ——— ——————————-
1 default active Fa0, Fa1, Fa2, Fa3
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
—- —— ———- —— —— —— ——— —- ——— —— ——
1 enet 100001 1500 — — — — — 1002 1003
1002 fddi 101002 1500 — — — — — 1 1003
1003 tr 101003 1500 1005 0 — — srb 1 1002
1004 fdnet 101004 1500 — — 1 ibm — 0 0
1005 trnet 101005 1500 — — 1 ibm — 0 0
csc-filial_1143#

не могу создать vlan

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь

Hi everyone,
I was trying to configure a 1760 router.
I installed a 4-port interface card.
When I tried configuring ip address on these ports it give me the error
below

«»% IP addresses may not be configured on L2 links»»

My question is what is L2 Links and how do I resolve it.

Regards
Rowland

Read these next…

  • Curated WINDOWS 10 "glitch" - file explorer

    WINDOWS 10 «glitch» — file explorer

    Windows

    Hi.I have been experiencing a black line (glitch) on my file explorer which comes for milliseconds then it goes away. See screen grab. Is there anyone who has experienced such and how were they able to solve it?Thank you.

  • Curated Are you updating workstations to Windows 11?

    Are you updating workstations to Windows 11?

    Windows

    Has anyone started updating workstations on a AD domain to Windows 11? what type of issues are you facing?What is the user reaction been?Thanks!

  • Curated Snap! -- Psyche Probe, DIY Gene Editing, RaiBo, AI handwriting, Metric Pirates

    Snap! — Psyche Probe, DIY Gene Editing, RaiBo, AI handwriting, Metric Pirates

    Spiceworks Originals

    Your daily dose of tech news, in brief.

    Welcome to the Snap!

    Flashback: January 27, 1880: Thomas Edison receives patent for the Electric Lamp. (Read more HERE.)

    Bonus Flashback: January 27, 1967: Apollo 1 Tragedy (Read more HERE.)

    You …

  • Curated NEC Inmail Email doesn't Change

    NEC Inmail Email doesn’t Change

    Collaboration

    Hey Everyone,Recently a client of mine wanted to change the email to their QA extension to her email as to help keep voicemails consolidated instead of spread out among different emails. Normally this wouldn’t be a huge deal. Logged in to to Webpro, hoppe…

  • Curated I inherited some really cool equipment. I just have no clue how to use it!

    I inherited some really cool equipment. I just have no clue how to use it!

    Hardware

    So I’ve got some switches, and some servers. The switches seem pretty straight forward, plug in packet go zoom, but I have no clue how these servers work. They’re headless rack servers. I know there must be a way to get some kind of UI going with a monito…

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Ippon smart winner 1500 ошибка btop
  • Iox fehler 12 ошибка bucher