cisco命令学习笔记
switch>switch>enable //进特权模式
switch#configure terminal //进全局配置模式
switch(config)#hostname cisco 1941 //修改设备名为“cisco 1941”
switch(config)#enable secret cisco //设置进特权密文密码“cisco”(不显示)
VLAN配置
vlan添加
switch#vlan database //进vlan配置模式
switch(vlan)#vlan 100 //添加vlan 100
设置vlan IP
switch#config terminal
switch(config)#interface vlan 1
switch(confg-if)#ip address 192.168.100.1 255.255.255.0
switch(vlan)# vtp domain management //配置下发vlan"management"
switch(vlan)#vtp server//server模式
switch#vlan database
switch(vlan)#vtp domain management //客户交换机加入“management”域
switch(vlan)#vtp client//client模式
PORTt配置
switch(config)#interface fastethernet 0/24 //进入24口
switch(config-if)#switchport trunk encapsulation dot1q //使用dot1q封装
switch(config-if)#switchport mode trunk //配置24口为TRUNK模式
添加端口进VLAN
switch(config)#interface ethernet 0/1 //进1口
switch(config-if)#switchport mode access //接入模式
switch(config-if)#switchport access vlan 100 //加1口进vlan 100
镜像配置
端口镜像(通过2口监控1口流量)
switch(config)#monitor session 1 source interface fastethernet 0/1
switch(confg)#monitor session 1 destination interface fastethernet fastethernet 0/2
vlan镜像(通过2口监控vlan 1流量)
switch(config)#monitor session 1 source vlan 1
switch(config)#monitor session 1 destination interface fastethernet 0/2
此外,还学习了俩个安卓平台上的俩个软件
1,dsploit 这是Android平台上的一个网络***套件,是一个网络分析平台,可以有效地对移动设备,以及WLAN做安全评估。
2,fing 网络发现,网络扫描100%命中任何基于以太网络
页:
[1]