Skip to main content
Viptela is now part of Cisco.
Support
Product Documentation
Viptela Documentation

exclude

exclude—Exclude the lines that contain the string defined by the regular expression from the command output.

Command Syntax

exclude regular-expression

Options

String to Match
regular-expression
String to match when excluding lines from the command output.

Output Fields

The output is self-explanatory.

Example Output

hw-vedge# show interface vpn 0                                         
                                 IF      IF                                                                                                 
                                 ADMIN   OPER    ENCAP                                      SPEED                       RX        TX        
VPN  INTERFACE  IP ADDRESS       STATUS  STATUS  TYPE   PORT TYPE  MTU   HWADDR             MBPS   DUPLEX  UPTIME       PACKETS   PACKETS   
--------------------------------------------------------------------------------------------------------------------------------------------
0    ge0/0      10.0.0.1/24      Up      Up      null   transport  1500  00:0c:bd:05:df:b7  100    full    11:04:15:07  14549495  12435677  
0    ge0/1      -                Down    Down    null   service    1500  00:0c:bd:05:df:b8  -      -       -            0         0         
0    ge0/2      -                Down    Down    null   service    1500  00:0c:bd:05:df:b5  -      -       -            0         0         
0    ge0/4      -                Down    Down    null   service    1500  00:0c:bd:05:df:bb  -      -       -            0         0         
0    ge0/5      -                Down    Down    null   service    1500  00:0c:bd:05:df:bc  -      -       -            0         0         
0    ge0/6      -                Down    Down    null   service    1500  00:0c:bd:05:df:b9  -      -       -            0         0         
0    ge0/7      -                Down    Down    null   service    1500  00:0c:bd:05:df:ba  -      -       -            0         0         
0    system     1.1.1.3/32       Up      Up      null   loopback   1500  00:00:00:00:00:00  10     full    11:04:15:17  0         0              

hw-vedge# show interface vpn 0 | exclude IF | exclude ADMIN | exclude VPN | exclude ---
0    ge0/0      10.0.0.1/24   Up      Up      null   transport  1500  00:0c:bd:05:df:b7  100    full    11:04:15:31  14549857  12435986  
0    ge0/1      -             Down    Down    null   service    1500  00:0c:bd:05:df:b8  -      -       -            0         0         
0    ge0/2      -             Down    Down    null   service    1500  00:0c:bd:05:df:b5  -      -       -            0         0         
0    ge0/4      -             Down    Down    null   service    1500  00:0c:bd:05:df:bb  -      -       -            0         0         
0    ge0/5      -             Down    Down    null   service    1500  00:0c:bd:05:df:bc  -      -       -            0         0         
0    ge0/6      -             Down    Down    null   service    1500  00:0c:bd:05:df:b9  -      -       -            0         0         
0    ge0/7      -             Down    Down    null   service    1500  00:0c:bd:05:df:ba  -      -       -            0         0         
0    system     1.1.1.3/32    Up      Up      null   loopback   1500  00:00:00:00:00:00  10     full    11:04:15:41  0         0 

Release Information

Command introduced in Viptela Software Release 14.1.

Additional Information

de-select
include

  • Was this article helpful?