Free H31-161 Exam Braindumps
HCIE-Carrier IP (Written) Questions 76–80 (page: 17)

Updated On: 10-Feb-2026

As shown in the figure, for SWA, Eth0/2 belongs to VLAN 2, and Eth0/24 (PVID = 2) is a trunk interface and permits packets from VLAN 2 and VLAN 3 to pass through; for SWB, Eth0/2 belongs to VLAN 2, Eth0/3 belongs to VLAN 3, and Eth0/24 (PVID) is a trunk interface and permits packets from VLAN 2 and VLAN 3 to pass through.
Which statement is true?

  1. PC A can ping both PC B and PC C.
  2. PC A can ping neither PC B nor PC C.
  3. PC A can ping PC B instead of PC
  4. PC A can ping PC C instead of PC B.

Answer(s): D



As shown in the figure, PE 1 sets up an MP-IBGP neighbor relationship with PE 2 and they communicate over MPLS LDP. A CE communicates with a PE over EBGP.Add two entries to the routing table of the VRF on PE 1:
VRF1 RD 100:1, IRT 1:1, ERT 2:2VRF2 RD 100:2, IRT 1:1, 2:2, ERT 2:2, 3:3 Add two entries to the routing table of the VRF on PE 2:
VRF1 RD 100:1, IRT 1:1, ERT 2:2
VRF2 RD 100:2, IRT 2:2, ERT 1:1
Import a valid static route 1.1.1.1/32 on CE 1. Suppose CE 2, CE 3, and CE 4 do not have route 1.1.1.1/32 in the local routing table.
Which of the following routers have route 1.1.1.1/32 in the unicast routing table?

  1. PE 1
  2. CE 2
  3. CE 3
  4. CE 4

Answer(s): B,D



Refer to the exhibit.



As shown in the figure, CE 1 and CE 3 belong to VPN A, CE 2 and CE 4 belong to VPN B, and users on different VPNs are not allowed to access each other.
Which of the following configurations can enable mutual access between CE 1 and CE 4 but forbid cross-VPN access between other CEs?
Configuration of PE 1:

sysname PE 1
#
ip vpn-instance vpna route-distinguisher 100:1vpn-target 1:1 3:3 export-extcommunity vpn-target 1:1 3:3 import-extcommunity
# i p vpn-instance vpnb route-distinguisher 100:2
vpn-target 2:2 4:4 export-extcommunity vpn-target 2:2 4:4 import-extcommunity
#
Configuration of PE 2:
#
sysname PE 2
#
ip vpn-instance vpna route-distinguisher 200:1
vpn-target 1:1 export-extcommunity vpn-target 1:1 import-extcommunity
#
ip vpn-instance vpnb route-distinguisher 200:2
vpn-target 2:2 4:4 export-extcommunity vpn-target 2:2 4:4 import-extcommunity

  1. Run vpn-target 1:1 on VPN b of PE 2
    The configuration is as follows:
    [PE 2]ip vpn vpnb
    [PE 2-vpn-instance-vpnb]vpn-target 1:1 export-extcommunity [PE 2-vpn-instance-vpnb]vpn-target 1:1 import-extcommunity
  2. Run vpn-target 2:2 on VPN a of PE 1The configuration is as follows:
    [PE 1]ip vpn vpna
    [PE 1-vpn-instance-vpna]vpn-target 2:2 export-extcommunity [PE 1-vpn-instance-vpna]vpn-target 2:2 import-extcommunity
  3. Run vpn-target 3:3 on VPN b of PE 2
    The configuration is as follows:
    [PE 2]ip vpn vpnb
    [PE 2-vpn-instance-vpnb]vpn-target 3:3 export-extcommunity [PE 2-vpn-instance-vpnb]vpn-target 3:3 import-extcommunity "
  4. Run vpn-target 4:4 on VPN a of PE 1
    The configuration is as follows:
    [PE 1]ip vpn vpna
    [PE 1-vpn-instance-vpna]vpn-target 4:4 export-extcommunity [PE 1-vpn-instance-vpna]vpn-target 4:4 import-extcommunity

Answer(s): C



Refer to the exhibit.



