免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2068 | 回复: 2
打印 上一主题 下一主题

4506+2950通过网桥上网,并用dhcp服务器分配ip [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-04-21 22:01 |只看该作者 |倒序浏览
网络是通过网桥连接到总部的,网桥那边的地址是10.20.64.222,一台OA服务器,一台DHCP服务器地址是10.20.64.10,地址池范围10.20.64.1----10.20.71.254,一台4506核心交换机,四台2950接入交换机。现在需要为每个vlan的计算机以dhcp方式分配ip。而且需要能够ping通10.20.64.222。现在能够给每个vlan的计算机分配ip,但是都是随机的,而网关已经指定了都是静态给vlan分配的地址,所以经常不能分配到一个网段的ip,不能连通10.20.64.222。我想知道怎么指定dhcp分配给每个vlan的ip ?

总体需求就是能够动态得到ip地址,并且能够访问10.20.64.222。

以下是我的配置,拜托帮忙看看。配置很长,2950的配置一样,看一个就够了


我快被折腾死了,实在没办法了。请大家帮帮我。

4506配置
Switch>;en
Switch#Vlan Database
Switch(Vlan)>;vtp domain cisco
Switch(Vlan)>;vtp server
Switch(Vlan)>;Vlan 2Name work02
Switch(vlan)>;Vlan 3 Name work03
Switch(vlan)>;Vlan 4 Name work04
Switch(vlan)>;Vlan 5 Name work05
Switch(vlan)>;Vlan 6 Name work06
Switch(vlan)>;Vlan 7 Name work07
Switch(vlan)>;Vlan 8 Name work08
Switch(vlan)>;Vlan 9 Name work09
Switch(vlan)>;Vlan 10 Name work10
Switch(vlan)>;Vlan 11 Name work11
Switch(vlan)>;Vlan 12 Name work12
Switch(vlan)>;Vlan 13 Name work13
Switch(vlan)>;Vlan 14 Name work14

switch(config-if)#interface Range GigabitEthernet2/1 - 4
switch(config-if)#switchport trunk encapsulation dot1q
switch(config-if)#switchport mode trunk
switch(config-if)#switchport trunk allow vlan all
switch(config-if)#no shutdown


Switch>;Enable
Switch#Config t
Switch(Config)Service Dhcp
Switch(Config)Ip Dhcp Relay Information trust-all
.

Switch(Config-vlan)>;Int Vlan 2
Switch(Config-vlan)Ip Address 10.20.60.1 255.255.255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)exit

Switch(Config-vlan)>;Int Vlan 3
Switch(Config-vlan)Ip Address 10.20.60.65 255.255.255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)exit

Switch(Config-vlan)>;Int Vlan 4
Switch(Config-vlan)Ip Address 10.20.60.129 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 5
Switch(Config-vlan)Ip Address 10.20.60.193 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 6
Switch(Config-vlan)Ip Address 10.20.61.1 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 7
Switch(Config-vlan)Ip Address 10.20.61.65 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 8
Switch(Config-vlan)Ip Address 10.20.61.129 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 9
Switch(Config-vlan)Ip Address 10.20.61.129 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 10
Switch(Config-vlan)Ip Address 10.20.61.193 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 11
Switch(Config-vlan)Ip Address 10.20.62.1 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 12
Switch(Config-vlan)Ip Address 10.20.62.65 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 13
Switch(Config-vlan)Ip Address 10.20.62.129 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 14
Switch(Config-vlan)Ip Address 10.20.62.193 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 15
Switch(Config-vlan)Ip Address 10.20.63.1 255.255.248.0
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit



Switch(Config)Interface Range Fa 3/1 - 48
Switch(Config-if-range)Switchport Mode Access

Switch(Config)Interface Range Fa 3/1 - 48
Switch(Config-if-range)Switchport Access Vlan 2



Switch(Config)Ip Routing
Switch(config)router rip
Switch(config-router)#network 10.20.64.0



