![]() Using Regular ExpressionsĬisco configurations use several implementations of regular expressions. If a regular expression can match two different parts of an input string, it will match the earliest part first. When the initial portion of the destination address does not match 3107, then pattern matching fails and the software does not route the packet to serial interface 0. ![]() When the destination address string matches 3107 pattern, then pattern matching succeeds and the Cisco IOS software routes the packet to serial interface 0. The string is the initial portion of the destination address of any incoming X.25 packet. In this example, the pattern to match is the 3107 specified in the X.25 routing table. ![]() Matching a string to the specified pattern is called "pattern matching." Pattern matching either succeeds or fails.įor example, you can specify in an X.25 routing table that incoming packets with destination addresses beginning with 3107 are routed to serial interface 0. You specify the pattern that a string must match when you compose a regular expression.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |