• 검색 결과가 없습니다.

사용 가능한 명령어 보기

문서에서 User Manual V5524 스위치 (페이지 47-50)

참 고

3. CLI 사용하기

3.2 명령어 기본 사용법

3.2.1 사용 가능한 명령어 보기

사용 가능한 명령어를 알려주는 명령어는 물음표(?)입니다. 각 명령어 모드에서 물음표(?)를 입력하 면 해당 모드에서 사용할 수 있는 명령어를 알 수 있으며 그 밖에도 명령어 뒤에 오는 변수 등도 알 수 있습니다.

다음은 V5524 스위치의 Priveilege Exec Enable 모드에서 사용할 수 있는 명령어입니다.

SWITCH# ? Exec commands:

clear Reset functions

clock Manually set the system clock configure Enter configuration mode copy Copy from one file to another

debug Debugging functions (see also 'undebug') disconnect Disconnect user connection

enable Turn on privileged mode command erase Erase saved configuration

exit End current mode and down to previous mode halt Halt process

help Description of the interactive help system no Negate a command or set its defaults ping Send echo messages

quote Execute external command rcommand Management stacking node reload Reload the system

restore Restore configurations

show Show running system information ssh Configure secure shell

tech-support Technical Supporting Function for Diagnosis System telnet Open a telnet connection

terminal Set terminal line parameters traceroute Trace route to destination where List active user connections

write Write running configuration to memory or terminal

SWITCH#

주 의

물음표(?)는 입력해도 화면에는 출력되지 않으며 Enter 키를 누르지 않아도 곧장 명령어 리스트를 출력해줍니다. 이 매뉴얼은 v3.03 버전의 NOS를 기준으로 작성된 것입니다. 제품에 설치된 NOS 에 따라 출력된 내용이 다를 수 있으니 주의하시기 바랍니다.

DSH이 탑재되어 있는 V5524 스위치의 사용자는 특정 알파벳으로 시작하는 명령어를 알아볼 수 있습니다. 알고 싶은 첫 단어를 입력한 뒤 빈 칸없이 물음표를 입력하십시오.

다음은 V5524 스위치의 Privilege Exec Enable 모드에서 s으로 시작하는 명령어를 알아보는 방법입 니다.

SWITCH# s?

show Show running system information ssh Configure secure shell

SWITCH#

사용자는 또한 명령어 뒤에 입력해야 하는 변수 등도 알아볼 수 있습니다. 해당 명령어를 입력한 후 한 칸을 띄운 후 물음표를 입력하십시오. 다음은 Privilege Exec Enable 모드에서 traceoute 명 령어에 따르는 변수를 알아보는 방법입니다. 해당 명령어를 입력한 후 반드시 한 칸 띄운다는 것을 기억하시기 바랍니다.

SWITCH# traceroute ?

WORD Trace route to destination address or hostname ip IP Trace

<cr>

SWITCH# traceroute

각 명령어 모드에서 사용할 수 있는 명령어와 입력해야 하는 변수의 목록을 더욱 자세히 알기를 원 한다면 다음 명령어를 사용하십시오.

명령어 모 드 기 능

show list 현재 모드에서 사용 가능한 명령어 목록을 확인합니다.

show cli

All

현재 모드에서 사용 가능한 명령어 목록을 트리 구조로 확인합니다.

다음은 Privilege Exec Enable 모드에서 사용할 수 있는 명령어를 show list 명령어를 사용하여 출 력한 것입니다.

SWITCH# show list clear arp clear arp IFNAME clear ip bgp * clear ip bgp * in

clear ip bgp * in prefix-filter

clear ip bgp * ipv4 (unicast|multicast) in

clear ip bgp * ipv4 (unicast|multicast) in prefix-filter clear ip bgp * ipv4 (unicast|multicast) out

clear ip bgp * ipv4 (unicast|multicast) soft clear ip bgp * ipv4 (unicast|multicast) soft in clear ip bgp * ipv4 (unicast|multicast) soft out clear ip bgp * out

clear ip bgp * soft clear ip bgp * soft in clear ip bgp * soft out

clear ip bgp * vpnv4 unicast in clear ip bgp * vpnv4 unicast out clear ip bgp * vpnv4 unicast soft clear ip bgp * vpnv4 unicast soft in clear ip bgp * vpnv4 unicast soft out clear ip bgp <1-65535>

clear ip bgp <1-65535> in

clear ip bgp <1-65535> in prefix-filter

clear ip bgp <1-65535> ipv4 (unicast|multicast) in

clear ip bgp <1-65535> ipv4 (unicast|multicast) in prefix-filter clear ip bgp <1-65535> ipv4 (unicast|multicast) out

clear ip bgp <1-65535> ipv4 (unicast|multicast) soft clear ip bgp <1-65535> ipv4 (unicast|multicast) soft in clear ip bgp <1-65535> ipv4 (unicast|multicast) soft out clear ip bgp <1-65535> out

clear ip bgp <1-65535> soft clear ip bgp <1-65535> soft in clear ip bgp <1-65535> soft out

clear ip bgp <1-65535> vpnv4 unicast in clear ip bgp <1-65535> vpnv4 unicast out --More--

참 고

More가 출력된 상태에서 다음 리스트를 확인하려면, 엔터키를 제외한 키를 입력하십시오. 엔터키 를 누르면 다음 한 개의 명령어만 보여집니다.

참 고

More가 출력된 상태에서 명령어 리스트 확인을 중단하려면, q키 또는 Ctrl+C를 입력하십시오.

주 의

이 매뉴얼은 3.03 버전의 NOS를 기준으로 작성된 것입니다. 제품에 설치된 NOS에 따라 출력된 내용이 다를 수 있으니 주의하시기 바랍니다.

문서에서 User Manual V5524 스위치 (페이지 47-50)