Beruflich Dokumente
Kultur Dokumente
output modifiers
Posted on September 7, 2012
As you know, looking through output information by CLI, can take a long time, especially
when this output contains configuration, routing tables or logbuffer. Nobody wants to waste
time, knowing, that there are many tasks and little time. You can simplify your work using
output modifiers. You do not have to read all information step by step to find the interesting
one. Probably most of you know what I am talking about.
include
begin
The exclude option you can use in the same way. It is omitted here as it is not often used.
You can use equivalents of include, exclude and begin modifiers. Only remember that:
include = +
exclude = -
begin = /.
Filtering...
ip route-static 10.20.11.8 255.255.255.252 192.168.13.1 preference 30
description VPN VRR TEST
ip route-static 10.20.11.11 255.255.255.255 192.168.13.1 preference 30
description VPN VRR TEST
ip route-static 10.20.11.11 255.255.255.255 192.168.13.5 preference 50
description VPN VRR TEST
ip route-static 20.0.0.0 255.255.255.0 172.29.20.1
ip route-static 20.0.0.0 255.255.255.0 1.10.20.2
ip route-static 172.29.12.0 255.255.255.0 172.29.20.1
ip route-static 192.168.1.100 255.255.255.255 192.168.1.1
ip route-static vpn-instance vpnLTE 30.30.30.1 255.255.255.255 60.60.60.1
Filtering...
ip route-static 10.20.11.8 255.255.255.252 192.168.13.1 preference 30
description VPN VRR TEST
ip route-static 10.20.11.11 255.255.255.255 192.168.13.1 preference 30
description VPN VRR TEST
ip route-static 10.20.11.11 255.255.255.255 192.168.13.5 preference 50
description VPN VRR TEST
ip route-static 20.0.0.0 255.255.255.0 172.29.20.1
ip route-static 20.0.0.0 255.255.255.0 1.10.20.2
ip route-static vpn-instance vpnLTE 30.30.30.1 255.255.255.255 60.60.60.1
#
snmp-agent
snmp-agent local-engineid 000007DB7FFFFFFF000010CA
snmp-agent community read public
snmp-agent community write private
Of course you can use more advanced combinations. For example, if you have many MPLS
TE tunnels configured and you only want to check what a status of these tunnels is, you can
use: