beautypg.com

Show file, Show config, Show file -38 show config -38 – Enterasys Networks D-Series User Manual

Page 76

background image

show file

2-38

Basic Configuration

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

show config

Use this command to display the system configuration or write the configuration to a file.

Syntax

show config [all | facility] [outfile {configs/filename}]

filename

Specifies the name of the file to display.