首页 电脑网络 电脑知识 正文

配置路由器使用Cisco AutoSecure

配置路由器使用Cisco AutoSecure 实验过程:R1#auto secure --- AutoSecure Configuration ---*** AutoSecure configuration enhances the security ofthe router, but it will not make it
配置路由器使用Cisco AutoSecure   实验过程: R1#auto secure                 --- AutoSecure Configuration --- *** AutoSecure configuration enhances the security of the router, but it will not make it absolutely resistant to all security attacks *** AutoSecure will modify the configuration of your device. All configuration changes will be shown. For a detailed explanation of how the configuration changes enhance security and any possible side effects, please refer to Cisco.com for Autosecure documentation. At any prompt you may enter '?' for help. Use ctrl-c to abort this session at any prompt. Gathering information about the router for AutoSecure Is this router connected to internet? [no]: yes Enter the number of interfaces facing the internet [1]:  Interface                  IP-Address      OK? Method Status                Protocol FastEthernet0/0            unassigned      YES unset  administratively down down     Ethernet1/0                unassigned      YES unset  administratively down down     Ethernet1/1                unassigned      YES unset  administratively down down     Ethernet1/2                unassigned      YES unset  administratively down down     Ethernet1/3                unassigned      YES unset  administratively down down     Enter the interface name that is facing the internet: FastEthernet0/0 Securing Management plane services... Disabling service finger Disabling service pad Disabling udp & tcp small servers Enabling service password encryption Enabling service tcp-keepalives-in Enabling service tcp-keepalives-out Disabling the cdp protocol Disabling the bootp server Disabling the http server Disabling the finger service Disabling source routing Disabling gratuitous arp Here is a sample Security Banner to be shown at every access to device. Modify it to suit your enterprise requirements. Authorized Access only   This system is the property of So-&-So-Enterprise.   UNAUTHORIZED ACCESS TO THIS DEVICE IS PROHIBITED.   You must have explicit permission to access this   device. All activities performed on this device   are logged. Any violations of access policy will result   in disciplinary action. Enter the security banner {Put the banner between k and k, where k is any character}: k www.norvel.com.cn k Enable secret is either not configured or  is the same as enable password Enter the new enable secret:  Confirm the enable secret :  Enter the new enable password:  Choose a password that's different from secret Enter the new enable password:  % Password too short - must be at least 6 characters. Password configuration failed Enter the new enable password:  Confirm the enable password: Configuration of local user database Enter the username: suyajuncn Enter the password:  Confirm the password:  Configuring AAA local authentication Configuring Console, Aux and VTY lines for local authentication, exec-timeout, and transport Securing device against Login Attacks Configure the following parameters Blocking Period when Login Attack detected:  Device not secured against 'login attacks'.   Configure SSH server? [yes]: yes Enter the domain-name: blog.norvel.com.cn Configuring interface specific AutoSecure services Disabling the following ip services on all interfaces:  no ip redirects  no ip proxy-arp  no ip unreachables  no ip directed-broadcast  no ip mask-reply Disabling mop on Ethernet interfaces Securing Forwarding plane services... Enabling CEF (This might impact the memory requirements for your platform) Enabling unicast rpf on all interfaces connected to internet Configure CBAC Firewall feature? [yes/no]: yes This is the configuration generated: no service finger no service pad no service udp-small-servers no service tcp-small-servers service password-encryption service tcp-keepalives-in service tcp-keepalives-out no cdp run no ip bootp server no ip http server no ip finger no ip source-route no ip gratuitous-arps no ip identd banner motd ^C www.norvel.com.cn ^C security passwords min-length 6 security authentication failure rate 10 log enable secret 5 $1$Bjbb$u54FP6qoSwpVXyBs6PBmY. enable password 7 095F5B10180F021C0802 username suyajuncn password 7 0100131D5A0113012242 aaa new-model aaa authentication login local_auth local line con 0  login authentication local_auth  exec-timeout 5 0  transport output telnet line aux 0  login authentication local_auth  exec-timeout 10 0  transport output telnet line vty 0 4  login authentication local_auth  transport input telnet ip domain-name blog.norvel.com.cn crypto key generate rsa general-keys modulus 1024 ip ssh time-out 60 ip ssh authentication-retries 2 line vty 0 4  transport input ssh telnet service timestamps debug datetime msec localtime show-timezone service timestamps log datetime msec localtime show-timezone logging facility local2 logging trap debugging service sequence-numbers logging console critical logging buffered interface FastEthernet0/0  no ip redirects  no ip proxy-arp  no ip unreachables  no ip directed-broadcast  no ip mask-reply  no mop enabled interface Ethernet1/0  no ip redirects  no ip proxy-arp  no ip unreachables  no ip directed-broadcast  no ip mask-reply  no mop enabled interface Ethernet1/1  no ip redirects  no ip proxy-arp  no ip unreachables  no ip directed-broadcast  no ip mask-reply  no mop enabled interface Ethernet1/2  no ip redirects  no ip proxy-arp  no ip unreachables  no ip directed-broadcast  no ip mask-reply  no mop enabled interface Ethernet1/3  no ip redirects  no ip proxy-arp  no ip unreachables  no ip directed-broadcast  no ip mask-reply  no mop enabled ip cef access-list 100 permit udp any any eq bootpc interface FastEthernet0/0  ip verify unicast source reachable-via rx allow-default 100 ip inspect audit-trail ip inspect dns-timeout 7 ip inspect tcp idle-time 14400 ip inspect udp idle-time 1800 ip inspect name autosec_inspect cuseeme timeout 3600 ip inspect name autosec_inspect ftp timeout 3600 ip inspect name autosec_inspect http timeout 3600 ip inspect name autosec_inspect rcmd timeout 3600 ip inspect name autosec_inspect realaudio timeout 3600 ip inspect name autosec_inspect smtp timeout 3600 ip inspect name autosec_inspect tftp timeout 30 ip inspect name autosec_inspect udp timeout 15 ip inspect name autosec_inspect tcp timeout 3600 ip access-list extended autosec_firewall_acl  permit udp any any eq bootpc  deny ip any any interface FastEthernet0/0  ip inspect autosec_inspect out  ip access-group autosec_firewall_acl in ! end   Apply this configuration to running-config? [yes]: yes Applying the config generated to running-config The name for the keys will be: R1.blog.norvel.com.cn % The key modulus size is 1024 bits % Generating 1024 bit RSA keys, keys will be non-exportable...[OK] R1# R1# R1# R1# R1# R1#show run Building configuration... Current configuration : 3069 bytes ! upgrade fpd auto version 12.4 no service pad service tcp-keepalives-in service tcp-keepalives-out service timestamps debug datetime msec localtime show-timezone service timestamps log datetime msec localtime show-timezone service password-encryption service sequence-numbers ! hostname R1 ! boot-start-marker boot-end-marker ! security authentication failure rate 10 log security passwords min-length 6 logging console critical enable secret 5 $1$Bjbb$u54FP6qoSwpVXyBs6PBmY. enable password 7 095F5B10180F021C0802 !          aaa new-model ! ! aaa authentication login local_auth local ! ! aaa session-id common no ip source-route no ip gratuitous-arps ip cef ! ! ! ! no ip bootp server no ip domain lookup ip domain name blog.norvel.com.cn ip inspect audit-trail ip inspect udp idle-time 1800 ip inspect dns-timeout 7 ip inspect tcp idle-time 14400 ip inspect name autosec_inspect cuseeme timeout 3600 ip inspect name autosec_inspect ftp timeout 3600 ip inspect name autosec_inspect http timeout 3600 ip inspect name autosec_inspect rcmd timeout 3600 ip inspect name autosec_inspect realaudio timeout 3600 ip inspect name autosec_inspect smtp timeout 3600 ip inspect name autosec_inspect tftp timeout 30 ip inspect name autosec_inspect udp timeout 15 ip inspect name autosec_inspect tcp timeout 3600 ip auth-proxy max-nodata-conns 3 ip admission max-nodata-conns 3 ! multilink bundle-name authenticated ! !        ! ! username suyajuncn password 7 0100131D5A0113012242 archive  log config   logging enable   hidekeys !  ! ! ! ip ssh time-out 60 ip ssh authentication-retries 2 ! ! ! ! interface FastEthernet0/0  no ip address  ip access-group autosec_firewall_acl in  ip verify unicast source reachable-via rx allow-default 100  no ip redirects  no ip unreachables  no ip proxy-arp  ip inspect autosec_inspect out  shutdown  duplex half  no mop enabled ! interface Ethernet1/0  no ip address  no ip redirects  no ip unreachables  no ip proxy-arp  shutdown  duplex half  no mop enabled ! interface Ethernet1/1  no ip address  no ip redirects  no ip unreachables  no ip proxy-arp  shutdown  duplex half  no mop enabled ! interface Ethernet1/2  no ip address  no ip redirects  no ip unreachables  no ip proxy-arp  shutdown  duplex half  no mop enabled ! interface Ethernet1/3  no ip address  no ip redirects  no ip unreachables  no ip proxy-arp  shutdown  duplex half  no mop enabled ! ip forward-protocol nd no ip http server no ip http secure-server !          ! ! ip access-list extended autosec_firewall_acl  permit udp any any eq bootpc  deny   ip any any ! logging alarm informational logging trap debugging logging facility local2 access-list 100 permit udp any any eq bootpc no cdp run ! ! ! control-plane ! !     ! gatekeeper  shutdown ! banner motd ^C  ^C ! line con 0  exec-timeout 5 0  logging synchronous  login authentication local_auth  transport output telnet  stopbits 1 line aux 0  login authentication local_auth  transport output telnet  stopbits 1 line vty 0 4  login authentication local_auth  transport input telnet ssh ! ! end            R1#  
(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)

