Refer to the exhibit. A network administrator is troubleshooting BGP configuration and wants to verify routes that carry the 100 AS in the AS_Path value. Which regular expression should the administrator use in the command show bgp ipv4 unicast regex regex-pattern?

IT Questions BankCategory: CCNPRefer to the exhibit. A network administrator is troubleshooting BGP configuration and wants to verify routes that carry the 100 AS in the AS_Path value. Which regular expression should the administrator use in the command show bgp ipv4 unicast regex regex-pattern?

Refer to the exhibit. A network administrator is troubleshooting BGP configuration and wants to verify routes that carry the 100 AS in the AS_Path value. Which regular expression should the administrator use in the command show bgp ipv4 unicast regex regex-pattern? 

  • show bgp ipv4 unicast regex .100.
  • show bgp ipv4 unicast regex $100
  • show bgp ipv4 unicast regex 100_
  • show bgp ipv4 unicast regex ^100^

Explanation: In troubleshooting BGP, regular expressions (regex) can be used to parse through the large number of available ASNs. Regular expressions are based on query modifiers used to select the appropriate content. The regex pattern 100_ indicates to only include the lines that contain the exact phrase of 100. Some regex query modifiers are as follows:

  • (underscore) - Matches a space
  • ^ (caret) - Indicates the start of a string
  • $ (dollar sign) - Indicates the end of a string
  • . (period) - Matches a single character, including a space

Exam with this question: Quiz - Multicast
Exam with this question: Chapter 12: Quiz - Advanced BGP CCNPv8 ENARSI

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x