2950(1)配置
switch1#vlan database
switch1(vlan)#vtp domain cisco
switch1(vlan)#vtp client

switch(config-if)#interface GigabitEthernet1/1
switch(config-if)#switchport mode trunk
switch(config-if)#no shutdown

Switch(Config)Interface Range Fa 0/1 - 4
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 3

Switch(Config)Interface Range Fa 0/5 -8
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 4


Switch(Config)Interface Range Fa 0/9 -13
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 5

Switch(Config)Interface Range Fa 0/14 - 18
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 6

Switch(Config)Interface Range Fa 0/19 - 20
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 6

Switch(Config)Interface Range Fa 0/20 - 23
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 7

Switch(Config)Interface Range Fa 0/24 - 27
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 8

Switch(Config)Interface Range Fa 0/28 - 30
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 9

Switch(Config)Interface Range Fa 0/31 - 33
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 10

Switch(Config)Interface Range Fa 0/34 - 36
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 11

Switch(Config)Interface Range Fa 0/37 - 40
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 12

Switch(Config)Interface Range Fa 0/41 - 43
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 13

Switch(Config)Interface Range Fa 0/44 - 45
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 14

Switch(Config)Interface Range Fa 0/46 - 48
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 15

论坛徽章:
0
2 [报告]
发表于 2004-04-21 23:23 |只看该作者

4506+2950通过网桥上网,并用dhcp服务器分配ip

在4506中少了一条命令:
好像是:ip dhcp server x.x.x.x
x.x.x.x就是你Dhcp服务器的IP地址。
具体的你需要查一下。
我碰到过和你一摸一样的问题。但是时间长我也有些忘记了,总之需要在全局模式下制定DHCP的ip地址。

论坛徽章:
0
3 [报告]
发表于 2004-04-22 10:39 |只看该作者

4506+2950通过网桥上网,并用dhcp服务器分配ip

楼上说的那一条不行啊,这是我所有的配置,帮帮我

以下是我的配置
4506配置
Switch>;en
Switch#Vlan Database
Switch(Vlan)>;vtp domain cisco
Switch(Vlan)>;vtp server
Switch(Vlan)>;Vlan 2Name work02
Switch(vlan)>;Vlan 3 Name work03
Switch(vlan)>;Vlan 4 Name work04
Switch(vlan)>;Vlan 5 Name work05
Switch(vlan)>;Vlan 6 Name work06
Switch(vlan)>;Vlan 7 Name work07
Switch(vlan)>;Vlan 8 Name work08
Switch(vlan)>;Vlan 9 Name work09
Switch(vlan)>;Vlan 10 Name work10
Switch(vlan)>;Vlan 11 Name work11
Switch(vlan)>;Vlan 12 Name work12
Switch(vlan)>;Vlan 13 Name work13
Switch(vlan)>;Vlan 14 Name work14

switch(config-if)#interface Range GigabitEthernet2/1 - 4
switch(config-if)#switchport trunk encapsulation dot1q
switch(config-if)#switchport mode trunk
switch(config-if)#switchport trunk allow vlan all
switch(config-if)#no shutdown


Switch>;Enable
Switch#Config t
Switch(Config)Service Dhcp
Switch(Config)Ip Dhcp Relay Information trust-all
Switch(Config)ip dhcp server 10.20.64.10 255.255.255.248

Switch(Config-vlan)>;Int Vlan 2
Switch(Config-vlan)Ip Address 10.20.60.1 255.255.255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)exit

Switch(Config-vlan)>;Int Vlan 3
Switch(Config-vlan)Ip Address 10.20.60.65 255.255.255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)exit

