{"id":21131,"date":"2026-09-24T11:05:17","date_gmt":"2026-09-24T11:05:17","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=21131"},"modified":"2026-09-24T11:05:17","modified_gmt":"2026-09-24T11:05:17","slug":"huawei-h12-821-practice-test-questions-and-exam-dumps-part19-q361-380","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/huawei-h12-821-practice-test-questions-and-exam-dumps-part19-q361-380\/","title":{"rendered":"Huawei H12-821 Practice Test Questions and Exam Dumps Part19 Q361-380"},"content":{"rendered":"<p><b>View Full <\/b><a href=\"https:\/\/www.examlabs.com\/h12-821-exam-dumps\"><b>Huawei H12-821 Exam Dumps<\/b><\/a><b> and Practice Test Dumps.<\/b><\/p>\n<p><b><br \/>\n<\/b><b>Question 361. What is the PRIMARY purpose of an IP prefix list on a Huawei router?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> To encrypt routing updates<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To match routes according to destination prefixes and prefix lengths for routing-policy control<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To assign VLAN IDs<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To create BGP TCP sessions<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. To match routes according to destination prefixes and prefix lengths for routing-policy control<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An IP prefix list is designed specifically for route matching. It can identify routes according to their network prefix and mask length and can also match a range of prefix lengths using options such as <\/span><span style=\"font-weight: 400;\">greater-equal<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">less-equal<\/span><span style=\"font-weight: 400;\">. This makes prefix lists particularly suitable for routing policies, route filtering, redistribution control, and BGP import or export filtering. Unlike packet ACLs, which are frequently used to classify traffic, prefix lists focus directly on routing prefixes. Huawei processes prefix-list entries according to their indexes and stops after a route matches an applicable entry.<\/span><\/p>\n<p><b>Question 362. In an IPv4 prefix list, what does the <\/b><b>less-equal<\/b><b> parameter specify?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> The minimum allowed route preference<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The smallest permitted AS number<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The lowest allowed prefix length<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The maximum prefix length that can match the prefix-list entry<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. The maximum prefix length that can match the prefix-list entry<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Huawei <\/span><span style=\"font-weight: 400;\">less-equal<\/span><span style=\"font-weight: 400;\"> option defines the upper boundary of the matching mask-length range in an IP prefix list. For example, a rule based on 10.0.0.0\/8 with <\/span><span style=\"font-weight: 400;\">less-equal 24<\/span><span style=\"font-weight: 400;\"> can match qualifying more-specific routes whose prefix lengths fall between the base mask length and \/24. If both <\/span><span style=\"font-weight: 400;\">greater-equal<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">less-equal<\/span><span style=\"font-weight: 400;\"> are specified, they define the minimum and maximum accepted prefix lengths respectively. Huawei requires the configured values to satisfy the logical relationship between the base mask, lower threshold, upper threshold, and the IPv4 maximum of \/32.<\/span><\/p>\n<p><b>Question 363. What does the <\/b><b>greater-equal<\/b><b> parameter in a Huawei IP prefix list control?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> The minimum prefix length that a matching route must have<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The maximum BGP MED value<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The largest Local Preference value<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The minimum route preference<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. The minimum prefix length that a matching route must have<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">greater-equal<\/span><span style=\"font-weight: 400;\"> parameter specifies the minimum prefix length that a matching route must have. For example, if a prefix-list entry is based on 10.0.0.0\/8 and includes <\/span><span style=\"font-weight: 400;\">greater-equal 17<\/span><span style=\"font-weight: 400;\">, routes must have a prefix length of at least \/17 while still falling within the configured base prefix. If <\/span><span style=\"font-weight: 400;\">less-equal<\/span><span style=\"font-weight: 400;\"> is also configured, the two parameters define a bounded range. Prefix-length filtering is useful when an administrator wants to accept or reject only certain more-specific routes rather than matching one exact subnet mask.<\/span><\/p>\n<p><b>Question 364. What happens if a route matches none of the entries in a Huawei IP prefix list used directly for route filtering?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> The route is automatically converted to a default route<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The route is always permitted<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The route is rejected by default<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The route is installed with preference 255<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. The route is rejected by default<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Huawei prefix lists use an implicit rejection behavior for routes that fail to match any permitted entry. This is why a prefix list containing only deny entries can unintentionally block every route. If the administrator wants to reject selected prefixes but permit everything else, a final broad permit entry is commonly added, such as one matching 0.0.0.0\/0 with <\/span><span style=\"font-weight: 400;\">less-equal 32<\/span><span style=\"font-weight: 400;\">. This behavior is important when troubleshooting route-policy or <\/span><span style=\"font-weight: 400;\">filter-policy<\/span><span style=\"font-weight: 400;\"> configurations because an omitted catch-all permit statement can cause more routes to disappear than originally intended.<\/span><\/p>\n<p><b>Question 365. What is the effect of the following prefix-list entry: <\/b><b>ip ip-prefix TEST permit 10.0.0.0 8 greater-equal 16 less-equal 24<\/b><b>?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> It permits qualifying routes within 10.0.0.0\/8 whose prefix lengths range from \/16 through \/24<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> It permits only 10.0.0.0\/8 exactly<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> It permits all IPv4 routes<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> It permits only routes longer than \/24<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. It permits qualifying routes within 10.0.0.0\/8 whose prefix lengths range from \/16 through \/24<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The base network in this prefix list is 10.0.0.0\/8. The <\/span><span style=\"font-weight: 400;\">greater-equal 16<\/span><span style=\"font-weight: 400;\"> statement requires a matching route to have a mask length of at least \/16, while <\/span><span style=\"font-weight: 400;\">less-equal 24<\/span><span style=\"font-weight: 400;\"> limits the maximum length to \/24. Therefore, qualifying routes must belong to the 10.0.0.0\/8 address space and have prefix lengths from \/16 through \/24 inclusive. Prefix lists provide this type of precise route control more naturally than ordinary traffic ACLs because both the network prefix and route-mask range can be evaluated directly.<\/span><\/p>\n<p><b>Question 366. What is the PRIMARY purpose of an AS_Path filter in Huawei BGP policy control?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> To match VLAN tags<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To modify OSPF cost directly<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To allocate MPLS labels<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To match BGP routes according to the autonomous system numbers contained in their AS_Path attributes<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. To match BGP routes according to the autonomous system numbers contained in their AS_Path attributes<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An AS_Path filter allows Huawei devices to classify BGP routes according to patterns found in the AS_Path attribute. Because AS_Path records the sequence of autonomous systems a route has traversed, administrators can use regular expressions to identify routes originating from, passing through, or matching particular AS combinations. The filter can then be referenced by a route-policy using <\/span><span style=\"font-weight: 400;\">if-match as-path-filter<\/span><span style=\"font-weight: 400;\">. This provides powerful control over BGP import and export policy without matching individual IP prefixes. Huawei supports numbered or named AS_Path filters containing permit and deny expressions.<\/span><\/p>\n<p><b>Question 367. What does a Huawei community filter primarily match?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Interface bandwidth values<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> BGP community attributes attached to routes<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> MPLS transport labels<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> OSPF router priorities<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. BGP community attributes attached to routes<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">BGP communities are tags attached to routes so routing policy can treat groups of routes consistently. A Huawei community filter is designed to match routes according to those community attributes. Rather than maintaining a separate prefix list for every route, an operator can tag related prefixes with a common value and then apply import, export, or attribute-modification policy based on the tag. This provides scalable routing policy, especially in service-provider and large enterprise environments. Well-known communities such as No_Export can also affect how far routes may be propagated beyond the current autonomous system.<\/span><\/p>\n<p><b>Question 368. In a Huawei route-policy, what is the role of an <\/b><b>if-match<\/b><b> clause?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> It immediately modifies BGP attributes<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> It installs the route in the forwarding table<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> It defines the conditions a route must satisfy for that route-policy node to match<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> It automatically creates a new routing protocol<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. It defines the conditions a route must satisfy for that route-policy node to match<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A route-policy is built from nodes that contain matching conditions and optional actions. The <\/span><span style=\"font-weight: 400;\">if-match<\/span><span style=\"font-weight: 400;\"> clauses define those conditions. They can reference information such as IP prefix lists, ACLs, AS_Path filters, communities, route tags, or route preferences depending on the platform and protocol. When a route satisfies the matching logic of a permit node, the route can be accepted and any configured <\/span><span style=\"font-weight: 400;\">apply<\/span><span style=\"font-weight: 400;\"> actions can modify its attributes. This separation between matching and action makes route-policy highly flexible for import, export, redistribution, and BGP traffic-engineering scenarios.<\/span><\/p>\n<p><b>Question 369. What is the PRIMARY function of an <\/b><b>apply<\/b><b> clause in a Huawei route-policy?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> To specify packet encryption<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To elect a BGP route reflector<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To define the route-policy node number<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To modify route attributes or parameters after the route matches the policy node<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. To modify route attributes or parameters after the route matches the policy node<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">After a route satisfies the matching conditions in a route-policy node, <\/span><span style=\"font-weight: 400;\">apply<\/span><span style=\"font-weight: 400;\"> clauses can change relevant route attributes. Depending on the protocol and platform, these actions may modify attributes such as cost, tag, preference, Local Preference, MED, communities, or other supported properties. Huawei&#8217;s route-policy output explicitly distinguishes Match clauses from Apply clauses. This makes the logic straightforward: <\/span><span style=\"font-weight: 400;\">if-match<\/span><span style=\"font-weight: 400;\"> identifies the routes of interest, while <\/span><span style=\"font-weight: 400;\">apply<\/span><span style=\"font-weight: 400;\"> determines how matching routes should be modified. Route-policy can therefore provide both filtering and attribute-manipulation functions.<\/span><\/p>\n<p><b>Question 370. Why are route-policy node sequence numbers important?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> They determine the device&#8217;s router ID<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Route-policy nodes are evaluated according to their sequence, so a route may match an earlier node before later nodes are considered<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> They define the BGP TCP port<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> They identify the VLAN used by the policy<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. Route-policy nodes are evaluated according to their sequence, so a route may match an earlier node before later nodes are considered<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A route-policy can contain several numbered nodes, allowing specific route conditions to be evaluated before broader ones. Proper ordering is therefore important. An early node might deny a selected prefix, while a later node permits and modifies a broader set of routes. If the rules are placed in the wrong sequence, a broad earlier condition can prevent a more specific later policy from ever taking effect. Administrators commonly leave gaps between node numbers so additional logic can be inserted later without renumbering the entire policy. This structured sequencing makes route-policy easier to expand and maintain.<\/span><\/p>\n<p><b>Question 371. Which Huawei command family is commonly used to filter routes entering or leaving a routing protocol process without necessarily modifying route attributes?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">filter-policy<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">traffic-filter<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">port-security<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">mac-address<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>filter-policy<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Huawei routing protocols commonly support the <\/span><span style=\"font-weight: 400;\">filter-policy<\/span><span style=\"font-weight: 400;\"> mechanism to control which routes are imported, installed, or advertised depending on the protocol and configuration context. A filter-policy can reference an IP prefix list, ACL, or other supported filtering tool. For example, Huawei OSPF troubleshooting documentation shows <\/span><span style=\"font-weight: 400;\">filter-policy ip-prefix import<\/span><span style=\"font-weight: 400;\"> being used to prevent selected OSPF routes from entering the local routing table. This differs from interface <\/span><span style=\"font-weight: 400;\">traffic-filter<\/span><span style=\"font-weight: 400;\">, which applies packet filtering to data-plane traffic. Route filtering therefore operates on routing information rather than ordinary user packets.<\/span><\/p>\n<p><b>Question 372. If OSPF has learned a route into its OSPF routing information but <\/b><b>filter-policy import<\/b><b> denies that route, what is the expected local effect?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> The LSA is necessarily removed from every router&#8217;s LSDB<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The route is automatically redistributed into BGP<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The route can be prevented from being installed in the local IP routing table even though OSPF may still know the route<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The entire OSPF adjacency is torn down<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. The route can be prevented from being installed in the local IP routing table even though OSPF may still know the route<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Huawei distinguishes between OSPF&#8217;s protocol information and the device&#8217;s final local routing table. An OSPF <\/span><span style=\"font-weight: 400;\">filter-policy import<\/span><span style=\"font-weight: 400;\"> can filter routes when they are being added to the local routing table. Huawei documentation notes that the device may still maintain the corresponding OSPF routing or LSA information even though the filtered route does not become an active local IP route. This is an important troubleshooting distinction: filtering a learned route locally does not necessarily mean the OSPF LSA disappeared from the LSDB or that neighbors stopped advertising it.<\/span><\/p>\n<p><b>Question 373. What is the PRIMARY purpose of applying an export policy to BGP?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> To control which routes and attributes are advertised from the local BGP router to selected peers<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To control which Ethernet frames enter a switch port<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To select the VRRP Master<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To assign DHCP options<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. To control which routes and attributes are advertised from the local BGP router to selected peers<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A BGP export policy controls information leaving the local BGP speaker. It can determine which routes are advertised to a particular peer and can modify BGP attributes before advertisement. This is essential for implementing routing contracts, controlling Internet announcements, preventing accidental route leaks, and performing traffic engineering. Huawei BGP processing supports routing policies both when routes are imported into BGP and when routes are received from or advertised to peers. Export policy should therefore be designed carefully because an incorrect permit rule can advertise unintended internal or customer prefixes.<\/span><\/p>\n<p><b>Question 374. What is the PRIMARY purpose of a BGP import policy applied to a peer?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> To change STP port roles<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To configure DHCP relay<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To set MPLS tunnel bandwidth<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To control which received BGP routes are accepted and optionally modify their attributes<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. To control which received BGP routes are accepted and optionally modify their attributes<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A BGP import policy is applied to routes received from a peer before those routes are accepted into the local BGP decision process. The policy can reject unwanted prefixes or match selected routes and alter attributes such as Local Preference or other supported values. This is useful for protecting the network against unwanted advertisements and for influencing which external or internal paths the local autonomous system prefers. Huawei BGP supports routing-policy application during route import, peer reception, and route export, allowing control at multiple stages of route processing.<\/span><\/p>\n<p><b>Question 375. What is a major reason to filter redistributed routes between two routing protocols?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> To reduce the risk of unintended route propagation or routing loops between the two domains<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To increase every route&#8217;s metric automatically<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To disable all route selection<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To ensure every route is redistributed in both directions<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. To reduce the risk of unintended route propagation or routing loops between the two domains<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Mutual redistribution can create serious problems if routes learned from one protocol are injected into another and later redistributed back toward their original source. Filtering and route tagging help administrators control exactly which routes cross protocol boundaries and prevent routes from circulating between routing domains. Good redistribution design therefore uses explicit policies rather than indiscriminately importing every available route. Administrators may match prefixes, tags, protocol source, or other attributes and then permit only the routes that have a genuine business or topology requirement to cross the boundary.<\/span><\/p>\n<p><b>Question 376. Why are route tags useful during mutual redistribution?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> They encrypt redistributed routes<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> They increase interface bandwidth<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> They can identify the origin or redistribution history of routes so policy can prevent them from being re-imported improperly<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> They replace route metrics<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. They can identify the origin or redistribution history of routes so policy can prevent them from being re-imported improperly<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A route tag is metadata that can be attached to a route and later matched by routing policy. During mutual redistribution, an administrator can apply a specific tag when routes enter a routing domain. At the opposite redistribution point, policy can deny routes carrying that tag so they are not injected back into the protocol from which they originally came. This is a common technique for controlling redistribution loops in complex networks. Tags do not encrypt routes or replace routing metrics; they provide policy context that allows routers to distinguish routes according to their prior processing history.<\/span><\/p>\n<p><b>Question 377. What is a PRIMARY advantage of using BGP communities for routing policy instead of maintaining separate prefix lists for every policy group?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Communities automatically create physical links<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Communities replace the need for IP prefixes entirely<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Communities encrypt BGP routes<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Communities let multiple routes be tagged and processed consistently as a logical group**<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. Communities let multiple routes be tagged and processed consistently as a logical group<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">BGP communities provide a scalable way to classify routes. Instead of writing a long list of individual prefixes in every downstream policy, an operator can attach the same community value to all routes that should receive similar treatment. Other routers can then match the community and apply the appropriate Local Preference, advertisement restriction, or other supported action. This makes policy easier to maintain when prefixes change but their business role remains the same. Huawei BGP supports standard community attributes and well-known values such as No_Export, enabling both custom and standardized policy behavior.<\/span><\/p>\n<p><b>Question 378. What does the BGP <\/b><b>network<\/b><b> method provide compared with broadly importing an entire routing protocol into BGP?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> More precise injection of explicitly specified routes into the BGP routing table<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Automatic advertisement of every route on the router<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Replacement of BGP route selection<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Automatic creation of a default route on all peers<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. More precise injection of explicitly specified routes into the BGP routing table<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Huawei distinguishes two common ways of introducing routes into BGP: importing routes by protocol type and using the network method. Protocol import can bring routes learned through an entire source protocol, such as OSPF or static routing, subject to policy. The network method is more precise because the administrator specifies the exact prefix to introduce into BGP. This can reduce the risk of unintentionally advertising large numbers of internal routes. In both cases, route-policy can be used to filter or modify the routes before they enter the BGP routing table.<\/span><\/p>\n<p><b>Question 379. A route-policy contains several <\/b><b>if-match as-path-filter<\/b><b> references in the same matching statement. What relationship does Huawei document between those AS_Path filters?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> XOR<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> OR<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> They are always processed as a numeric sum<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Only the final filter is evaluated<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. OR<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Huawei documents that when multiple AS_Path filters are referenced by the same <\/span><span style=\"font-weight: 400;\">if-match as-path-filter<\/span><span style=\"font-weight: 400;\"> command, the relationship between those filters is OR. Therefore, if a BGP route matches any one of the referenced AS_Path filters, it satisfies that matching condition. This allows one route-policy node to cover several acceptable or interesting AS_Path patterns without requiring a separate route-policy node for each filter. Administrators should still design the underlying regular expressions carefully because overly broad AS_Path patterns can unintentionally match routes that were not meant to be included.<\/span><\/p>\n<p><b>Question 380. An enterprise receives BGP routes from two providers. It wants to accept only approved prefixes, prefer selected routes through one provider, prevent accidental advertisement of internal prefixes, and avoid redistribution loops between BGP and OSPF. Which design BEST meets these requirements?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Accept and advertise all routes without policy<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Use only interface ACLs<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Use IP prefix lists and BGP import\/export route-policies, modify attributes such as Local Preference for path control, and use filtering or route tags when redistributing with OSPF<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Disable BGP and rely entirely on STP<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. Use IP prefix lists and BGP import\/export route-policies, modify attributes such as Local Preference for path control, and use filtering or route tags when redistributing with OSPF<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The requirements call for coordinated routing policy rather than packet filtering alone. IP prefix lists can precisely identify approved routes. BGP import policies control which provider routes are accepted and can modify attributes such as Local Preference to influence outbound path selection. Export policies prevent sensitive internal prefixes from being advertised externally. Finally, controlled redistribution between OSPF and BGP should use explicit filters and, where useful, tags that identify redistributed routes so they are not accidentally reintroduced into their original routing domain. This produces a safer and more predictable routing design than broad bidirectional redistribution without policy.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>View Full Huawei H12-821 Exam Dumps and Practice Test Dumps. Question 361. What is the PRIMARY purpose of an IP prefix list on a Huawei router? To encrypt routing updates To match routes according to destination prefixes and prefix lengths for routing-policy control To assign VLAN IDs To create BGP TCP sessions Correct Answer: 2. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1648,1647],"tags":[],"_links":{"self":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/21131"}],"collection":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/comments?post=21131"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/21131\/revisions"}],"predecessor-version":[{"id":21132,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/21131\/revisions\/21132"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=21131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=21131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=21131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}