Which statement about Hub & Spoke MPLS VPN is false?

  1. If two Spoke sites are connected to the same Spoke PE, they must be assigned to different VPN instances to prevent them from exchanging routing information.
  2. The route of traffic from Spoke site 1 to Hub site 2: Traffic enters Hub site 3 through an interface under VPN1-Hub of the Hub PE and is then forwarded to Spoke site 2 through an interface under VPN1-Spoke of the Hub PE.
  3. The route of traffic from Spoke site 2 to Hub site 1: Traffic enters Hub site 3 through an interface under VPN1-Spoke of the Hub PE and is then forwarded to Spoke site 2 through an interface under VPN1-Hub of the Hub PE.
  4. The Hub PE can advertise aggregate Spoke site routes or default routes to Spoke PEs through VPNv4.
    E .Routes advertised by a Spoke PE to Spoke site 1 of the Hub PE may be advertised back by the Hub PE through a VPNv4 neighbor.
    Configure VRFs and relevant policies on a PE as follows:
    #
    ip vpn-instance vrf1
    route-distinguisher 100:1
    export route-policy vrf1
    vpn-target 1:1 export-extcommunity vpn-target 2:2 import-extcommunity ip vpn-instance vrf2
    route-distinguisher 100:2
    import route-policy vrf2
    vpn-target 1:1 3:3 export-extcommunity vpn-target 1:1 3:3 import-extcommunity ip vpn-instance vrf3
    route-distinguisher 100:3

    import route-policy vrf3
    vpn-target 2:2 3:3 export-extcommunityvpn-target 2:2 3:3 import-extcommunity ip vpn-instance vrf4
    route-distinguisher 100:4
    import route-policy vrf4
    vpn-target 1:1 export-extcommunity vpn-target 2:2 import-extcommunity
    #
    route-policy vrf2 deny node 1
    if-match extcommunity-filter 1
    #
    route-policy vrf2 permit node 2
    #
    route-policy vrf1 permit node 1
    apply extcommunity rt 3:3 additive
    #
    route-policy vrf3 permit node 1
    if-match extcommunity-filter 2
    #
    route-policy vrf4 permit node 1
    if-match extcommunity-filter 3
    #
    ip extcommunity-filter 1 permit rt 2:2
    ip extcommunity-filter 2 deny rt 1:1
    ip extcommunity-filter 3 permit rt 3:3
    #
    If a route is imported to the routing table of VRF 1, which VRF can the route match?(A)
  5. vrf2
  6. vrf3
  7. vrf4
  8. None

Answer(s): B



Refer to the exhibit.



As shown in the figure, PE 1 sets up an MP-IBGP neighbor relationship with PE 2 and they communicate over MPLS LDP. A CE communicates with a PE over OSPF.
Configure the VRF on PE 1 as follows:

ip vpn-instance vrf1
route-distinguisher 100:1
vpn-target 1:1 export-extcommunity vpn-target 1:1 import-extcommunityConfigure OSPF on PE 1 as follows:
ospf 1 vpn-instance vrf1
area 0.0.0.0
network 100.1.1.0 0.0.0.255
Configure BGP on PE 1 as follows:
bgp 100
peer 22.22.22.22 as-number 100
peer 22.22.22.22 connect-interface LoopBack0
#
ipv4-family unicast undo synchronization peer 22.22.22.22 enable
#
ipv4-family vpnv4
policy vpn-target peer 22.22.22.22 enable
#
ipv4-family vpn-instance vrf1
import-route ospf 1
PE 2 has the same configurations as PE 1. MP-IBGP neighbor relationships have been set up between PEs, and OSPF neighbor relationships have been set up between PEs and CEs. A valid route 1.1.1.1/32 is imported from CE 1 to an OSPF area, but CE 1 does not learn the route.
What is the reason?

  1. CE cannot be connected to a PE through OSPF.
  2. CE can be connected to a PE through OSPF only when the PE also runs OSPF.
  3. An RD is shared by VRFs on PE 1 and PE 2.
  4. BGP routes must be imported to OSPF areas on a PE.

Answer(s): D



Viewing page 17 of 37
Viewing questions 81 - 85 out of 180 questions


Post your Comments and Discuss Huawei H31-161 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!