beautypg.com

Oscmd – Brocade Network OS Command Reference v4.1.0 User Manual

Page 565

background image

Network OS Command Reference

527

53-1003115-01

oscmd

2

oscmd

Provides a command shell for selected Linux commands.

Synopsis

oscmd Linux command

Operands

Linux command

The following Linux commands are supported with oscmd:

arp [-a]

Displays the Address Resolution Protocol (ARP) tables.

cat

Concatenates files and displays to standard output.

cp

Copies files and directories in a file system.

ftp

Transfers files to and from a remote server.

ifconfig [netmask] [up]

Configures the active network interface.

ls [-al] [path]

Lists files and directories on the switch.

mkdir dir

Creates a directory.

mv [i] file1 file2

Renames a file or directory.

rm [-rf] file

Removes a file or directory.

rmdir

Removes a directory.

tcpdump

Analyzes network traffic.
The following parameters are supported with the Network OS
implementation. Refer to the Linux documentation for more information on
how to use this command. Parameters: -AbdDefIKlLnNOpqRStuUvxX

-B buffer_size

-c count

-C file_size

-G rotate_seconds

-F file

-i interface

-m module

-M secret

-r file

-s snaplen

-T type

-w file

-W filecount

-E spi@ipaddr

-y datalinktype

-z postrotate-command

-Z user [expression]

Defaults

None

Command Modes

Privileged EXEC mode