The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Индекс форумов
Составление сообщения

Исходное сообщение
"как на 2811 из конфига прописать VLAN?"
Отправлено SergTel, 16-Июн-08 12:17 
Вот полный лог с консоли с твоими настройками:

System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
Copyright (c) 2000 by cisco Systems, Inc.
cisco 2811 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory

Self decompressing the image :
########################################################################## [OK]
              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706

Cisco IOS Software, 2800 Software (C2800NM-IPBASE-M), Version 12.3(14)T7, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 22-Mar-06 18:40 by pt_team
Image text-base: 0x40095498, data-base: 0x414E0000

cisco 2811 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
6 FastEthernet/IEEE 802.3 interface(s)
239K bytes of non-volatile configuration memory.
62720K bytes of processor board System flash (Read/Write)
Cisco IOS Software, 2800 Software (C2800NM-IPBASE-M), Version 12.3(14)T7, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 22-Mar-06 18:40 by pt_team


         --- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: n


Press RETURN to get started!

Router>en
Router#sh run
Building configuration...

Current configuration : 492 bytes
!
version 12.3
no service password-encryption
!
hostname Router
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/0/0
shutdown
!
interface FastEthernet0/0/1
shutdown
!
interface FastEthernet0/0/2
shutdown
!
interface FastEthernet0/0/3
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!

Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#exit

Router con0 is now available


Press RETURN to get started.

Router>en
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)#
Router(vlan)#vlan 2 name Rukovodstvo
VLAN 2 modified:
    Name: Rukovodstvo
Router(vlan)#
Router(vlan)#vlan 3 name Bugalter
VLAN 3 modified:
    Name: Bugalter
Router(vlan)#
Router(vlan)#vlan 10 name Over
VLAN 10 added:
    Name: Over
Router(vlan)#
Router(vlan)#exit
APPLY completed.
Exiting....
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface FastEthernet0/0
Router(config-if)#
Router(config-if)#!    
Router(config-if)#
Router(config-if)#description Link_to_LAN
Router(config-if)#
Router(config-if)#duplex auto
Router(config-if)#
Router(config-if)#speed auto
Router(config-if)#
Router(config-if)#interface Vlan2

%LINK-5-CHANGED: Interface Vlan2, changed state to upRouter(config-if)#
Router(config-if)#description Rukovodstvo
Router(config-if)#
Router(config-if)#ip address 10.0.2.1 255.255.255.0
Router(config-if)#
Router(config-if)#interface Vlan3

%LINK-5-CHANGED: Interface Vlan3, changed state to upRouter(config-if)#
Router(config-if)#description Bugalter
Router(config-if)#
Router(config-if)#ip address 10.0.3.1 255.255.255.0
Router(config-if)#
Router(config-if)#interface Vlan10

%LINK-5-CHANGED: Interface Vlan10, changed state to upRouter(config-if)#
Router(config-if)#description Over
Router(config-if)#
Router(config-if)#ip address 10.0.10.1 255.255.255.0
Router(config-if)#
Router(config-if)#
Router(config-if)#
Router(config-if)#!    HWIC-4ESW
Router(config-if)#
Router(config-if)#interface FastEthernet0/0/0
Router(config-if)#
Router(config-if)#switchport access vlan 2
Router(config-if)#
Router(config-if)#interface FastEthernet0/0/1
Router(config-if)#
Router(config-if)#switchport access vlan 3
Router(config-if)#
Router(config-if)#interface FastEthernet0/0/3
Router(config-if)#
Router(config-if)#switchport access vlan 10
Router(config-if)#
Router(config-if)#
Router(config-if)#
Router(config-if)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#wri
Destination filename [startup-config]?
Building configuration...
[OK]
Router#sh vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/0/2
2    Rukovodstvo                      active    Fa0/0/0
3    Bugalter                         active    Fa0/0/1
4    v4                               active    
10   Over                             active    Fa0/0/3
1002 fddi-default                     active    
1003 token-ring-default               active    
1004 fddinet-default                  active    
1005 trnet-default                    active    

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
2    enet  100002     1500  -      -      -        -    -        0      0
3    enet  100003     1500  -      -      -        -    -        0      0
4    enet  100004     1500  -      -      -        -    -        0      0
10   enet  100010     1500  -      -      -        -    -        0      0
1002 enet  101002     1500  -      -      -        -    -        0      0
1003 enet  101003     1500  -      -      -        -    -        0      0
1004 enet  101004     1500  -      -      -        -    -        0      0
1005 enet  101005     1500  -      -      -        -    -        0      0

Router#dir
Directory of flash:/

    1  -rw-     5571584          <no date>  c2800nm-ipbase-mz.123-14.T7.bin
    2  -rw-         796          <no date>  vlan.dat

32514048 bytes total (26941668 bytes free)
Router#reload
Proceed with reload? [confirm]

%SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
Copyright (c) 2000 by cisco Systems, Inc.
cisco 2811 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory

Self decompressing the image :
########################################################################## [OK]
              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706

Cisco IOS Software, 2800 Software (C2800NM-IPBASE-M), Version 12.3(14)T7, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 22-Mar-06 18:40 by pt_team
Image text-base: 0x40095498, data-base: 0x414E0000

cisco 2811 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
6 FastEthernet/IEEE 802.3 interface(s)
239K bytes of non-volatile configuration memory.
62720K bytes of processor board System flash (Read/Write)
Cisco IOS Software, 2800 Software (C2800NM-IPBASE-M), Version 12.3(14)T7, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 22-Mar-06 18:40 by pt_team

%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down
%LINK-5-CHANGED: Interface Vlan1, changed state to administratively down
%LINK-5-CHANGED: Interface Vlan2, changed state to up
%LINK-5-CHANGED: Interface Vlan3, changed state to up
%LINK-5-CHANGED: Interface Vlan10, changed state to up
Press RETURN to get started!

Router>en
Router#sh run
Building configuration...

Current configuration : 822 bytes
!
version 12.3
no service password-encryption
!
hostname Router
!
!
!
!
interface FastEthernet0/0
description Link_to_LAN
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/0/0
switchport access vlan 2
shutdown
!
interface FastEthernet0/0/1
switchport access vlan 3
shutdown
!
interface FastEthernet0/0/2
shutdown
!
interface FastEthernet0/0/3
switchport access vlan 10
shutdown
!
interface Vlan1
no ip address
shutdown
!
interface Vlan2
description Rukovodstvo
ip address 10.0.2.1 255.255.255.0
!
interface Vlan3
description Bugalter
ip address 10.0.3.1 255.255.255.0
!
interface Vlan10
description Over
ip address 10.0.10.1 255.255.255.0
!
ip classless
!
!
!
!
line con 0
line vty 0 4
login
!
!
end

 

Ваше сообщение
Имя*:
EMail:
Для отправки новых сообщений в текущей нити на email укажите знак ! перед адресом, например, !user@host.ru (!! - не показывать email).
Более тонкая настройка отправки ответов производится в профиле зарегистрированного участника форума.
Заголовок*:
Сообщение*:
  Введите код, изображенный на картинке: КОД
 
При общении не допускается: неуважительное отношение к собеседнику, хамство, унизительное обращение, ненормативная лексика, переход на личности, агрессивное поведение, обесценивание собеседника, провоцирование флейма голословными и заведомо ложными заявлениями. Не отвечайте на сообщения, явно нарушающие правила - удаляются не только сами нарушения, но и все ответы на них. Лог модерирования.



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру