50٪ تخفیف روی تمام دوره‌ها!
پایان تخفیف تا:
مشاهده دوره‌ها
0

mac دستگاههای متصل به سوئیچ سیسکو؟

با سلام

باچه دستوری می توان فایل خروجی ازmac table سو ئیچ سیسکو در خصوص mac سیستم های متصل به آن سوییچ را گرفت .

پرسیده شده در 1394/08/08 توسط

5 پاسخ

0

سلام اوقات شما بخیر و شادی

باتشکر از کمک و راهنمایی های شما

پاسخ در 1394/08/09 توسط
0

فکر نکنم این امکان وجود داشته

باید خروجی دستور فوق رو copy کنید و توی یک فایل paste کنید

پاسخ در 1394/08/08 توسط
0

با تشکر از پاسخ شما

بیشتر دنبال فایل خروجی هستم به صورت text

دستوری هست که فایل را در اختیارمان قرار بدهد

پاسخ در 1394/08/08 توسط
0

show Command Output Redirection

show <command> append

To redirect and add the output of any show command to an existing file, use the show command | append command in privileged EXEC mode.

show command | append url

Syntax Description

command

Any Cisco IOS show command.

| append url

The addition of this syntax redirects the command output to the file location specified in the Universal Resource Locator (URL). The pipe (|) is required.

The Cisco IOS File System (IFS) uses URLs to specify the location of a file system, directory, and file. Typical URL elements include:

prefix:[directory/]filename

Prefixes can be local file locations, such as flash: or disk0:. Alternatively, you can specify network locations using the following syntax:

ftp:[[//[username[:password]@]location]directory]filename

tftp:[[//location]directory]filename

The rcp: prefix is not supported.

Command Modes

Examples

In the following example, output from the show tech-support command is redirected to an existing file on Disk 1 with the file-name of "showoutput.txt." This output is added at the end of any existing data in the file.

Router# show tech-support | append disk1:showoutput.txt

شما بجای دستور مثال دستور show خود را قرار دهید خروجی دستور به فایل رخته می شود البته می توان خروجی مستقیم به tftp روی فایل txt انجام داد

show <command> append

To redirect and add the output of any show command to an existing file, use the show command | append command in privileged EXEC mode.

show command | append url

ftp:[[//[username[:password]@]location]directory]filename

tftp:[[//location]directory]filename

جواب شما برای خروجی به فایل tftp

show command | append tftp:[[//location]directory]filename

پاسخ در 1394/08/08 توسط

پاسخ شما