扬帆起航523
2021-06-22 23:32
采纳率: 100%
浏览 20

华为模拟器,要根据原文要求拼通

 

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • 扬帆起航523 2021-07-04 20:30
    已采纳

    DHCP:sysEnter system view, return user view with Ctrl+Z.[Huawei]un in enInfo: Information center is disabled.[Huawei]v [Huawei]vlan b [Huawei]vlan batch 10 20 30Info: This operation may take a few seconds. Please wait for a moment...done.[Huawei]int g0/0/1 [Huawei-GigabitEthernet0/0/1]ip ad 192.168.2.1 24[Huawei-GigabitEthernet0/0/1]q[Huawei]int g0/0/0[Huawei-GigabitEthernet0/0/0]ip ad 12.0.0.1 24[Huawei-GigabitEthernet0/0/0]int e0/0/0[Huawei-Ethernet0/0/0]po [Huawei-Ethernet0/0/0]port l [Huawei-Ethernet0/0/0]port link-type [Huawei-Ethernet0/0/0]port link-type a [Huawei-Ethernet0/0/0]port link-type access [Huawei-Ethernet0/0/0]po [Huawei-Ethernet0/0/0]port de [Huawei-Ethernet0/0/0]port default v [Huawei-Ethernet0/0/0]port default vlan 10[Huawei-Ethernet0/0/0]int e0/0/1[Huawei-Ethernet0/0/1]po [Huawei-Ethernet0/0/1]port l [Huawei-Ethernet0/0/1]port link-type a [Huawei-Ethernet0/0/1]port link-type access [Huawei-Ethernet0/0/1]p [Huawei-Ethernet0/0/1]p d v 10[Huawei-Ethernet0/0/1]int e0/0/2[Huawei-Ethernet0/0/2]p[Huawei-Ethernet0/0/2]port link-type access[Huawei-Ethernet0/0/2]p d v 20[Huawei-Ethernet0/0/2]int e0/0/3[Huawei-Ethernet0/0/3]port link-type access[Huawei-Ethernet0/0/3]p d v 20[Huawei-Ethernet0/0/3]q[Huawei]dh [Huawei]dhcp enInfo: The operation may take a few seconds. Please wait for a moment.done.[Huawei]ip pool 1Info: It's successful to create an IP address pool.[Huawei-ip-pool-1]net [Huawei-ip-pool-1]network 192.168.2.0 mask 24[Huawei-ip-pool-1]g [Huawei-ip-pool-1]gateway-list 192.168.2.1[Huawei-ip-pool-1]q[Huawei]dhcp enable [Huawei]int g0/0/1[Huawei-GigabitEthernet0/0/1]dhcp s g RIP 1:[Huawei]rip 1[Huawei-rip-1]n [Huawei-rip-1]network 12.0.0.0[Huawei-rip-1]v 2[Huawei-rip-1]qACL2000[Huawei]acl 2000[Huawei-acl-basic-2000]rule 5 permit source 192.168.1.0 0.0.0.255 [Huawei-acl-basic-2000]rule 10 permit source 192.168.2.0 0.0.0.255[Huawei-acl-basic-2000]rule 15 permit source 192.168.3.0 0.0.0.255[Huawei-acl-basic-2000]q[Huawei]int g0/0/0[Huawei-GigabitEthernet0/0/0]nat ou [Huawei-GigabitEthernet0/0/0]nat outbound 2000[Huawei-GigabitEthernet0/0/0]q[Huawei]int vl10[Huawei-Vlanif10]ip ad 192.168.3.1 24[Huawei-Vlanif10]int vl20[Huawei-Vlanif20]ip ad 192.168.1.1 24[Huawei-Vlanif20]qACL3000:[Huawei]acl 3000[Huawei-acl-adv-3000]ru 5 deny ip source 192.168.1.0 0.0.0.255 destination 192.168.2.0 0.0.0.255[Huawei-acl-adv-3000]ru 10 deny tcp source 192.168.1.0 0.0.0.255 destination-port eq www[Huawei-acl-adv-3000]q[Huawei]int vl20[Huawei-Vlanif20]traffic-filter inbound acl 3000[Huawei-Vlanif20]qACL3001:[Huawei]acl 3001[Huawei-acl-adv-3001]rule 5 deny ip source 192.168.2.0 0.0.0.255 destination 192.168.1.0 0.0.0.255 [Huawei-acl-adv-3001]rule 10 deny tcp source 192.168.2.0 0.0.0.255 destination-port eq www[Huawei-acl-adv-3001]q[Huawei]int g0/0/1[Huawei-GigabitEthernet0/0/1]traffic-filter inbound acl 3001交换机:sysEnter system view, return user view with Ctrl+Z.[Huawei]un in enInfo: Information center is disabled.[Huawei]v b 10 20Info: This operation may take a few seconds. Please wait for a moment...done.[Huawei]int g0/0/1[Huawei-GigabitEthernet0/0/1]po [Huawei-GigabitEthernet0/0/1]port l [Huawei-GigabitEthernet0/0/1]port link- [Huawei-GigabitEthernet0/0/1]port link-flap [Huawei-GigabitEthernet0/0/1]port link-type a [Huawei-GigabitEthernet0/0/1]port link-type access [Huawei-GigabitEthernet0/0/1]p [Huawei-GigabitEthernet0/0/1]port d [Huawei-GigabitEthernet0/0/1]port d v 10[Huawei-GigabitEthernet0/0/1]int g0/0/2[Huawei-GigabitEthernet0/0/2]port link-type access[Huawei-GigabitEthernet0/0/2]port d v 20[Huawei-GigabitEthernet0/0/2]q[Huawei]int vl10[Huawei-Vlanif10]ip ad 12.0.0.2 24[Huawei-Vlanif10]int vl20[Huawei-Vlanif20]ip ad 20.1.2.1 24[Huawei-Vlanif20]q[Huawei]rip 1[Huawei-rip-1]n [Huawei-rip-1]network 12.0.0.0 [Huawei-rip-1]network 20.0.0.0[Huawei-rip-1]v 2[Huawei-rip-1]q

    已采纳该答案
    打赏 评论
  • 扬帆起航523 2021-07-04 20:46

    DHCP:
    sys
    [Huawei]un in en
    [Huawei]v
    [Huawei]vlan b
    [Huawei]vlan batch 10 20 30
    [Huawei]int g0/0/1
    [Huawei-GigabitEthernet0/0/1]ip ad 192.168.2.1 24
    [HuaweiGigabitEthernet0/0/1]q
    [Huawei]int g0/0/0
    [Huawei-GigabitEthernet0/0/0]
    ip ad 12.0.0.1 24
    [Huawei-GigabitEthernet0/0/0]int e0/0/0
    [Huawei-Ethernet0/0/0]po [Huawei-Ethernet0/0/0]port l [Huawei-Ethernet0/0/0]port link-type [Huawei-Ethernet0/0/0]port link-type a [Huawei-Ethernet0/0/0]port link-type access
    [Huawei-Ethernet0/0/0]po [Huawei-Ethernet0/0/0]port de [Huawei-Ethernet0/0/0]port default v [Huawei-Ethernet0/0/0]port default vlan 10
    [Huawei-Ethernet0/0/0]int e0/0/1
    [Huawei-Ethernet0/0/1]po [Huawei-Ethernet0/0/1]port l [Huawei-Ethernet0/0/1]port link-type a [Huawei-Ethernet0/0/1]port link-type access
    [Huawei-Ethernet0/0/1]p
    [Huawei-Ethernet0/0/1]p d v 10
    [Huawei-Ethernet0/0/1]int e0/0/2
    [Huawei-Ethernet0/0/2]p
    [Huawei-Ethernet0/0/2]port link-type access
    [Huawei-Ethernet0/0/2]p d v 20
    [Huawei-Ethernet0/0/2]int e0/0/3
    [Huawei-Ethernet0/0/3]port link-type access
    [Huawei-Ethernet0/0/3]p d v 20
    [Huawei-Ethernet0/0/3]q
    [Huawei]dh
    [Huawei]dhcp
    [Huawei]ip pool
    [Huawei-ip-pool-1]net
    [Huawei-ip-pool-1]network 192.168.2.0 mask 24
    [Huawei-ip-pool-1]g
    [Huawei-ip-pool-1]gateway-list 192.168.2.1
    [Huawei-ip-pool-1]q
    [Huawei]dhcp enable
    [Huawei]int g0/0/1
    [Huawei-GigabitEthernet0/0/1]dhcp s g RIP 1:
    [Huawei]rip 1
    [Huawei-rip-1]n
    [Huawei-rip-1]network 12.0.0.0
    [Huawei-rip-1]v 2
    [Huawei-rip-1]q
    ACL2000:
    [Huawei]acl 2000
    [Huawei-acl-basic-2000]
    rule 5 permit source 192.168.1.0 0.0.0.255
    [Huawei-acl-basic-2000]rule 10 permit source 192.168.2.0 0.0.0.255
    [Huawei-acl-basic-2000]rule 15 permit source 192.168.3.0 0.0.0.255
    [Huawei-acl-basic-2000]q
    [Huawei]int g0/0/0
    [Huawei-GigabitEthernet0/0/0]nat ou [Huawei-GigabitEthernet0/0/0]nat outbound 2000
    [HuaweiGigabitEthernet0/0/0]q
    [Huawei]int vl10
    [Huawei-Vlanif10]ip ad 192.168.3.1 24
    [Huawei-Vlanif10]int vl20
    [Huawei-Vlanif20]ip ad 192.168.1.1 24
    [Huawei-Vlanif20]q
    ACL3000:
    [Huawei]acl 3000
    [Huawei-acl-adv-3000]ru 5 deny ip source 192.168.1.0 0.0.0.255 destination 192.168.2.0 0.0.0.255
    [Huawei-acl-adv-3000]ru 10 deny tcp source 192.168.1.0 0.0.0.255 destination-port eq www
    [Huawei-acl-adv-3000]q
    [Huawei]int vl20
    [Huawei-Vlanif20]traffic-filter inbound acl 3000
    [Huawei-Vlanif20]q
    ACL3001:
    [Huawei]acl 3001
    [Huawei-acl-adv-3001]rule 5 deny ip source 192.168.2.0 0.0.0.255 destination 192.168.1.0 0.0.0.255 [Huawei-acl-adv-3001]rule 10 deny tcp source 192.168.2.0 0.0.0.255 destination-port eq www
    [Huawei-acl-adv-3001]q
    [Huawei]int g0/0/1
    [Huawei-GigabitEthernet0/0/1]traffic-filter inbound acl 3001
    交换机:
    sys
    [Huawei]un in en
    [Huawei]v b 10 20
    [Huawei]int g0/0/1
    [Huawei-GigabitEthernet0/0/1]po [Huawei-GigabitEthernet0/0/1]port l [Huawei-GigabitEthernet0/0/1]port link-
    [Huawei-GigabitEthernet0/0/1]port link-flap
    [Huawei-GigabitEthernet0/0/1]port link-type a
    [Huawei-GigabitEthernet0/0/1]port link-type access
    [Huawei-GigabitEthernet0/0/1]p [Huawei-GigabitEthernet0/0/1]port d [Huawei-GigabitEthernet0/0/1]port d v 10
    [Huawei-GigabitEthernet0/0/1]int g0/0/2
    [Huawei-GigabitEthernet0/0/2]port link-type access
    [Huawei-GigabitEthernet0/0/2]port d v 20
    [HuaweiGigabitEthernet0/0/2]q
    [Huawei]int vl10
    [Huawei-Vlanif10]ip ad 12.0.0.2 24
    [Huawei-Vlanif10]int vl20
    [Huawei-Vlanif20]ip ad 20.1.2.1 24
    [Huawei-Vlanif20]q
    [Huawei]rip 1
    [Huawei-rip-1]n
    [Huawei-rip-1]network 12.0.0.0 [Huawei-rip-1]network 20.0.0.0
    [Huawei-rip-1]v 2
    [Huawei-rip-1]q

    打赏 评论

相关推荐 更多相似问题