Cisco IOS Basic CLI Configuration : Switch Port Command 1.  Basic Switch>en Switch#conf t Enter configuration commands, one per line.  End with CNTL/Z. Switch(config)#interface vlan 1 Switch(config-if)#ip address 192.168.1.200 255.255.255.0 Switch(co…
1.  Telnet Switch Config: Switch>en Switch#conf t Enter configuration commands, one per line.  End with CNTL/Z. Switch(config)#enable secret zhang Switch(config)#line console 0 Switch(config-line)#password 123 Switch(config-line)#login Switch(config-…
absolute : to specify an absolute time for a time-range (in time-range configuration mode) no absolute buffer-length : to specify the maximum length of the data stream to be forwarded (in line configuration mode) no buffer-length buffers : to make ad…
debug iapp through debug ip ftp debug iapp : to begin debugging of IAPP operations(in privileged EXEC mode) no debug iapp debug idmgr : to enable debugging for the identity manager (IDMGR)(in privileged EXEC mode) no debug idmgr debug of-mgr efp-ext…
copy system:running-config nvram:startup-config : to save your configuration changes to the startup configuration so that the changes will not be lost if the software reloads or a power outage occurs command | {begin | include | exclude} regular-expr…
debug eap through debug he-module subslot periodic debug eap : to display information about Extensible Authentication Protocol(EAP)(in privileged EXEC mode) no debug eap debug ecfmpal : to enable debugging of the data path of the Ethernet Connectivit…
debug aaa accounting through debug auto-config debug aaa accounting : to display information on accountable events as they occur(in privileged EXEC mode) no debug aaa accounting : to disable debugging output debug aaa authentication : to display info…
clear license agent : to clear license agent statistics counters or connection statistics (in privileged EXEC mode) debug license : to enable controlled Cisco IOS software license debugging activity on a device (in privileged EXEC mode) no debug lice…
Cisco IOS/IOS XE 新漏洞检测与修复 CVE-2018-0150 Cisco IOS XE 存在默认弱口令 漏洞影响: 默认弱口令可以导致攻击者直远程登录控制Cisco设备.受影响版本,Cisco IOS XE 16.x 修复方案: router# no username cisco switcher# no username cisco 或者删除cisco账户也可以 CVE-2018-0151 Cisco IOS/IOS XE QoS存在漏洞 漏洞影响: UDP端口18999开启…
IOS Internetwork Operating System 互联网操作系统(基于UNIX系统) Cisco IOS 软件提供多种网络服务进而支持各种网络应用. Cisco IOS用户界面的基本特性: 提供命令行界面(CLI) 在不同的网络设备上运行时有差别. 在命令模式下可以键入或粘贴命令. 键入命令后回车,设备即解析和执行所键入的命令. 两个主要命令模式是用户模式和特权模式. 不同的命令模式有不同的提示符. Cisco设备的简单启动过程: 交换机路由器的配置: 基于以下各方面来配置设备…
这个错误是因为是主动模式的,应该改为被动模式 以下是操作过程: iptables中加 -A INPUT -p tcp -m state --state NEW -m tcp --dport 10221:10231 -j ACCEPT 重启iptables #/etc/init.d/iptables restart vsftpd.conf中 最后加上 pasv_enable=YES pasv_min_port=10221 #随机最小端口,原来是4000 pasv_max_port=10231 #随…
最近在公司做的项目是需要在客户端录制视频,然后通过ftp传到服务器端.客户端是windows,服务器端linux.今天用新的电脑配置好项目之后,测试数据传输时出现了“200 port command successful. consider using pasv 425 failed to establish connection”的错误.         项目中的ftp连接和传输都是使用的bat批处理脚本完成的,所以我尝试直接用命令行连接ftp并传输,完全没问题...         百度,谷…
The port Command help: port help selfupdate selfupdate: sudo port selfupdate search: port search tftp uninstall sudo port uninstall tftp To also recursively uninstall the ports that the given port depends on, use the ‑‑follow‑dependencies flag. This…
首先说说IOS的运行平台,c2500.c2600.c4500.c2950代表运行此IOS的硬件平台,例如:C2500指2500系列路由器. 其次,看看IOS的版本,IOS有主版本号:11.0.11.1.11.2.11.3.12.0.12.1.12.2.12.3.12.4等,这些主版本号相当于windows的版本有win98.win2000.winxp.win2003. 当Cisco发布了某个主版本号的IOS以后,它会对它进行维护(仅修正bug,不添加新功能),每维护一次,维护版本号加1.例如c2…
An Overview of Cisco IOS Versions and Naming http://www.ciscopress.com/articles/article.asp?p=2106547 By Sean Wilkins. Article is provided courtesy of Cisco Press. Date: Jun 28, 2013. SaveDiggDel.icio.usPrint Article Information Article Description V…
Cisco IOS images for Dynamips - GNS3http://docs.gns3.com/1-kBrTplBltp9P3P-AigoMzlDO-ISyL1h3bYpOl5Q8mQ/index.html# An Overview of Cisco IOS Versions and Naming http://www.ciscopress.com/articles/article.asp?p=2106547 Should I use a mainline and techno…
Switch user command (su) has the following forms: su Switch to , without loading environment variables. If is omitted (only "su"), it equals to "su root"; su - Switch to , and loading environment variables. "-" is the abbrevi…
局域网用FTP命令访问外网的FTP SERVER,执行任何命令(如dir,ls,put,get)总是报下面的错误ftp:500 Illegal PORT command. 425ftp:Use PORT or PASV first或者是下面的错误ftp:500 Illegal PORT command.ftp: bind: Address already in use主要是由于Iptables防火墙不支持ip_nat_ftpip_conntrack_ftp在linux的ftp服务器上执行下列命令…
Responder and Control Protocol 1.Responder内嵌在思科目标路由器中的一个组件,用来对IP SLA请求包做应答,通过对应达包添加时间戳属性,以提高测量计算的准确性.只有Cisco厂家的路由器才能作为Cisco IP Sla的Responder. 2.Control Protocol   Cisco IP Sla 利用Control message通知Responder需要监听指定端口.一旦Responder收到带有指定端口属性的Control message…
原文: https://computers.tutsplus.com/tutorials/basic-vim-configuration--cms-21498 原来,vim的配置文件,.vimrc也是一种类似于shell ,javascript 的脚本语言.叫做vimScript Functions are very useful in the .vimrc file. Since the Vim’s configuration files use a full programing langu…
命令一共有以下几条: (1)enable secret enable secret 0 密码明文 enable secret 5 密码密文(MD5加密) (2)enable password enable password 0 密码明文 enable password 7 密码密文(Cisco 私有算法加密) 注:参数0也可以不写 用法: (1)enable secret 执行enable secret 0 zzz命令后,可以使用密码zzz进行登录 但执行enable secret 5 zzz命…
[问题] [解决办法] 用xcode打开项目 command + k 重启电脑 参照:xcode打包报错command codesign failed with a nonzero exit code [错误猜测] 看了其它人的总结,感觉有可能是更新了mac操作系统导致的问题 摘自: Xcode打包失败:xcrun codesign failed with exit code 1 [总结] 此处是升级了macOS High Sierra后,当时要求 1.设置登录密码和Apple开发者账号(==i…
网卡设置: Controller Node # The loopback network interface auto lo iface lo inet loopback   # The primary network interface auto eth0 iface eth0 inet static address 192.168.0.5 gateway 192.168.0.254 netmask 255.255.255.0 dns-nameservers 114.114.114.114  …
原先配置好的vsftpd突然不行了,不知为啥,感觉跟网络有关,这个网络总是有dns拦截的现象,..小公司.真烦人,用联通线路就没问题, 但同事就是连不上,我的笔记本却可以连接上..我的ubuntn,同事用的win7下的filezila......纠结了,好多天.....都是来回切换无线去上传文件 ...... 今天终于弄好了.. 以下是操作过程: iptables中加 -A INPUT -p tcp -m state --state NEW -m tcp --dport 10221:10231…
https://tools.stefankueng.com/StExBar.html https://github.com/cmderdev/cmder…
1.启用交换机端口安全 2.限制端口最大访问量为1,超出后关闭端口 1.启用交换机端口安全 #interface gigabitEthernet 0/1 #switchport mode access #switchport port-security #switchport port-security mac-address 1111.1111.1111 //以后就只有这个mac地址能接这个端口 #switchport port-security violation shutdown //发生…
1.交换机IP配置 2.配置telnet 1.交换机IP配置 #interface vlan 1 #ip address 192.168.0.3 255.255.255.0 #no shutdown #exit #ip default-gateway 192.168.0.2 2.配置telnet…
0x01前言 在Smart Install Client代码中发现了基于堆栈的缓冲区溢出漏洞,该漏洞攻击者无需身份验证登录即可远程执行任意代码.cisco Smart Install是一种“即插即用”的配置和图像管理功能,可为新的交换机提供简易的部署.该功能允许用户将思科交换机放置到到任何位置,将其安装到网络中,然后启动,无需其他配置要求.因此它可以完全控制易受攻击的网络设备.Smart Install是一种即插即用的配置和图像管理的功能,为新型交换机提供良好的图形界面管理.它能使初始化配置过程…
TEST#terminal monitor # 排除网络故障以前,请打开这一命令以便实时的接收到交换机的提示信息. TEST# TEST#sh run #显示所有的配置清单,可将这些配置保存成文本作为交换机的配置备份. Building configuration... Current configuration : bytes ! version 12.2 no service pad service timestamps debug uptime service timestamps log…
译:https://www.cisco.com/c/en/us/support/docs/switches/catalyst-6500-series-switches/71079-arp-cam-tableissues.html Catalyst交换机维护多种类型的表,这些表专为第2层交换或多层交换(MLS)而定制,并保存在very fast的memory中,以便可以并行比较帧或数据包中的许多字段. ARP-将IP地址映射到MAC地址,以便在第2层广播域内提供IP通信. 例如,主机B想要向主机A…