问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501

ZTE的H3C交换机 S5120-series,怎么实现3层交换?

发布网友 发布时间:2022-04-24 20:17

我来回答

3个回答

热心网友 时间:2022-05-01 23:38

<H3C>display current-configuration
#
sysname H3C
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
#
domain default enable system
#
telnet server enable
#
undo ip ttl-expires
#
acl number 3001
rule 0 permit ip source 129.62.160.197 0 destination 0.0.0.0 255.255.255.0
acl number 3002
rule 0 permit ip source 0.0.0.0 255.255.255.0 destination 129.62.160.197 0
#
vlan 1
#
vlan 2
description wlan
#
vlan 10
description teacher
#
vlan 20
description student
#
vlan 30
description people
#
vlan 100
description to:router
#
radius scheme system
server-type extended
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
traffic classifier classifier_Server operator and
if-match acl 3002
traffic classifier classifier_hostB operator and
if-match acl 3001
#
traffic behavior behavior_hostB
car cir 3072 cbs 12000 ebs 12000 green pass red discard yellow pass
traffic behavior behavior_Server
car cir 3072 cbs 12000 ebs 12000 green pass red discard yellow pass
#
qos policy policy_Server
classifier classifier_Server behavior behavior_Server
qos policy policy_hostB
classifier classifier_hostB behavior behavior_hostB
#
user-group system
#
local-user admin
password simple admin
authorization-attribute level 3
service-type telnet
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.255.254 255.255.255.0
#
interface Vlan-interface2
description wlan
ip address 192.168.0.254 255.255.255.0
#
interface Vlan-interface10
description teacher
ip address 192.168.1.254 255.255.255.0
#
interface Vlan-interface20
description student
ip address 192.168.2.254 255.255.255.0
#
interface Vlan-interface30
description people
ip address 192.168.3.254 255.255.255.0
#
interface Vlan-interface100
ip address 192.168.200.1 255.255.255.252
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/2
#
interface GigabitEthernet1/0/3
port link-type trunk
port trunk permit vlan all
flow-control
#
interface GigabitEthernet1/0/4
port link-type trunk
port trunk permit vlan all
flow-control
#
interface GigabitEthernet1/0/5
port link-type trunk
port trunk permit vlan all
flow-control
#
interface GigabitEthernet1/0/6
port link-type trunk
port trunk permit vlan all
flow-control
#
interface GigabitEthernet1/0/7
port link-type trunk
port trunk permit vlan all
flow-control
#
interface GigabitEthernet1/0/8
port link-type trunk
port trunk permit vlan all
flow-control
#
interface GigabitEthernet1/0/9
port link-type trunk
port trunk permit vlan all
flow-control
#
interface GigabitEthernet1/0/10
port link-type trunk
port trunk permit vlan all
flow-control
#
interface GigabitEthernet1/0/11
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/12
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/13
#
interface GigabitEthernet1/0/14
#
interface GigabitEthernet1/0/15
#
interface GigabitEthernet1/0/16
#
interface GigabitEthernet1/0/17
#
interface GigabitEthernet1/0/18
#
interface GigabitEthernet1/0/19
#
interface GigabitEthernet1/0/20
port access vlan 100
speed 1000
plex full
#
interface GigabitEthernet1/0/21
shutdown
#
interface GigabitEthernet1/0/22
shutdown
#
interface GigabitEthernet1/0/23
shutdown
#
interface GigabitEthernet1/0/24
speed 1000
plex full
shutdown
#
interface GigabitEthernet1/0/25
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/26
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/27
#
interface GigabitEthernet1/0/28
#
nqa entry imclinktopologypleaseignore ping
type icmp-echo
destination ip 192.168.255.253
frequency 270000
#
ip route-static 0.0.0.0 0.0.0.0 192.168.200.2
#
snmp-agent
snmp-agent local-engineid 800063A203C4CAD94C2777
snmp-agent community read public
snmp-agent community write private
snmp-agent sys-info version all
snmp-agent target-host trap address udp-domain 192.168.255.100 params securityname public
#
nqa schele imclinktopologypleaseignore ping start-time now lifetime 630720000
#
user-interface aux 0 8
user-interface vty 0 4
authentication-mode scheme
#
return
<H3C>

不需要什么命令去开户。
它的三层功能实现,就是单臂路由的形式。不需要写入路由条目,跟路由器的直连路由一个道理。

热心网友 时间:2022-05-02 00:56

楼主这个表述有误。
zte是中兴
h3c是华三,这是两家公司。

s5120-si有8个三层接口地址,超过就不行。
默认启用三层后,不同网段之间是互通的。

热心网友 时间:2022-05-02 02:31

S5120 SI是二层千兆交换机
S5120 EI是三层交换机
声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com
李卓彬工作简历 林少明工作简历 广东工业职业技术学院怎么样 郑德涛任职简历 唐新桂个人简历 土地入股的定义 ups快递客服电话24小时 贷款记录在征信保留几年? 安徽徽商城有限公司公司简介 安徽省徽商集团新能源股份有限公司基本情况 h3c交换机如何设置用户权限? 秋天的草莓有什么变化? 秋天可以,种草莓吗 H3C S系列交换机不同网段之间的VLAN互访问题 草莓成熟是什么季节? 奶油草莓秋季能结果吗? 如何练习篮球基本动作? 请问H3C S5560 EI交换机怎么按端口设置vlan?如果是两台又怎么设置vlan?能直接告诉 秋天的草莓春天能结果吗? 篮球持球基本姿势是什么样的。 草莓在秋季会成熟吗? 我们公司最近买了一批H3C S5560 30ei的交换机,考虑是否要更新version,请问怎么查询最新的固件版本? 秋天有草莓是吗? H3C S5560-30S-EI三层交换机如何禁止相同VLAN内电脑内互访?????? 草莓四季结果吗? 篮球基础训练动作是什么? 草莓是什么季节结果的 草莓一年四季都会结果吗? 哪些篮球基本姿势需要学习? 草莓春天结果了,秋天还会结果吗? 可以把图片p到视频的软件,手机的 手机怎么1080p修复以前的视频 在南昌哪里配眼镜比较好,价格在500左右吧!! 南昌配眼镜哪里性价比高 南昌配眼镜哪里好 南昌胜利路步行街上哪家或哪几家眼镜店质量可靠,性价比高? 请问谁是江西南昌的?哪里配眼镜比较好一点,便宜一点。 南昌有哪些好的眼镜店 南昌配眼镜哪好?价钱在200元左右. 南昌哪里的眼镜店便宜啊,南昌配眼镜怎么都这么贵啊? 近视了去南昌哪个地方配眼镜比较好 南昌配眼镜,哪里可以买到质量既好又价格便宜的眼镜? 南昌配眼镜 南昌哪配眼镜便宜 南昌哪里配眼镜好?悬赏200 请问南昌哪个眼镜店或医院配眼镜好? 在南昌哪一家眼镜店配眼镜比较好,求推荐! 南昌哪里配眼镜好? 南昌配眼镜去那家店好? 南昌哪里有眼镜店