티스토리 뷰
728x90
반응형
sh ru //show running-config 설정값을 보여주는 명령어이다.
Building configuration...
Current configuration : 7319 bytes
!
version 12.1
no service pad
service timestamps debug datetime localtime //디버길 메시지와
service timestamps log datetime localtime //로그메시지를 날짜, 시간으로 제공
no service password-encryption
service compress-config //메모리에 config 압축해서 자동저장 부분이다.
!
hostname Anyfree
!
boot-start-marker //부트관련 설정을 할때 시작점 알림 부분이다.
boot system flash bootflash:xxxxx.bin //부트이미지 설정
boot-end-marker //부트관련 설정을 할때 끝점 알림 부분이다.
!
enable password
!
clock timezone KST 9 //UTC시간을 한국 시간으로 설정 부분이다.
ip subnet-zero
no ip domain-lookup
ip vrf mgmtVrf //management port으로 인한 기본설정이다.
!
power redundancy-mode redundeant //파워이중모드 기본설정 부분이다.
!
!
!
spanning-tree mode pvst //루핑 방지 vlan간 설정 부분이다.
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
no spanning-tree vlan 1
!
!
!
interface FastEthernet0/1
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/2
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/3
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/4
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/5
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/6
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/7
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/8
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/9
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/10
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/11
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/12
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/13
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/14
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/15
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/16
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/17
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
interface FastEthernet0/18
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/19
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/20
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/21
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/22
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 5000 3000
storm-control action trap
!
interface FastEthernet0/23
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 10000 5000
storm-control action trap
!
interface FastEthernet0/24
switchport mode access
ip access-group 101 in
storm-control broadcast level pps 500 250
storm-control multicast level pps 500 250
storm-control unicast level pps 10000 5000
storm-control action trap
!
interface GigabitEthernet0/1
description sub1 hub
switchport mode access
ip access-group 150 in
duplex full
!
interface GigabitEthernet0/2
description sub1 backup
switchport mode access
ip access-group 150 in
duplex full
!
interface Vlan1
ip address X.X.X.X X.X.X.X
no ip route-cache
shutdown
!
ip default-gateway
no ip http server
access-list 101 permit ip 61.33.10.0 0.0.0.127 any
access-list 150 deny tcp any any eq 135
access-list 150 deny udp any any eq 135
access-list 150 deny tcp any any eq 137
access-list 150 deny udp any any eq netbios-ns
access-list 150 deny udp any any eq netbios-dgm
access-list 150 deny tcp any any eq 139
access-list 150 deny tcp any any eq 445
access-list 150 deny udp any any eq 445
access-list 150 deny udp any any eq 1025
access-list 150 deny tcp any any eq 1025
access-list 150 deny udp any any eq 1433
access-list 150 deny udp any any eq 1434
access-list 150 deny tcp any any eq 4444
access-list 150 deny tcp any any eq 5554
access-list 150 deny tcp any any eq 9898
access-list 150 deny tcp any any eq 9996
access-list 150 deny tcp any any eq 6667
access-list 150 permit ip any any
no cdp run
snmp-server community
!
line con 0 //시리얼 콘솔이다
line vty 0 4 //telnet
password sh1234
login
line vty 5 15
login
!
ntp clock-period 17179895
ntp server 203.248.240.103
!
end
JEONG#
[Catalyst 2950] 기본 설정값이지만 백본 설정값도 추가하여 임의적으로 적었다.
728x90
반응형
'Cisco' 카테고리의 다른 글
[Cisco] 패킷트레이서 기본 네트워크 구성 (1) | 2018.02.12 |
---|---|
[Cisco] 스위치 ip 설정 (0) | 2018.02.09 |
[Cisco] 라우터 SSH 설정 (0) | 2018.02.08 |
[Cisco] 콘솔 패스워드 설정 (0) | 2018.02.08 |
[Cisco] 기본 명령어 (0) | 2018.02.05 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
250x250