Checking Filename

Check Filename (in Bootflash)

Check Filename (in Bootflash)

<dir xmlns="http://cisco.com/ns/yang/cisco-nx-os-device"> 
  <filemask>bootflash:sample_copy_file.txt</filemask>
</dir> 

Note: This example was added in Release 9.2(1).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

dir bootflash:<filename>

Check Filename (in Directory)

Check Filename (in Directory)
<dir xmlns="http://cisco.com/ns/yang/cisco-nx-os-device"> 
  <filemask>sample_copy_file.txt</filemask>
</dir> 

Note: This example was added in Release 9.2(1).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

dir <filename>