发布时间:2019-08-05 15:35:17编辑:auto阅读(1739)
192.168.0.30/24,且在vlan1 中有一台dhcp 服务器(windows2003搭建),ip为192.168.0.10,其
他五个vlan分别为vlan 1 的子网,各个vlan间要求可以互通,其他vlan 共用vlan里的dhcp服务器
,自动获得ip;另外这个环境中在交换机前面还有一台防火墙,防火墙和交换机相连的端口一定要配置
成trunk模式,并且一定的在防火墙上加四条静态路由,分别到达内部的四个vlan子网,网关为vlan1
的ip,防火墙的ip和vlan1在一个网段)
[h3c-3600-vlan102]quit
其可以将DHCP请求转发至DHCP Server。
由于原来交换机的ios版本比较低,导致配到第三vlan时,配置好后测试拿不到ip ,甚至导致其他
vlan也获取不到ip,手动去配ip也不通到达vlan,最后按下面的方式升级ios版本,问题解决。
地址为10.10.110.1)。同时用户通过Telnet远程登录到交换机上,利用FTP将主机程序传送到交换机
上。
第一步:通过FTP将软件下载到交换机上。
s3600上的具体配置信息:
<H3C3600>
<H3C3600>dis cu
#
sysname H3C3600
#
dhcp-server 1 ip 192.168.0.10
#
radius scheme system
#
domain system
#
local-user admin
password simple shineit
service-type telnet
level 3
#
acl number 2000
rule 1 permit
#
vlan 1
#
vlan 101 to 104
#
interface Vlan-interface1
ip address 192.168.0.30 255.255.255.0
#
interface Vlan-interface101
ip address 192.168.2.1 255.255.255.192
dhcp-server 1
#
interface Vlan-interface102
ip address 192.168.2.65 255.255.255.192
#
sysname H3C3600
#
dhcp-server 1 ip 192.168.0.10
#
radius scheme system
#
domain system
#
local-user admin
password simple shineit
service-type telnet
level 3
#
acl number 2000
rule 1 permit
#
vlan 1
#
vlan 101 to 104
#
interface Vlan-interface1
ip address 192.168.0.30 255.255.255.0
#
interface Vlan-interface101
ip address 192.168.2.1 255.255.255.192
dhcp-server 1
#
interface Vlan-interface102
ip address 192.168.2.65 255.255.255.192
dhcp-server 1
#
interface Vlan-interface103
ip address 192.168.2.129 255.255.255.192
dhcp-server 1
#
interface Vlan-interface104
ip address 192.168.2.193 255.255.255.192
dhcp-server 1
#
interface Aux1/0/0
#
interface Ethernet1/0/1
port access vlan 103
#
interface Ethernet1/0/2
port access vlan 102
#
interface Ethernet1/0/3
#
interface Ethernet1/0/4
port access vlan 101
#
interface Ethernet1/0/5
#
interface Ethernet1/0/6
port access vlan 104
#
interface Ethernet1/0/7
#
interface Ethernet1/0/8
#
interface Ethernet1/0/9
#
interface Ethernet1/0/10
#
interface Eth
#
interface Ethernet1/0/12
#
interface Ethernet1/0/13
#
interface Ethernet1/0/14
#
interface Ethernet1/0/15
#
interface Ethernet1/0/16
#
interface Ethernet1/0/17
#
interface Ethernet1/0/18
#
interface Ethernet1/0/19
port link-type trunk
port trunk permit vlan all
#
interface Ethernet1/0/20
#
interface Ethernet1/0/21
#
interface Ethernet1/0/22
port link-type trunk
port trunk permit vlan all
#
interface Ethernet1/0/23
port link-type trunk
port trunk permit vlan all
#
interface Ethernet1/0/24
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/1/1
#
interface GigabitEthernet1/1/2
#
interface GigabitEthernet1/1/3
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/1/4
#
undo irf-fabric authentication-mode
#
interface NULL0
#
telnet source-interface Vlan-interface1
#
voice vlan mac-address 0001-e300-0000 mask ffff-ff00-0000
#
ip route-static 0.0.0.0 0.0.0.0 192.168.0.1 preference 60
#
telnet-server source-interface Vlan-interface1
#
user-interface aux 0 7
user-interface vty
acl 2000 inbound
user privilege level 3
set authentication password simple shineit
history-command max-size 20
screen-length 30
protocol inbound telnet
user-interface vty 1 4
acl 2000 inbound
#
return
<H3C3600>dis ver
H3C Comware Platform Software
Comware Software, Version 3.10, Release 1602P10 #(升级后的版本)
Copyright (c) 2004-2008 Hangzhou H3C Technologies Co., Ltd. All rights reserved.
64M bytes DRAM
8196K bytes Flash Memory
Config Register points to FLASH
CPLD Version is CPLD 003
Bootrom Version is 514
[Subslot 0] 24 FE Hardware Version is REV.B
[Subslot 1] 4 GE Hardware Version is REV.B
上一篇: python---定位元素
下一篇: Linux环境搭建之安装Python3.
47494
45794
36793
34324
28968
25598
24443
19611
19111
17632
5466°
6048°
5570°
5638°
6573°
5376°
5378°
5884°
5855°
7170°