设为首页收藏本站language 语言切换
查看: 2183|回复: 1
收起左侧

[分享] H3C三层交换机VLAN配置实例

[复制链接]
发表于 2011-7-28 10:10:57 | 显示全部楼层 |阅读模式
<H3C>
<H3C>dis cu
#
sysname H3C
#
radius scheme system
#
domain system
#
acl number 2011
rule 0 deny
rule 1 permit source 172.16.11.0 0.0.0.255
acl number 2012
rule 0 deny
rule 1 permit source 172.16.12.0 0.0.0.255
acl number 2013
rule 0 deny
rule 1 permit source 172.16.13.0 0.0.0.255
acl number 2021
rule 0 deny
rule 1 permit source 172.16.21.0 0.0.0.255
acl number 2022
rule 0 deny
rule 1 permit source 172.16.22.0 0.0.0.255
acl number 2023
rule 0 deny
rule 1 permit source 172.16.23.0 0.0.0.255
acl number 2031
rule 0 deny
rule 1 permit source 172.16.31.0 0.0.0.255
acl number 2032
rule 0 deny
rule 1 permit source 172.16.32.0 0.0.0.255
acl number 2033
rule 0 deny
rule 1 permit source 172.16.33.0 0.0.0.255
acl number 2041
rule 0 deny
rule 1 permit source 172.16.41.0 0.0.0.255
acl number 2042
rule 0 deny
rule 1 permit source 172.16.42.0 0.0.0.255
acl number 2043
rule 0 deny
rule 1 permit source 172.16.43.0 0.0.0.255
acl number 2080
rule 0 deny
rule 1 permit source 172.16.80.0 0.0.0.255
#
vlan 1
#
vlan 11
#
vlan 12
#
vlan 13
#
vlan 21
#
vlan 22
#
vlan 23
#
vlan 31
#
vlan 32
#
vlan 33
#
vlan 41
#
vlan 42
#
vlan 43
#
vlan 80
#
interface Aux1/0/0
#
interface Ethernet1/0/1
port link-type hybrid
port hybrid vlan 1 11 untagged
port hybrid pvid vlan 11
packet-filter inbound ip-group 2011 rule 0
packet-filter inbound ip-group 2011 rule 1
#
interface Ethernet1/0/2
port link-type hybrid
port hybrid vlan 1 12 untagged
port hybrid pvid vlan 12
packet-filter inbound ip-group 2012 rule 0
packet-filter inbound ip-group 2012 rule 1
#
interface Ethernet1/0/3
port link-type hybrid
port hybrid vlan 1 13 untagged
port hybrid pvid vlan 13
packet-filter inbound ip-group 2013 rule 0
packet-filter inbound ip-group 2013 rule 1
#
interface Ethernet1/0/4
port link-type hybrid
port hybrid vlan 1 21 untagged
port hybrid pvid vlan 21
packet-filter inbound ip-group 2021 rule 0
packet-filter inbound ip-group 2021 rule 1
#
interface Ethernet1/0/5
port link-type hybrid
port hybrid vlan 1 22 untagged
port hybrid pvid vlan 22
packet-filter inbound ip-group 2022 rule 0
packet-filter inbound ip-group 2022 rule 1
#
interface Ethernet1/0/6
port link-type hybrid
port hybrid vlan 1 23 untagged
port hybrid pvid vlan 23
packet-filter inbound ip-group 2023 rule 0
packet-filter inbound ip-group 2023 rule 1
#
interface Ethernet1/0/7
port link-type hybrid
port hybrid vlan 1 31 untagged
port hybrid pvid vlan 31
packet-filter inbound ip-group 2031 rule 0
packet-filter inbound ip-group 2031 rule 1
#
interface Ethernet1/0/8
port link-type hybrid
port hybrid vlan 1 32 untagged
port hybrid pvid vlan 32
packet-filter inbound ip-group 2032 rule 0
packet-filter inbound ip-group 2032 rule 1
#
interface Ethernet1/0/9
port link-type hybrid
发表于 2012-4-29 20:30:34 | 显示全部楼层
东西拿走 资料学习。。。
沙发 2012-4-29 20:30:34 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-1-31 06:34 , Processed in 0.062393 second(s), 10 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表