打印

问一个关于3620配置vlan的问题

问一个关于3620配置vlan的问题

最近玩3620,打算配个层三的vlan,可惜出现了很多问题
int f 0/0.1
[B]encap isl[/B]       (这条命令竟然没有!理论上应该有的)

IOS为c3620-i-mz.122-7.bin
NW-1FE-TX模块

请问高手,是不是IOS的原因,还是别的什么原因?[B]encap isl[/B]
我心已死!

TOP

可能3620只支持DOT1Q,就如CATALYST 4000只支持DOT1Q一样。
[color=blue]天若有情天亦老 人若有情死得早[/color]

TOP

谢谢村长的回复,我已经找到问题了,是IOS的问题
下载一个支持IP plus的c3620-is-mz.113-11a.bin解决问题
顺便给个config 给大家看看,看一下一个很简单的vlan配置:

解释一下 vlan1 默认,路由器的F0/0连接交换机的F0/3,有问题希望大家一起讨论一下。

路由器配置


router# sh run
Building configuration...

Current configuration:
!
version 11.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname router
!
enable secret 5 $1$NBXP$7l9ym37N1p7D5IceXCQin/
!
no ip domain-lookup
ip host aux 2065 192.168.0.1
!
!
interface FastEthernet0/0
no ip address
!
interface FastEthernet0/0.1
encapsulation isl 1
ip address 192.168.1.1 255.255.255.0
no ip redirects
!
interface FastEthernet0/0.2
encapsulation isl 2
ip address 192.168.2.1 255.255.255.0
no ip redirects
!
interface FastEthernet0/0.3
encapsulation isl 3
ip address 192.168.3.1 255.255.255.0
no ip redirects
!
ip classless
!
!
line con 0
line aux 0
no exec
transport input all
line vty 0 4
password cisco
login
!
end

交换机配置

switch#sh run
Building configuration...

Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname switch
!
enable secret 5 $1$TMB1$jIXgssMuS16m8gYTrsNZw.
!
!
!
!
!
!
ip subnet-zero
no ip domain-lookup
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
switchport access vlan 2
!
interface FastEthernet0/3
switchport mode trunk
switchport trunk allowed vlan all
!
interface FastEthernet0/4
switchport access vlan 3
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface FastEthernet0/25
!
interface FastEthernet0/26
!
interface FastEthernet0/27
!
interface FastEthernet0/28
!
interface FastEthernet0/29
!
interface FastEthernet0/30
!
interface FastEthernet0/31
!
interface FastEthernet0/32
!
interface FastEthernet0/33
!
interface FastEthernet0/34
!
interface FastEthernet0/35
!
interface FastEthernet0/36
!
interface FastEthernet0/37
!
interface FastEthernet0/38
!
interface FastEthernet0/39
!
interface FastEthernet0/40
!
interface FastEthernet0/41
!
interface FastEthernet0/42
!
interface FastEthernet0/43
!
interface FastEthernet0/44
!
interface FastEthernet0/45
!
interface FastEthernet0/46
!
interface FastEthernet0/47
!
interface FastEthernet0/48
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface VLAN1
ip address 192.168.1.2 255.255.255.0
no ip directed-broadcast
no ip route-cache
!
ip default-gateway 192.168.1.1
snmp-server engineID local 00000009020000036BE14A80
snmp-server community private RW
snmp-server community public RO
!
line con 0
transport input none
stopbits 1
line vty 0 4
password cisco
login
line vty 5 15
login
!         
end


注释:路由器的F 0/0和交换机的f0/3连接!!
我心已死!

TOP

今天我在3640上也不支持,干脆就不支持encap命令,看来得升级IOS了。
[color=blue]天若有情天亦老 人若有情死得早[/color]

TOP

YES, IOS的版本太多了,我试了好多个,发现IP PLUS的可以,ENTERPRISE的没有机会试,ROM太小了,可怜啊。
我心已死!

TOP


感谢一直以来您对我们的支持!
当前时区 GMT+8, 现在时间是 2008-10-12 08:47 京ICP证060528 号

Designed By 17DST