show system schema
구문
show system schema module module output-directory path <filter [filter1 filter2]> <format format> <module-name output-module-name> <output-file-name path> <version version>
설명
Junos OS 스키마를 지정된 형식으로 표시합니다. 형식을 지정하지 않으면 디바이스는 스키마를 YANG으로 표시합니다.
옵션
filter [filter1 filter2] | 모듈에 대한 스키마를 생성할 때 지정된 구성 계층에
참고:
필터 경로에서 루트 요소는 구성 계층의 최상위 |
format format | (선택 사항) 스키마의 데이터 모델링 언어입니다. 스키마를 YANG 형식으로 표시하려면 지정합니다
|
output-directory path | 스키마 파일을 저장할 디렉토리를 지정합니다.
참고:
Junos OS 릴리스 19.1R2 및 19.2R1부터 스키마 파일을 요청할 때 옵션을 지정해야
참고:
Junos OS 릴리스 15.1 및 이전 릴리스에서 출력 파일을 지정하려면 옵션을 사용합니다 |
output-file-name path | (선택 사항) 출력이 기록되는 파일입니다. 절대 경로를 지정하지 않으면 디바이스는 현재 작업 디렉토리에 파일을 배치하며, 기본값은 / var/home에 있는 사용자의 홈 디렉토리입니다. 이 옵션을 생략하면 출력이 표준 출력으로 전송됩니다. 이 옵션은 Junos OS 릴리스 16.1부터 더 이상 사용되지 않습니다. |
module module | 스키마를 표시할 모듈입니다. |
module-name output-module-name | (선택 사항) 생성된 모듈에 사용되는 이름입니다. 명령을 사용하여 출력을 파일로 보내는 옵션도 포함하는 |
필요한 권한 수준
보기
샘플 출력
- 시스템 스키마 모듈 all-conf 표시
- show system schema module(Junos OS 릴리스 19.1 이하)
- show system schema module configuration filter(Junos OS 릴리스 17.4 이하)
시스템 스키마 모듈 all-conf 표시
user@host> show system schema module all-conf output-directory /var/tmp/yang user@host>
show system schema module(Junos OS 릴리스 19.1 이하)
user@host> show system schema module junos-conf-root /* * Copyright (c) 2017 Juniper Networks, Inc. * All rights reserved. */ module junos-conf-root { namespace "http://yang.juniper.net/junos/conf/root"; prefix jc; import junos-common-types { prefix jt; } organization "Juniper Networks, Inc."; contact "yang-support@juniper.net"; description "Junos YANG module for configuration hierarchies."; revision 2017-01-01 { description "Junos: 17.4R1.17"; } container configuration { config true; uses juniper-config; list groups { key name; ordered-by user; description "Configuration groups"; uses juniper-group; } } ...
show system schema module configuration filter(Junos OS 릴리스 17.4 이하)
user@host> show system schema module configuration filter [/system /interfaces] module-name config-sys-int /* * Copyright (c) 2016 Juniper Networks, Inc. * All rights reserved. */ module config-sys-int { namespace "http://yang.juniper.net/yang/1.1/jc/configuration/junos/17.2R1.13"; prefix jc; import junos-extension { prefix junos; } ... container configuration { config true; uses juniper-config; list groups { key group_name; ordered-by user; description "Configuration groups"; uses juniper-group; } } grouping juniper-config { container system { description "System parameters"; uses juniper-system; } container interfaces { description "Interface configuration"; uses apply-advanced; ...
릴리스 정보
Junos OS 릴리스 14.2에서 소개된 명령입니다.
filter
, module-name
, 및 output-directory
옵션이 Junos OS 릴리스 16.1R1에 추가되었습니다.
output-file-name
옵션은 Junos OS 릴리스 16.1R1에서 더 이상 사용되지 않습니다.
filter
및 module-name
옵션은 Junos OS 릴리스 17.4R1에서 사용되지 않습니다.