好文档 - 专业文书写作范文服务资料分享网站

华为三层交换机的配置案例

天下 分享 时间: 加入收藏 我要投稿 点赞

华为三层交换机的配置案例 配置命令

system-view //进入系统视图

[H3C]display current-configuration //显示当前配置

//以下开始配置

第一步:划分VLAN,并描述

vlan 1

description local-S3600

vlan 2

description link-to-wenquan

vlan 3

description link-to-ruzhou

vlan 4

description link-to-xiaotun

vlan 5

description link-to-baofeng

vlan 6

description link-to-pingxi

vlan 7

description link-to-pingnan

vlan 8

description Uplink-to-Putian

vlan 9

description link-to-pingxicentre

第二步:给VLAN 划网关

interface Vlan-interface2

description link to wenquan

ip address 10.41.77.41 255.255.255.192

interface Vlan-interface3

description link to ruzhou

ip address 10.41.77.105 255.255.255.192

interface Vlan-interface4

description link to xiaotun

ip address 10.41.77.169 255.255.255.192

interface Vlan-interface5

description link to baofeng

ip address 10.41.77.233 255.255.255.192

interface Vlan-interface6

description link to pingxi

ip address 10.41.78.41 255.255.255.192

interface Vlan-interface7

description link to pingnan

ip address 10.41.78.105 255.255.255.192

interface Vlan-interface8

description uplink to putian

ip address 10.41.244.102 255.255.255.252

interface Vlan-interface9

description link to pingxicentre

ip address 10.41.80.233 255.255.255.192

第三步:给VLAN 指定端口

interface Ethernet1/0/2

description link to wenquan

port access vlan 2

interface Ethernet1/0/3

description link to ruzhou

port access vlan 3

interface Ethernet1/0/4

description link to xiaotun

port access vlan 4

interface Ethernet1/0/5

description link to baofeng

port access vlan 5

interface Ethernet1/0/6

description link to pingxi

port access vlan 6

interface Ethernet1/0/7

description link to pingnan

port access vlan 7

interface Ethernet1/0/8

description uplink to putian

port access vlan 8

interface Ethernet1/0/9 to Ethernet1/0/24

description link to pingxicentre

port access vlan 9

第四步:配置路由协议

//(1)用RIP配动态路由

rip

network 10.41.77.41

network 10.41.77.105

network 10.41.77.169

network 10.41.77.233

network 10.41.78.41

network 10.41.78.105

network 10.41.80.233

network 10.41.244.102

//(2)配静态路由(只用对远端设备配一条路由即可,本地自通)---推荐用此协议

ip route 0.0.0.0 0.0.0.0 10.41.244.101

案例:华为S3600三层交换机配置方法

sys

[Quidway]vlan 2

[Quidway-vlan2]port e1/0/2

[Quidway-vlan2]int vlan 2

[Quidway-Vlan-interface2]ip add 10.41.77.41 255.255.255.192 //温泉网关

[Quidway-Vlan-interface2]vlan 3

[Quidway-vlan3]port e1/0/3

[Quidway-vlan3]int vlan 3

[Quidway-Vlan-interface3]ip add 10.41.77.105 255.255.255.192 //汝州网关

[Quidway-Vlan-interface3]vlan 4

[Quidway-vlan4]port e1/0/4

[Quidway-vlan4]int vlan 4

[Quidway-Vlan-interface4]ip add 10.41.77.169 255.255.255.192 //小屯网关

[Quidway-Vlan-interface4]vlan 5

[Quidway-vlan5]port e1/0/5

[Quidway-vlan5]int vlan 5

[Quidway-Vlan-interface5]ip add 10.41.77.233 255.255.255.192 //宝丰网关

[Quidway-Vlan-interface5]vlan 6

[Quidway-vlan6]port e1/0/6

华为三层交换机的配置案例

华为三层交换机的配置案例配置命令system-view//进入系统视图[H3C]displaycurrent-configuration//显示当前配置//以下开始配置第一步:划分VLAN,并描述vlan1
推荐度:
点击下载文档文档为doc格式
240ix5zsnb6msol1o4w75dq8n1sig300ueg
领取福利

微信扫码领取福利

微信扫码分享