Switch(Config-vlan)>;Int Vlan 4
Switch(Config-vlan)Ip Address 10.20.60.129 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 5
Switch(Config-vlan)Ip Address 10.20.60.193 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 6
Switch(Config-vlan)Ip Address 10.20.61.1 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 7
Switch(Config-vlan)Ip Address 10.20.61.65 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 8
Switch(Config-vlan)Ip Address 10.20.61.129 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 9
Switch(Config-vlan)Ip Address 10.20.61.193 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 10
Switch(Config-vlan)Ip Address 10.20.62.1 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 11
Switch(Config-vlan)Ip Address 10.20.62.65 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 12
Switch(Config-vlan)Ip Address 10.20.62.129 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 13
Switch(Config-vlan)Ip Address 10.20.62.193 255.255.255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 14
Switch(Config-vlan)Ip Address 10.20.63.1 255.255. 255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit

Switch(Config-vlan)>;Int Vlan 15
Switch(Config-vlan)Ip Address 10.20.63.65 255.255.255.192
Switch(Config-vlan)ip helper-address 10.20.64.10
Switch(Config-vlan)No Shut
Switch(Config-vlan)Exit



Switch(Config)Interface Range Fa 3/1 - 48
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 2

Switch(Config)Ip Dhcp Pool Test02
Switch(Config-pool)Network 10.20.60.0 255.255.255.192
Switch(Config-pool)Default-router 10.20.60.1

Switch(Config)Ip Dhcp Pool Test03
Switch(Config-pool)Network 10.20.60.64 255.255.255.192
Switch(Config-pool)Default-router 10.20.60.65

Switch(Config)Ip Dhcp Pool Test04
Switch(Config-pool)Network 10.20.60.128 255.255.255.192
Switch(Config-pool)Default-router 10.20.60.129

Switch(Config)Ip Dhcp Pool Test05
Switch(Config-pool)Network 10.20.60.192 255.255.255.192
Switch(Config-pool)Default-router 10.20.60.193


Switch(Config)Ip Dhcp Pool Test06
Switch(Config-pool)Network 10.20.61.0 255.255.255.192
Switch(Config-pool)Default-router 10.20.61.1


Switch(Config)Ip Dhcp Pool Test07
Switch(Config-pool)Network 10.20.61.64 255.255.255.192
Switch(Config-pool)Default-router 10.20.61.65


Switch(Config)Ip Dhcp Pool Test08
Switch(Config-pool)Network 10.20.61.128 255.255.255.192
Switch(Config-pool)Default-router 10.20.61.129

Switch(Config)Ip Dhcp Pool Test09
Switch(Config-pool)Network 10.20.61.192 255.255.255.192
Switch(Config-pool)Default-router 10.20.61.193

Switch(Config)Ip Dhcp Pool Test10
Switch(Config-pool)Network 10.20.62.0 255.255.255.192
Switch(Config-pool)Default-router 10.20.62.1

Switch(Config)Ip Dhcp Pool Test11
Switch(Config-pool)Network 10.20.62.64 255.255.255.192
Switch(Config-pool)Default-router 10.20.62.65

Switch(Config)Ip Dhcp Pool Test12
Switch(Config-pool)Network 10.20.62.128 255.255.255.192
Switch(Config-pool)Default-router 10.20.62.129

Switch(Config)Ip Dhcp Pool Test13
Switch(Config-pool)Network 10.20.62.192 255.255.255.192
Switch(Config-pool)Default-router 10.20.62.193

Switch(Config)Ip Dhcp Pool Test14
Switch(Config-pool)Network 10.20.63.0 255.255.255.192
Switch(Config-pool)Default-router 10.20.63.1

Switch(Config)Ip Dhcp Pool Test15
Switch(Config-pool)Network 10.20.63.64 192 255.255.255.192
Switch(Config-pool)Default-router 10.20.63.65

Switch(Config)Ip Routing
Switch(config)router rip
Switch(config-router)#network 10.20.64.0



2950(1)配置
switch1#vlan database
switch1(vlan)#vtp domain cisco
switch1(vlan)#vtp client

switch(config-if)#interface GigabitEthernet1/1
switch(config-if)#switchport mode trunk
switch(config-if)#no shutdown

Switch(Config)Interface Range Fa 0/1 - 48
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 3

2950(2)配置
Switch(Config)Interface Range Fa 0/1 - 6
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 4


Switch(Config)Interface Range Fa 0/11 -13
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 4

Switch(Config)Interface Range Fa 0/18 - 20
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 5

Switch(Config)Interface Range Fa 0/7 - 10
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 5

Switch(Config)interface fa 0/25
Switch(config-if)# Switchport Mode Access
Switch(Config-if)# Switchport Access Vlan 6
Switch(Config)Interface Range Fa 0/14 - 17
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 6

Switch(Config)Interface Range Fa 0/21 - 24
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 6

Switch(Config)Interface Range Fa 0/26 - 27
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 7

Switch(Config)Interface Range Fa 0/30 - 34
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 7

Switch(Config)Interface Range Fa 0/38 - 40
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 7

Switch(Config)Interface Range Fa 0/28 - 29
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 8

Switch(Config)Interface Range Fa 0/35 - 37
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 8

Switch(Config)Interface Range Fa 0/42 - 48
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 9

Switch(Config)Interface Fa 0/41
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 15

2950(3)配置
switch1#vlan database
switch1(vlan)#vtp domain cisco
switch1(vlan)#vtp client

switch(config-if)#interface GigabitEthernet1/1
switch(config-if)#switchport mode trunk
switch(config-if)#no shutdown

Switch(Config)Interface Range Fa 0/1 - 4
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 9

Switch(Config)Interface Fa 0/7
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 10


Switch(Config)Interface Range Fa 0/12 -14
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 10

Switch(Config)Interface fa 0/16
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 10

Switch(Config)Interface Range Fa 0/18 - 21
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 11

Switch(Config)Interface Fa 0/25
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 11

Switch(Config)Interface Range Fa 0/28 - 36
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 12

Switch(Config)Interface Range Fa 0/5 - 6
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 13

Switch(Config)Interface Range Fa 0/8 - 11
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 13

Switch(Config)Interface Fa 0/15
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 13



Switch(Config)Interface Fa 0/17
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 13

Switch(Config)Interface Range Fa 0/22 - 24
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 14

Switch(Config)Interface Range Fa 0/26 -27
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 14

Switch(Config)Interface Range Fa 0/37 -48
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 15


2950(4)配置
switch1#vlan database
switch1(vlan)#vtp domain cisco
switch1(vlan)#vtp client

switch(config-if)#interface GigabitEthernet1/1
switch(config-if)#switchport mode trunk
switch(config-if)#no shutdown

Switch(Config)Interface Fa 0/1
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 4

Switch(Config)Interface Fa 0/3
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 5

Switch(Config)Interface Fa 0/5
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 5

Switch(Config)Interface Fa 0/7
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 6

Switch(Config)Interface Fa 0/13
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 7

Switch(Config)Interface Fa 0/4
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 8

Switch(Config)Interface Fa 0/10
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 8

Switch(Config)Interface Fa 0/14
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 10

Switch(Config)Interface Fa 0/15
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 11

Switch(Config)Interface Fa 0/6
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 12


Switch(Config)Interface Range Fa 0/16- 17
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 12

Switch(Config)Interface Fa 0/2
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 12

Switch(Config)Interface Fa 0/43
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 13


Switch(Config)Interface Fa 0/12
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 13

Switch(Config)Interface Fa 0/11
Switch(Config-if)Switchport Mode Access
Switch(Config-if)Switchport Access Vlan 14

Switch(Config)Interface Range Fa 0/8 - 9
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 15


Switch(Config)Interface Range Fa 0/9 -13
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 5

Switch(Config)Interface Range Fa 0/45 - 48
Switch(Config-if-range)Switchport Mode Access
Switch(Config-if-range)Switchport Access Vlan 15
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP