본문 바로가기

네트워크

[네트워크] cisco 2950 모드별 명령어

반응형

cisco 2950 모드별 명령어

Cisco Catalyst 2950 스위치는 IOS 기반으로 동작하며, 다양한 모드를 가지고 있습니다. 각 모드별 명령어는 다음과 같습니다.

 

1. 사용자 EXEC 모드: 기본 모드로, 최소한의 명령어만 사용할 수 있습니다.

  • enable: 특권 EXEC 모드로 전환합니다.
  • logout: 로그아웃합니다.
  • ping: 호스트에게 ICMP 패킷을 보냅니다.
  • show: 스위치의 상태 정보를 표시합니다.

2. 특권 EXEC 모드: 모든 명령어를 사용할 수 있는 모드입니다.

  • configure terminal: 글로벌 설정 모드로 전환합니다.
  • disable: 사용자 EXEC 모드로 전환합니다.
  • exit: 현재 모드를 종료하고 이전 모드로 돌아갑니다.
  • reload: 스위치를 다시 시작합니다.
  • show: 스위치의 상태 정보를 표시합니다.

3. 글로벌 설정 모드: 스위치의 글로벌 설정을 변경할 수 있는 모드입니다.

  • interface: 인터페이스 설정 모드로 전환합니다.
  • hostname: 스위치의 호스트 이름을 변경합니다.
  • no: 설정을 삭제합니다.
  • spanning-tree: 스패닝 트리 프로토콜 설정을 변경합니다.
  • vlan: VLAN 설정을 변경합니다.

4. 인터페이스 설정 모드: 인터페이스의 설정을 변경할 수 있는 모드입니다.

  • description: 인터페이스에 대한 설명을 추가합니다.
  • duplex: 인터페이스의 Duplex 모드를 변경합니다.
  • no shutdown: 인터페이스를 활성화합니다.
  • shutdown: 인터페이스를 비활성화합니다.
  • speed: 인터페이스의 속도를 변경합니다.

 

이 외에도 각 모드에 따라 다양한 명령어가 있습니다. 위의 명령어는 일반적인 명령어이며, 실제로는 다양한 명령어가 있습니다.


사용자 EXEC 모드↓↓↓↓↓

더보기
switch>?
Exec commands:
access-enable Create a temporary Access-List entry
clear Reset functions
connect Open a terminal connection
disable Turn off privileged commands
disconnect Disconnect an existing network connection
enable Turn on privileged commands
exit Exit from the EXEC
help Description of the interactive help system
lock Lock the terminal
login Log in as a particular user
logout Exit from the EXEC
name-connection Name an existing network connection
ping Send echo messages
rcommand Run command on remote switch
resume Resume an active network connection
set Set system parameter (not config)
show Show running system information
systat Display information about terminal lines
telnet Open a telnet connection
terminal Set terminal line parameters
traceroute Trace route to destination
tunnel Open a tunnel connection
where List active connections
switch>

 

특권 EXEC 모드↓↓↓↓↓

더보기
switch#?
Exec commands:
access-enable Create a temporary Access-List entry
access-template Create a temporary Access-List entry
archive manage archive files
cd Change current directory
clear Reset functions
clock Manage the system clock
cns CNS agents
configure Enter configuration mode
connect Open a terminal connection
copy Copy from one file to another
debug Debugging functions (see also 'undebug')
delete Delete a file
dir List files on a filesystem
disable Turn off privileged commands
disconnect Disconnect an existing network connection
dot1x Dot1x Exec Commands
enable Turn on privileged commands
erase Erase a filesystem
exit Exit from the EXEC
format Format a filesystem
fsck Fsck a filesystem
help Description of the interactive help system
lock Lock the terminal
login Log in as a particular user
logout Exit from the EXEC
mkdir Create new directory
more Display the contents of a file
name-connection Name an existing network connection
no Disable debugging functions
ping Send echo messages
pwd Display current working directory
rcommand Run command on remote switch
reload Halt and perform a cold restart
rename Rename a file
resume Resume an active network connection
rmdir Remove existing directory
rsh Execute a remote command
rtr RTR Exec Configuration
send Send a message to other tty lines
set Set system parameter (not config)
setup Run the SETUP command facility
show Show running system information
systat Display information about terminal lines
telnet Open a telnet connection
terminal Set terminal line parameters
test Test subsystems, memory, and interfaces
traceroute Trace route to destination
tunnel Open a tunnel connection
udld UDLD protocol commands
undebug Disable debugging functions (see also 'debug')
verify Verify a file
vlan Configure VLAN parameters
vmps VMPS actions
vtp Configure global VTP state
where List active connections
write Write running configuration to memory, network, or terminal
switch#

 

글로벌 설정 모드↓↓↓↓↓

더보기
switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
ibi_switch(config)#?
Configure commands:
aaa Authentication, Authorization and Accounting.
access-list Add an access list entry
alias Create command alias
arp Set a static ARP entry
banner Define a login banner
boot Boot Commands
buffers Adjust system buffer pool parameters
cdp Global CDP configuration subcommands
clock Configure time-of-day clock
cluster Cluster configuration commands
cns CNS agents
default Set a command to its defaults
default-value Default character-bits values
define interface range macro definition
do To run exec commands in config mode
dot1x Dot1x Global Configuration Commands
downward-compatible-config Generate a configuration compatible with older software
enable Modify enable password parameters
end Exit from configure mode
errdisable Error disable
exception Exception handling
exit Exit from configure mode
file Adjust file system parameters
help Description of the interactive help system
hostname Set system's network name
interface Select an interface to configure
ip Global IP configuration subcommands
lacp LACP configuration
line Configure a terminal line
logging Modify message logging facilities
mac Global MAC configuration subcommands
mac-address-table Configure the MAC address table
macro Create a command macro
map-class Configure static map class
map-list Configure static map list
monitor Configure SPAN monitoring
mvr Enable/Disable MVR on the switch
no Negate a command or set its defaults
ntp Configure NTP
port-channel EtherChannel configuration
priority-list Build a priority list
privilege Command privilege parameters
process-max-time Maximum time for process to run before
voluntarily relinquishing processor
queue-list Build a custom queue list
regexp regexp commands
rmon Remote Monitoring
rtr RTR Base Configuration
scheduler Scheduler parameters
service Modify use of network based services
setup Configure setup options
shutdown Shutdown system elements
snmp Modify non engine SNMP parameters
snmp-server Modify SNMP engine parameters
spanning-tree Spanning Tree Subsystem
stackmaker Specify stack name and add its member
system Set the system configuration
tacacs-server Modify TACACS query parameters
template Select a template to configure
tftp-server Provide TFTP service for netload requests
time-range Define time range entries
udld Configure global UDLD setting
username Establish User Name Authentication
vlan Vlan commands
vmps VMPS settings
vtp Configure global VTP state
wrr-queue Configure weighted round-robin xmt queues

switch(config)#

 

728x90
반응형