device# show ssh server status | save status
In this example, the show ssh server status output is saved to the status file.
device# oscmd cat status VRF-Name: mgmt-vrf Status: Enabled VRF-Name: default-vrf Status: Enabled
device# show ip interface brief | last 5 | append status
device# oscmd cat status VRF-Name: mgmt-vrf Status: Enabled VRF-Name: default-vrf Status: Enabled Ethernet 2/58 unassigned default-vrf administratively down down Ethernet 2/59 unassigned default-vrf administratively down down Ethernet 2/60 unassigned default-vrf administratively down down Ethernet 2/125(I) unassigned default-vrf administratively down down Ethernet 2/126(I) unassigned default-vrf administratively down down