本文转载自互联网,如有侵权,联系删除

本文地址:https://www.peigen.net/post/10875.html

相关推荐

板栗怎么私信主播?

板栗直播可以看直播,想必有一些用户已经知道,如果遇见自己喜欢的主播,我们该怎么私信主播呢?为此,小编特意查询资料,把板栗如何私信主播的方法分享给大家。 1)打开板栗,点击打开要私信的直播,接着点击左上...

电脑知识 2024-11-30 0 137

e兼职APP怎么进行身份认证?

e兼职app下载最靠谱的大学生兼职,帮助大学生提升技能,借用靠谱企业的力量培育大学生的社会经验与专业技能,最快5秒内找到心仪的兼职,大众点评最好的兼职软件。不过这么好用的软件,在使用前需要进行身份验证...

电脑知识 2024-11-30 0 141

口碑农场邀请码怎么获取

口碑农场是口碑app中新增加的一个玩法。口碑农场邀请码怎么获取?想要获得口碑农场的邀请码,具体该怎么操作?下面就是口碑农场邀请码获取教程,一起来看一下。...

电脑知识 2024-11-30 0 132

伙星app怎么更换主页封面?

伙星是一款关于相机相关的应用,能够让用户来制作各种好玩的、搞笑的照片,并且还有着许许多多的特效,能够让你看到很多很好玩的内容,除了这些,用户可以在里面进行拍照和漂流瓶交友等,那么在伙星app中要怎么更...

电脑知识 2024-11-30 0 118

会声会影怎么添加背景音乐?

会声会影2018是一款强大的照片|图片|视频制作、剪辑软件,具有多种的视频编辑功能和制作动画效果。但是如果想要让自己制作的视频有意思,背景音乐一定少不了,下面,小编就为大家介绍下会声会影添加背景音乐方...

电脑知识 2024-11-30 0 135

如何制作高质量的PPT?

如何制作高质量的PPT?不管是对于一个学生、老师还是上班族Word、PPT、表格这三个办公软件都是必修的技能了。我们如何将这些做得优秀?如何脱衣而出?所以呀今天我们就先来讨论一下如何制作PPT。如果...

电脑知识 2024-11-30 0 121

感谢您的支持