#Phase 1: Filtering show ip route Output
Example: 1
RCS3600#show ip route
C 192.168.2.0/24 is directly connected, FastEthernet0/0
C 192.168.3.0/24 is directly connected, FastEthernet0/1
C 192.168.4.0/24 is directly connected, FastEthernet0/2
S* 0.0.0.0/0 [1/0] via 192.168.2.1
RCS3600#show ip route 192.168.2.1
Routing entry for 192.168.2.0/24
Known via "connected", distance 0, metric 0 (connected, via interface)
Routing Descriptor Blocks:
* directly connected, via FastEthernet0/0
Route metric is 0, traffic share count is 1
***Note: No Inculde
Key: 1) Default Route
Key: 2) Network That Is Not In The Table
RCS3600#show ip route 10.1.1.1
% Network not in table
--------------------------------------------------------------
Example: 2
RCS3600#show ip route
C 192.170.8.0/24 is directly connected, Loopback3
C 192.170.9.0/24 is directly connected, Loopback4
C 192.168.9.0/24 is directly connected, Loopback5
C 192.168.5.0/24 is directly connected, Loopback1
C 192.170.6.0/24 is directly connected, Loopback2
C 192.168.2.0/24 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 192.168.2.1
RCS3600#show ip route 192.168.0.0 255.255.0.0 longer-prefixes
C 192.168.9.0/24 is directly connected, Loopback5
C 192.168.5.0/24 is directly connected, Loopback1
C 192.168.2.0/24 is directly connected, FastEthernet0/0
RCS3600#show ip route 192.170.0.0 255.255.0.0 longer-prefixes
C 192.170.8.0/24 is directly connected, Loopback3
C 192.170.9.0/24 is directly connected, Loopback4
C 192.170.6.0/24 is directly connected, Loopback2
--------------------------------------------------------------
#Phase 2: Filtering show ip Interface Brief
RCS3600#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.2.210 YES NVRAM up up
FastEthernet0/1 unassigned YES NVRAM administratively down down
Loopback1 192.168.5.1 YES manual up up
RCS3600#show ip interface brief | exclude unassigned
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.2.210 YES NVRAM up up
Loopback1 192.168.5.1 YES manual up up
RCS3600#show ip interface brief | include Loopback1
Loopback1 192.168.5.1 YES manual up up
RCS3600#show ip interface brief | include FastEthernet0/0
FastEthernet0/0 192.168.2.210 YES NVRAM up up
FastEthernet0/0 is up, line protocol is up
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 output errors, 0 collisions, 0 interface resets
***Note:
Key: 1) Upper-case and Lower-case have effects
---------------------------------------------------------
#Phase 3: Redirect Output (tech-support)
Example: 1
RCS3600#show tech-support | redirect flash:tech-support.txt
RCS3600#copy flash:tech-support.txt ftp://192.168.2.200
Address or name of remote host [192.168.2.200]?
Destination filename [tech-support.txt]?
Writing tech-support.txt !
165532 bytes copied in 1.868 secs (88615 bytes/sec)
Example: 2 (Send Directly to FTP Server)
RCS3600#show tech-support | redirect ftp://192.168.2.200/tech-support1.txt
---------------------------------------------------------
***This Command Only Redirects Outpot To The Remote Server
RCS3600#show ip route | redirect ftp://192.168.2.200/iproute.txt
***This Command Shows You OutPut and Redirects Too
RCS3600#show ip route | tee ftp://192.168.2.200/iproute1.txt
C 192.168.2.0/24 is directly connected, FastEthernet0/0
S 172.16.5.0/24 [1/0] via 192.168.2.1