科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网网络频道2403H-EI pvlan功能实现典型案例(2)

2403H-EI pvlan功能实现典型案例(2)

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

组网描述:PC-------------------2403H-EI---------------SECPATH100N----------------------ADSL猫----------------INTERNET功能实现:2403H-EI下挂的1到24口的PC实现两两隔离,都通过25口上行上公网。

作者:整理自互联网 2007年12月1日

关键字: 华为 华为技术 华为交换机 华为路由器

  • 评论
  • 分享微博
  • 分享邮件

  interface Ethernet0/15

  port link-type hybrid

  port hybrid vlan 15 100 untagged

  port hybrid pvid vlan 15

  #

  interface Ethernet0/16

  port link-type hybrid

  port hybrid vlan 16 100 untagged

  port hybrid pvid vlan 16

  #

  interface Ethernet0/17

  port link-type hybrid

  port hybrid vlan 17 100 untagged

  port hybrid pvid vlan 17

  #

  interface Ethernet0/18

  port link-type hybrid

  port hybrid vlan 18 100 untagged

  port hybrid pvid vlan 18

  #

  interface Ethernet0/19

  port link-type hybrid

  port hybrid vlan 19 100 untagged

  port hybrid pvid vlan 19

  #

  interface Ethernet0/20

  port link-type hybrid

  port hybrid vlan 20 100 untagged

  port hybrid pvid vlan 20

  #

  interface Ethernet0/21

  port link-type hybrid

  port hybrid vlan 21 100 untagged

  port hybrid pvid vlan 21

  #

  interface Ethernet0/22

  port link-type hybrid

  port hybrid vlan 22 100 untagged

  port hybrid pvid vlan 22

  #

  interface Ethernet0/23

  port link-type hybrid

  port hybrid vlan 23 100 untagged

  port hybrid pvid vlan 23

  #

  interface Ethernet0/24

  port link-type hybrid

  port hybrid vlan 24 100 untagged

  port hybrid pvid vlan 24

  #

  interface Ethernet0/25 此端口用于上行,其它端口接PC,实现端口的两两隔离

  port link-type hybrid

  port hybrid vlan 1 to 24 100 untagged

  port hybrid pvid vlan 100

  #

  interface NULL0

  #

  user-interface aux 0

  user-interface vty 0 4

  authentication-mode scheme

  #

  return

  dis ver

  Copyright Notice:

  All rights reserved (Mar 23 2005).

  Without the owner's prior written consent, no decompiling

  nor reverse-engineering shall be allowed.

  Huawei-3Com Versatile Routing Platform Software

  VRP(R) software, Version 3.30, Release 0004

  Copyright (c) 2000-2004 Huawei Tech. Co.,Ltd. All rights reserved.

  Quidway SecPath 100N uptime is 0 week, 0 day, 0 hour, 13 minutes

  Router type: SecPath 100N

  CPUtype: Mips IDT RC32438 266MHz

  128M bytes DDR SDRAM Memory

  8M bytes FlashMemory

  Pcb Version:3.0

  Logic Version:1.0

  BootROM Version:1.01

  [SLOT 0] 2FE (Hardware)1.0, (Driver)1.0, (Cpld)1.0

  [Quidway]dis cu

  #

  sysname Quidway

  #

  local-user telnet

  local-user telnet service-type telnet

  local-user telnet level 3

  #

  dialer-rule 1 ip permit

  #

  interface Aux0

  async mode flow

  link-protocol ppp

  #

  interface Dialer1

  link-protocol ppp

  ppp pap local-user 123 password simple 123

  mtu 1450

  tcp mss 1024

  ip address ppp-negotiate

  dialer user quidway

  dialer-group 1

  dialer bundle 1

  nat outbound 2000

  #

  interface Ethernet0/0

  pppoe-client dial-bundle-number 1

  #

  interface Ethernet0/1

  tcp mss 1024

  ip address 192.168.1.254 255.255.255.0

  firewall packet-filter 3000 inbound

  #

  interface NULL0

  #

  acl number 2000

  rule 0 permit source 192.168.1.0 0.0.0.255

  rule 1 deny

  #

  acl number 3000

  rule 0 deny tcp destination-port eq 135

  rule 1 deny udpdestination-port eq 135

  rule 2 deny udp destination-port eq netbios-ns

  rule 3 deny udp destination-port eq netbios-dgm

  rule 4 deny tcp destination-port eq 139

  rule 5 deny tcp destination-port eq 445

  rule 6 deny tcp destination-port eq 539

  rule 7 deny udp destination-port eq 593

  rule 8 deny tcp destination-port eq 593

  rule 9 deny udp destination-port eq 1434

  rule 10 deny tcp destination-port eq 9996

  rule 11 deny tcp destination-port eq 5554

  rule 12 deny udp destination-port eq 9996

  rule 13 deny udp destination-port eq 5554

  rule 14 deny tcp destination-port eq 137

  rule 15 deny udp destination-port eq 1025

  rule 16 deny tcp destination-port eq 9995

  rule 17 deny udp destination-port eq 9995

  rule 18 deny udp destination-port eq 1068

  rule 19 deny udp destination-port eq 1023

  rule 20 deny udp destination-port eq tftp

  rule 21 deny udp destination-port eq netbios-ssn

  rule 22 deny udp destination-port eq 445

  rule 23 deny udp destination-port eq 539

  rule 24 deny tcp destination-port eq 4444

  rule 25 deny tcp destination-port eq 138

  rule 26 deny tcp destination-port eq 1025

  rule 27 deny tcp destination-port eq 1068

  rule 28 deny tcp destination-port eq 1023

  #

  ip route-static 0.0.0.0 0.0.0.0 Dialer 1 preference 60

  #

  user-interface con 0

  user-interface aux 0

  user-interface vty 0 4

  authentication-mode local

  #

  return

  [Quidway]

    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章