华为s3928三层交换机配置
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
华为S3928 三层交换机配置
2008-08-04 11:06配置环境与配置文件如下:环境, 双wan口路由接入ADSL ,下接华为S3928p-SI 做核心交换机.交换机下接普通PC 和傻瓜式的TP-Link交换机, 现用可核心交换机e 1/0/24口(ip:直接连接路由器.
划分5个vlan 并隔离 e 1/0/11 to e 1/0/14端口.
#
sysname Quidway
#
dhcp-server 1 ip scheme system
#
domain system
#
vlan 1
#
vlan 2
description comman
#
vlan 3
description finance
#
vlan 4
description ap
#
vlan 5
description server
#
vlan 6
description route
#
interface Vlan-interface2
ip address Vlan-interface3 ip address Vlan-interface4 ip address 1
#
interface Vlan-interface5
ip address Vlan-interface6 ip address Aux1/0/0
#
interface Ethernet1/0/1
port access vlan 2
#
interface Ethernet1/0/2
port access vlan 2
#
interface Ethernet1/0/3
port access vlan 2
#
interface Ethernet1/0/4
port access vlan 2
#
interface Ethernet1/0/5
port access vlan 2
#
interface Ethernet1/0/6
#
interface Ethernet1/0/7 port access vlan 2
#
interface Ethernet1/0/8 port access vlan 2
#
interface Ethernet1/0/9 port access vlan 2
#
interface Ethernet1/0/10 port access vlan 2
#
interface Ethernet1/0/11 port access vlan 3
port isolate
#
interface Ethernet1/0/12 port access vlan 3
port isolate
#
interface Ethernet1/0/13 port access vlan 4
port isolate
#
interface Ethernet1/0/14
port isolate
#
interface Ethernet1/0/15 port access vlan 5
#
interface Ethernet1/0/16 port access vlan 5
#
interface Ethernet1/0/17 port access vlan 5
#
interface Ethernet1/0/18 port access vlan 5
#
interface Ethernet1/0/19 port access vlan 5
#
interface Ethernet1/0/20 port access vlan 5
#
interface Ethernet1/0/21 #
interface Ethernet1/0/22 #
interface Ethernet1/0/23 #
interface Ethernet1/0/24
port access vlan 6
#
interface GigabitEthernet1/1/1
#
interface GigabitEthernet1/1/2
#
interface GigabitEthernet1/1/3
#
interface GigabitEthernet1/1/4
#
undo irf-fabric authentication-mode
#
interface NULL0
#
voice vlan mac-address 0001-e300-0000 mask ffff-ff00-0000
#
ip route-static 0.0.0.0 preference 60
#
user-interface aux 0 7
user-interface vty 0 4
#
return另需要路由器上添加回路,对应该交换机的路由规则. 侠诺路由器支持多子网段,还需添加的子网段.