base command | begin

Starts displaying the base command output for the matching token or expression.

Syntax

base command | begin REGEX

Parameters

base command
Specifies the base command for filtering the output.
begin REGEX
Specifies the token or expression to match to start displaying the base command output.

Modes

Filter mode

Usage Guidelines

The "|" symbol in this command does not act as a separator, but instead provides access to the filter command.

Examples

The following example starts displaying the output of the show running-config command after matching the expression, interface ethernet 0/18.

device# show running-config | begin "interface ethernet 0/18" 

interface ethernet 0/18 
  shutdown 
interface ethernet 0/19 
  shutdown 
interface management 0 
  ip address dhcp 
  no ipv6 address dhcp 
  no shutdown