장치 구성을 위한 필수 Cisco 명령 치트 시트
소개
Cisco IOS(Internetwork Operating System)는 관리자가 Cisco 장치를 관리하고 구성할 수 있도록 해줍니다. Cisco의 명령 구조는 독자적이지만, 다양한 벤더에 걸쳐 적용 가능한 네트워크 장치 관리의 기본 개념을 잘 보여줍니다. Aruba, Juniper, Broadcom 같은 다른 주요 네트워킹 기업의 시스템에서도 유사한 명령줄 인터페이스(CLI)와 구성 원칙을 확인할 수 있으며, 네트워크 전문가는 약간의 조정만으로 다양한 플랫폼에 자신의 역량을 적용할 수 있습니다.
이 문서는 Cisco 네트워크 장치를 관리하고 구성하기 위한 빠른 명령 가이드로 사용할 수 있는 치트 시트를 제공합니다. 일부 명령이 실제로 어떻게 동작하는지 단계별로 보여주기 위해 스크린샷을 제공하며, 스크린샷은 라우터 또는 스위치에 콘솔로 연결해 촬영했습니다.
빠른 참고: 필수 Cisco 명령
기본 모드 및 탐색
Command | Purpose |
|---|---|
|
enable |
Enter privileged EXEC mode |
|
configure terminal |
Enter global configuration mode |
|
show running-config |
View the device's active configuration |
인터페이스 및 VLAN 구성
Command | Purpose |
|---|---|
|
interface gigabitethernet 0/1 |
Select an interface to configure |
|
vlan 10 |
Create or select VLAN 10 |
|
switchport mode access |
Set a port to access mode |
라우팅 기초
Command | Purpose |
|---|---|
|
ip route 0.0.0.0 0.0.0.0 <next-hop> |
Add a default static route |
|
router ospf 1 |
Start an OSPF routing process |
|
show ip route |
View the routing table |
문제 해결
Command | Purpose |
|---|---|
|
show ip interface brief |
Check interface status and IP addresses at a glance |
|
ping <address> |
Test connectivity to a device |
|
show version |
Check IOS version and uptime |
이 명령으로 구성 변경을 하시나요? Netwrix Auditor for Network Devices는 네트워크 구성 변경 추적을 추가해, 누가 무엇을 언제 변경했는지 항상 확인할 수 있습니다.
명령줄 인터페이스(CLI) 구조 개요
명령 모드
Cisco IOS 명령줄 인터페이스(CLI)는 다음 명령 모드로 계층적으로 구성됩니다:
- User EXEC 모드 — 이는 Cisco 장치에 로그인할 때의 기본 모드입니다. 제한된 액세스만 제공하며, 기본 모니터링 명령만 허용하고 구성 변경을 수행할 수 있는 기능을 제한합니다. 프롬프트가 > 로 끝나는 것으로 식별할 수 있습니다.
- Privileged EXEC 모드 — 이 권한이 상승된 모드는 모든 show 명령과 시스템 수준 작업에 대한 액세스를 제공합니다. 시스템에 대한 완전한 가시성을 제공하지만 구성(설정) 액세스는 제공하지 않습니다. 또한 사용자가 장치 진단과 파일 관리 작업을 수행할 수 있게 해줍니다. 이 모드는 프롬프트가 # 로 끝나는 것으로 표시됩니다.
- Global Configuration 모드 — 이 고권한 모드는 시스템 전체에 걸친 구성 변경을 수행할 수 있으며, 인터페이스 설정과 같은 특정 구성을 위한 다양한 하위 모드에 액세스할 수 있게 해줍니다. 이 모드에서는 프롬프트에 (config)#가 포함됩니다.
명령 모드 간 전환
Cisco 라우터 또는 스위치에 처음 로그인하면 User EXEC 모드에 있게 됩니다. 다음 명령을 사용하여 더 높은 권한의 모드로 전환하세요:
- enable — Privileged Exec 모드에 액세스하는 데 사용
- config terminal (또는 간단히 config t) — Global Configuration 모드에 액세스하는 데 사용
다음 명령은 아래 스크린샷에 표시되어 있습니다:
글로벌 구성(Global Configuration) 모드는 서로 다른 구성 요소를 설정할 수 있도록 몇 가지 하위 모드로 더 나눌 수 있습니다. 다음은 해당 하위 모드와 각 하위 모드에 액세스하는 명령입니다:
|
Interface Configuration mode |
interface [interface-type] [interface-number] |
|
Subinterface Configuration mode |
interface [interface-type] [interface-number].[subinterface-number] |
|
Router Configuration mode |
router [routing-protocol] |
|
Line Configuration mode |
line [line-type] [line-number] |
더 높은 권한의 모드로 이동하는 명령을 알게 되셨다면, 이제 그 모드들에서 빠져나오는(복귀하는) 데 사용할 명령은 아래와 같습니다.
- exit — 구성 모드 계층 구조에서 한 단계 뒤로 이동하는 데 사용됩니다. 다음 스크린샷은 관리자가 Privileged Exec 모드로 다시 돌아가는 모습을 보여줍니다:
- end — 어떤 구성 모드에서든 Privileged EXEC 모드로 즉시 돌아가는 데 사용됩니다. 중첩된 구성 레벨을 빠르게 빠져나올 때 유용합니다.
시스템 구성 표시
Cisco 장치에 로그인한 후에는 기본 시스템 설정을 확인하고 싶을 것입니다. 이는 다음을 입력하면 쉽게 수행할 수 있습니다: show running-config 또는 간단히 show run. 이 명령은 장치의 메모리에 저장된 활성 구성을 표시합니다.
아래 스크린샷에서 먼저 User Exec 모드에서 명령을 시도했지만 권한이 충분하지 않아 실패했음을 확인할 수 있습니다. 스크린샷에는 running config의 일부만 표시되어 있습니다.
구성과 관련된 다른 명령은 다음과 같습니다:
|
show startup-config |
Displays the saved configuration stored in the device's NVRAM, which will be loaded when the device starts up |
|
copy running-config startup-config |
Replaces the startup config with the active config when the Cisco network device initializes |
|
copy startup-config running-config |
Merges the startup config with the currently active config in RAM |
|
write erase erase startup-config |
Deletes the startup config |
단축키 및 명령 기록
빠른 탐색을 위한 추가 명령 몇 가지입니다:
- Ctrl+Z — 이 키 조합을 언제든지 사용하면 어떤 구성 모드에서도 즉시 빠져나와 Privileged EXEC mode로 돌아갑니다
- Tab 키 — 이 키를 사용하면 부분 명령을 자동 완성하거나 가능한 완성 옵션을 표시할 수 있습니다.
- 위쪽 및 아래쪽 화살표 키 — 이 키들을 사용하면 이전 명령을 순환해서 확인할 수 있습니다.
- show history — 이 명령을 사용하면 명령 기록 버퍼를 표시합니다.
장치 설정 및 기본 구성
장치 이름 변경
앞서 캡처한 화면에 표시된 실행 구성(running config)에는 router 가 호스트 이름(hostname)으로 표시되어 있었습니다. 이는 switch 가 Cisco 스위치의 기본 이름인 것과 마찬가지로, Cisco 라우터의 기본 이름입니다. 장치의 이름은 명령 프롬프트에 표시됩니다.
hostname 명령을 사용하여 장치의 이름을 변경하세요. 네트워크 내에서 쉽게 식별할 수 있도록 각 장치에 대해 고유한 이름을 선택하는 것이 좋습니다. 아래 예에서는 라우터의 이름을 NorthOfficeRouter 로 변경했습니다. 새 이름이 최종 프롬프트의 일부로 어떻게 표시되는지 확인해 보세요.
IP 주소 할당
원격으로 장치를 관리하려면 장치에 IP 주소를 할당해야 합니다. IP 주소를 할당할 인터페이스를 선택한 다음 다음 단계를 완료하십시오:
- 인터페이스 구성 모드로 들어가십시오:
interface <interface-name>
- IP 주소와 서브넷 마스크를 할당하십시오:
ip address <IP-address>
- 인터페이스를 활성화합니다:
no shutdown
다음은 이 절차가 Cisco IOS에서 어떻게 표시되는지 보여줍니다. config-if 는 인터페이스 구성 서브 모드에 있음을 나타냅니다.
비밀번호 구성
새 장치에 로그인했기 때문에 비밀번호를 입력할 필요가 없었습니다. 보안을 강화하기 위해 비밀번호를 사용하도록 설정하는 명령은 다음과 같습니다:
|
enable password <pass-value> |
Defines the password required when using the enable command1 |
|
enable secret <pass-value> |
Sets the password required for any user to enter enable mode and encrypts it |
|
service password-encryption |
Directs the Cisco IOS software to encrypt the passwords, CHAP secrets and similar data saved in its configuration file |
배너 구성
구성할 수 있는 다양한 배너도 있습니다:
- 오늘의 메시지(motd) 배너:
배너 motd #Unauthorized access prohibited#
- 로그인 배너:
배너 로그인 #자격 증명을 입력해 주세요#
- 관리자(Exec) 배너:
배너 exec #네트워크에 오신 것을 환영합니다#
스위치 구성
스위치는 라우터와 다른 용도로 사용하므로 서로 다른 명령을 사용합니다. 이해해야 할 핵심 개념은 다음과 같습니다:
- 스위치포트 모드 — 스위치포트 모드는 포트가 VLAN 트래픽을 처리하는 방식을 결정합니다. 주요 모드는 세 가지로, access mode, trunk mode 및 dynamic mode입니다.
- 듀플렉스 속도 — 듀플렉스 설정은 포트가 데이터를 동시에 전송하고 수신할 수 있는지 여부를 결정합니다. half, full 또는 auto로 지정할 수 있습니다. Auto를 선택하면 스위치가 연결된 장치와 듀플렉스 설정을 협상할 수 있습니다.
- 속도 — 이 설정은 포트의 데이터 전송 속도를 결정합니다. 스위치의 지원 기능에 따라 속도를 10 Mbps, 100 Mbps, 1000 Mbps(1 Gbps) 또는 auto로 설정할 수 있습니다.
VLAN 구성
VLAN 구성은 네트워크 분리(세그멘테이션)와 관리에서 매우 중요한 요소입니다. Global Configuration 모드에서는 다음 명령을 사용할 수 있습니다:
|
vlan <vlan-id> |
Creates a VLAN |
|
Vlan <vlan-name> |
Assigns a name to the VLAN |
|
vlan switchport access vlan <vlan-id> |
Sets the VLAN that the interface belongs to |
|
no vlan <vlan-id> |
Deletes a VLAN |
|
show vlan |
Display the VLAN configuration |
아래 스크린샷에는 기본 포트 구성을 위한 명령이 표시되어 있습니다:
스패닝 트리 프로토콜(Spanning Tree Protocol, STP) 명령
스패닝 트리 프로토콜(Spanning Tree Protocol, STP)은 네트워크 루프를 방지하는 데 도움이 되는 Cisco 스위치의 기능입니다. STP는 모든 VLAN에 대해 Cisco 스위치에서 기본으로 활성화되어 있습니다. 스위치 전체에 대해 STP 설정을 전역으로 수정하거나, 네트워크의 서로 다른 영역에서 STP 동작을 세밀하게 제어하기 위해 개별 인터페이스 또는 VLAN에 특정 구성을 적용할 수 있습니다. 명령은 다음과 같습니다:
spanning-tree mode rapid-pvst
트렁크 포트 구성
여러 VLAN 트래픽을 전달해야 하는 포트는 트렁크로 설정해야 합니다. 먼저 해당 포트를 트렁크로 구성한 다음 VLAN을 할당해야 합니다. 명령은 다음과 같습니다:
switchport trunk native vlan <vlan-id>
Cisco 스위치에서 트렁크 포트를 구성하려면 다음을 사용합니다: switchport trunk 그리고 switchport trunk allowed vlan 명령어입니다. 이 명령어에 대한 자세한 내용은 다음과 같습니다:
|
switchport trunk native vlan <vlan-id> |
Enables trunk mode for the port and sets the native VLAN for untagged traffic on the trunk |
|
switchport trunk allowed vlan <vlan-id> |
Adds the specified VLANs to the current list |
|
switchport trunk allowed vlan remove <vlan-id> |
Removes the specified VLANs from the allowed list |
아래 스크린샷은 이러한 VLAN 명령이 실제로 어떻게 동작하는지 보여줍니다:
네트워킹 기초
IP 주소 지정 및 서브네팅
다음 명령은 IP 주소 지정 및 서브네팅에 사용됩니다:
|
ip address <ip-value> <bnet-value> |
Assigns an IP and subnet mask |
|
show ip interface <interface-number> |
Displays the status of a network interface as well as a detailed listing of its IP configurations and related characteristics |
|
show ip interface brief |
Provides a concise summary of the IP interface status and configuration |
|
ip address <ip-value> <subnet-value> secondary |
Assigns a secondary IP address |
|
no ip address |
Removes an IP address |
아래 스크린샷은 다음 show ip interface brief 명령의 출력 결과를 보여줍니다:
라우팅 프로토콜 구성
다음 명령을 사용하여 라우팅 프로토콜을 구성할 수 있습니다:
|
ip route <network-number> <network-mask> {<ip-address> | <exit-interface>} |
Sets a static route in the IP routing table |
|
ip route 0.0.0.0 0.0.0.0 {next-hop-ip | exit-interface} |
Configures a default route |
|
no ip route {network} {mask} {next-hop-ip | exit-interface} |
Removes a route |
|
router rip |
Enables a Routing Information Protocol (RIP) routing process, which places you in Router Configuration mode |
|
no auto-summary |
Disables automatic summarization |
|
version 2 |
Configures the software to receive and send only RIP version 2 packets |
|
network ip-address |
Associates a network with a RIP routing process |
|
passive-interface interface |
Sets the specified interface to passive RIP mode, which means RIP routing updates are accepted by, but not sent out of, the interface |
|
show ip rip database |
Displays the contents of the RIP routing database |
|
default-information originate |
Generates a default route into RIP |
아래 스크린샷은 하나의 정적 경로 설정과 다른 모든 네트워크에 대한 기본 경로(기본 라우트) 설정을 보여줍니다:
네트워크 주소 변환(Network Address Translation, NAT) 구성
다음 명령을 사용하여 NAT를 구성하세요. NAT는 로컬 네트워크의 사설 IP 주소를 인터넷으로 전송되기 전에 공인 IP 주소로 변환할 수 있도록 해줍니다:
|
ip nat [inside | outside] |
Specifies whether the NAT operation is applied to traffic entering or leaving the router’s network |
|
ip nat inside source {list{access-list-number | access-list-name}} interface type number[overload] |
Establishes dynamic source translation. Use the list keyword to specify an ACL to identify the traffic that will be subject to NAT. The overload option enables the router to use one global address for many local addresses |
|
ip nat inside source static local-ip global-ip |
Establishes a static translation between an inside local address and an inside global address |
문제 해결 및 진단
다음은 문제를 해결하고 기본 진단을 수행하는 데 도움이 되는 명령입니다:
|
ping {hostname | system-address} [source source-address] |
Reveals basic network connectivity |
|
traceroute {hostname | system-address} [source source-address] |
Traces the route that packets take to reach a destination |
|
show interfaces |
Displays detailed information about interface status, settings and counters |
|
show ip route |
Shows the routing table of the device |
|
show interface status |
Displays the interface line status |
|
show interfaces trunk |
Lists information about the currently operational trunks and the VLANs supported by those trunks |
|
show version |
Displays information about the IOS version, uptime and hardware configuration |
|
show running-config |
Displays the current active configuration on the device |
|
show tech-support |
Generates a comprehensive report of the device's configuration and status (useful for advanced troubleshooting) |
|
show cdp |
Shows whether CDP is enabled globally |
|
show cdp neighbors [detail] |
Lists summary (or detailed) information about each neighbor connected to the device |
|
cdp run |
Enables or disables Cisco Discovery Protocol (CDP) for the device |
|
show mac address-table |
Displays the MAC address table |
|
show vtp status |
Lists the current VLAN Trunk Protocol (VTP) status, including the current mode |
보안 구성
액세스 목록을 구성하여 Cisco 장치로 들어오고 나가는 트래픽을 제한하거나 허용할 수 있습니다. 다음 명령을 사용하세요:
|
password <pass-value> |
Lists the password that is required if the login command (with no other parameters) is configured |
|
username name password <pass-value> |
Defines one of possibly multiple user names and associated passwords used for user authentication. It is used when the login local line configuration command has been used. |
|
enable password <pass-value> |
Defines the password required when using the enable command |
|
enable secret <pass-value> |
Sets the password required for any user to enter enable mode |
|
service password-encryption |
Directs the Cisco IOS software to encrypt the passwords, CHAP secrets and similar data saved in its configuration file |
|
ip access-list {standard | extended} {acl-name | acl-number |
Creates a standard or extended ACL |
|
permit source <source-wildcar> |
Adds permit rules for a Standard ACL |
|
deny source <source-wildcard> |
Adds deny rules for an Extended ACL |
|
ip access-group {acl-name | acl-number} {in | out} |
Applies an ACL to an interface |
|
show access-lists [acl-name | acl-number] |
Displays ACL configuration |
|
no ip access-list {standard | extended} {acl-name | acl-number} |
Removes an ACL |
|
ip domain-name name |
Configures a DNS domain name |
|
crypto key generate rsa |
Creates and stores (in a hidden location in flash memory) the keys that are required by SSH |
|
transport input {telnet | ssh} |
Defines whether Telnet or SSH access is allowed into this switch. Both values can be specified in a single command to allow both Telnet and SSH access, which are the default settings |
|
ntp peer <ip-address> |
Configures the software clock to synchronize a peer or to be synchronized by a peer |
아래 스크린샷은 확장 ACL(액세스 제어 목록)에 대한 명령을 보여줍니다:
SSH 및 원격 액세스 구성
다음 명령을 사용하여 SSH와 원격 액세스를 구성합니다:
|
hostname <name> |
Sets a hostname (if not already configured) |
|
ip domain-name [domain-name] |
Configures an IP domain name |
|
crypto key generate rsa |
Generates an RSA key pair for SSH |
|
ip ssh version 2 |
Configures SSH version 2 |
|
username [username] privilege [level] secret [password] |
Creates a local user account |
|
Router(config)# line vty [line-range] Router(config-line)# transport input ssh Router(config-line)# login local |
Configures VTY lines for SSH access |
아래 스크린샷은 RSA 키 생성 과정을 보여줍니다:
포트 보안 구현
다음 명령을 사용하여 포트 보안을 구현하세요:
|
switchport port-security |
Enables port security on the interface |
|
switchport port-security maximum <number> |
Sets the maximum number of secure MAC addresses on the port |
|
switchport port-security mac-address {mac-addr | {sticky [mac-addr]}} |
Adds a MAC address to the list of secure MAC addresses and optionally configures them as sticky on the interface |
|
switchport port-security violation {shutdown | restrict | protect} |
Sets the action to be taken when a security violation is detected |
|
show port security [interface interface-id] |
Displays information about security options configured on the interface |
아래 스크린샷은 스위치 포트에서 포트 보안을 구성하는 과정을 보여줍니다.
사용자 계정 관리
다음 명령을 사용하여 사용자 계정을 관리할 수 있습니다:
|
username <username> privilege <level> secret <password> |
Creates a local user account |
|
show users |
Displays current user sessions |
|
no username <username> |
Removes a user account |
|
security passwords min-length <length> |
Sets password complexity requirements |
DHCP 구성
다음 명령을 사용하여 DHCP를 구성하세요:
|
ip address dhcp |
Acquires an IP address on an interface via DHCP |
|
ip dhcp pool <pool-name> |
Configures a DHCP address pool on a DHCP server and enters DHCP Pool Configuration mode |
|
domain-name <domain> |
Specifies the domain name for a DHCP client |
|
network network-number [mask] |
Configures the network number and mask for a DHCP address pool primary or secondary subnet on a Cisco IOS DHCP server |
|
ip dhcp excluded-address ip-address [last-ip-address] |
Specifies IP addresses that a DHCP server should not assign to DHCP clients |
|
ip helper-address address |
Enables forwarding of UDP broadcasts, including BOOTP, received on an interface |
|
default-router address [address2 ... address8] |
Specifies the default gateway for a DHCP client |
아래 스크린샷은 Cisco 라우터에서의 기본 DHCP 구성 예시를 보여줍니다:
모니터링 및 로깅
다음 명령은 모니터링 및 로깅에 유용합니다:
|
logging on |
Enables logging globally |
|
logging host {ip-address | hostname} |
Configures logging to a syslog server |
|
logging trap level |
Sets the logging severity level |
|
terminal monitor |
Sends a copy of all syslog messages, including debug messages, to the Telnet or SSH user who issues this command |
|
snmp-server community <community-string> [RO|RW] |
Enables SNMP |
|
snmp-server location <location-string> |
Configures the SNMP server location |
|
snmp-server enable traps |
Enables SNMP traps |
백업, 복원 및 업그레이드
다음 명령은 백업, 복원 및 업그레이드에 사용됩니다:
|
copy running-config startup-config |
Saves the running configuration to startup configurationEnables logging globally |
|
copy running-config tftp |
Copies the running configuration to a TFTP server |
|
copy startup-config tftp |
Copies the startup configuration to a TFTP server |
|
copy tftp: running-config |
Copies the configuration from a TFTP server to the device |
|
copy running-config flash:<file name> |
Copies the configuration to flash |
|
copy {ftp: flash:} |
Copies a new IOS image to the device using TFTP or FTP |
아래 스크린샷은 실행 중인 구성(running config)이 시작 구성(startup config)으로 백업되는 모습을 보여줍니다.
인증, 인가 및 과금(AAA) 구성
다음 명령은 인증, 인가 및 과금(AAA)을 구성하는 데 사용됩니다:
|
aaa new-model |
Enables AAA |
|
radius-server host {ip-address | hostname} [auth-port port-number] [acct-port port-number] [timeout seconds] [retransmit retries] [key string] |
Configures the RADIUS server |
|
radius-server key {0 string | 7 string | string} |
Sets the RADIUS key |
|
aaa authentication login {default | list-name} method1 |
Configures AAA authentication |
|
aaa authorization {network | exec | commands level | reverse-access | configuration} {default | list-name} method1 |
Configures AAA authorization |
|
aaa accounting {system | network | exec | connection | commands level} {default | list-name} {start-stop | stop-only | none} [method1 |
Configures AAA accounting |
일반적인 사용 사례
Cisco 스위치에서 흔히 사용하는 대표적인 사례는 VLAN을 통한 네트워크 세분화와 품질 제어입니다. 무선, 전화기, 카메라, 프린터를 위한 별도의 VLAN을 생성하면 네트워크를 분리하고 서로 다른 트래픽 유형을 우선순위로 처리할 수 있습니다(예: 인쇄보다 음성 트래픽을 우선).
Cisco 라우터는 표준 또는 확장 액세스 제어 목록을 사용해 네트워크 세분화를 지원하기도 합니다. 이를 통해 특정 소스에서 들어오는 트래픽을 차단하거나, 라우터 세그먼트로 들어오거나 나가는 특정 트래픽 유형을 제한할 수 있습니다.
네트워크 세그먼트를 위해 Cisco 라우터를 구성하는 방법을 단계별로 안내합니다.
- 라우터 호스트 이름을 설정하고 보안 비밀번호를 활성화합니다.
- 라우터 인터페이스에 IP 주소를 할당합니다.
- 연결된 네트워크 세그먼트에 대한 트래픽을 라우팅하려면 정적 라우팅 정보를 구성하거나 라우팅 프로토콜을 구성하십시오.
- DHCP를 구성하여 네트워크에 연결하는 클라이언트에 IP 주소 및 기타 DHCP 옵션을 배포하십시오.
- ACL을 구성하여 보안을 강화하고 들어오고 나가는 트래픽을 제한하십시오.
- 인터넷 액세스를 위해 NAT를 구성하십시오.
- 로깅을 활성화하십시오.
- 구성을 저장하세요.
자주 발생하는 문제 시나리오와 해결 팁
다음은 Cisco 라우터와 스위치에서 자주 발생하는 문제와 해결 팁입니다:
시나리오: 장치가 VLAN 또는 서브넷 간 통신을 할 수 없음
- 스위치에서 VLAN 구성과 트렁킹을 확인하세요.
- IP 주소와 서브넷 마스크를 확인하세요.
- 라우팅 테이블을 확인하고 경로가 존재하는지 확인하세요.
- 을(를) 사용해 연결 상태를 테스트하세요: ping 및 traceroute .
- ACL이 트래픽을 차단하지 않는지 확인하세요.
시나리오: 인터페이스가 다운되었거나 플래핑(간헐적 상태 변화) 중
- 물리적 연결과 케이블 상태를 확인하세요.
- 다음으로 인터페이스 구성을 확인하세요: show interface.
- 인터페이스를 종료한 뒤 다시 활성화하세요.
- 다양한 속도 및 듀플렉스 설정을 테스트해 보세요.
시나리오: 무단 액세스 시도 또는 의심스러운 트래픽
- 로그를 검토하고 show logging을 사용하세요.
- ACL 구성과 히트(접근) 횟수를 확인하세요.
- AAA 및 TACACS+ 설정을 확인하세요.
- 스위치에서 포트 보안을 구현하세요.
보너스 팁
다음 팁은 Cisco 장치를 더 효율적으로 관리하는 데 도움이 됩니다:
- Cisco IOS에 익숙하지 않다면, 상황에 맞는 도움말을 꼭 활용해 보세요. 명령어의 어느 위치에서든 ? 를 입력하면 제안과 사용 가능한
- 명령어 단축키와 탭 완성 기능을 사용하면 시간을 절약할 수 있습니다. 예를 들어 sh run 를 입력하는 대신 show running-config 를 입력합니다.
- 위/아래 화살표(또는 Ctrl+P 및 Ctrl+N)를 사용하면 최근에 사용한 명령어에 빠르게 접근할 수 있습니다.
- Cisco 라우터에 접근할 수 없다면, 다운로드할 수 있는 여러 Cisco 장치 시뮬레이터가 있어 명령을 연습하고 익숙해질 수 있습니다.
항상 보안을 최우선으로 두세요:
- Cisco 장치에 액세스할 수 있는 대상을 제한하세요.
- 모든 계정이 암호화된 긴 비밀번호를 사용하도록 하세요.
- 역할을 할당할 때 최소 권한 원칙을 적용하세요.
- 접근 제어 목록(ACL)을 생성하여 다양한 트래픽의 출처와 유형을 제한하세요.
- 로깅을 활성화하고 타사 모니터링 솔루션을 사용하여 구성이 실수로든 악의적으로든 변경될 경우 알림을 받으세요.
Netwrix Auditor for Network Devices
구성 변경, 로그인 시도 및 하드웨어 문제에 대한 인사이트로 Cisco 장치 감사를 간소화하세요
무료 20일 평가판 다운로드공유하기