[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Disregarding Output That Does Not Match a Regular Expression

If the regular expression contains any spaces, operators, or wildcard characters, enclose it in quotation marks.

For information about common regular expression operators, see Table 12.

To disregard text that matches a regular expression:

The following example displays information about configuration interfaces with the exception of the family information for each interface:

user@host> show configuration interfaces |except family 
lo {
  unit 0 {
      inet { 
        address 192.0.0.1;
      }
    }
  }
}
eth0 {
  unit 0 {
      inet { 
        address 10.27.7.45/24;
      }
    }
  }
}


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]