Show file, Show file -43 – Enterasys Networks Enterasys D2 D2G124-12P User Manual

Page 81

Advertising
background image

show file

D-Series CLI Reference 2-43

Files: Size
================================ ========
configs:
SSH 8293
baserouter_dec 4197
baserouter_jan 8293
baserouter_mar 8293
baserouter_apr 8293
logs:
current.log 90129

show file

Use this command to display the contents of a file.

Syntax

show file filename

Parameters

Defaults

None.

Mode

Switch command, read‐only.

Example

This example shows how to display a text file named “mypolicy” in the configs/ directory. Note 
that only a portion of the file is shown in this example.

D2(rw)->show file configs/mypolicy
1 :
2 :
3 : #policy
4 :
5 : set policy profile 1 name "Check GUEST" pvid-status enable pvid 4095 untagged-
vlans 1
6 :
7 : set policy profile 2 name "User LABORATORIES" pvid-status enable pvid 680 cos-
status enable cos 4 untagged-vlans 680
8 :
9 : set policy profile 3 name "Administrator" pvid-status enable pvid 4095
10 :
11 : set policy profile 4 name "Guest" pvid-status enable pvid 999 cos-status
enable cos 3 untagged-vlans 999
12 :
13 : set policy port ge.1.1 4
14 :
15 : set policy port ge.1.2 4

filename

Specifies the name of the file to display.

Advertising
This manual is related to the following products: