01
思科交换机巡检命令
switch#show mac-address-table 查看mac地址转发表
class input-class
no ip address
Switch(config-pmap)# class user2-up
上一步我们对各交换机配置了VLAN组,现在要把这些VLAN对应于表1所规定的交换机端口号。对应端口号的命令是”vlan-membership static/ dynamic VLAN号 “。在这个命令中”static”(静态)和”dynamic”(动态)分配方式两者必须选择一个,不过通常都是选择”static”(静态)方式。
access-list 100 permit ip any ********.0 0.0.0.255
Switch# configure terminal
Switch2(config-if)#vlan-membership static 3
track 100 interface Serial0/0/0 定义一个跟踪目标号,被跟踪对象为s0/0/0
spanning-tree link-type point-to-point 把接口的链路类型改为点对点
dallasr1># show ip pim interface[type number] [count]
aptech2950(conf)# interface vlan 1
aptech2950>en
class-map match-any test_limite
Switch3(config-if)#vlan-membership static 4
//以上是在Trunk 链路上配置Native VLAN,我们把它改为VLAN 2 了,默认是VLAN 1。
的主机来看,网关并没有改变。
switch(conf)#hostname aptch-2950
sw1(config)#end 退回到特权模式
show cdp nerghbors 列出与设备相连的cisco设备
我们曾经用过 line vty 5 15 这个vty进去修改,以失败告终。
switch(vlan)#exit
Cisco_SW(config-if)#exit
router(config)#line vty 0 ?
speed 100
switch# reload
思科CIR功能能够以低达1Mbps的精确度保障带宽。
aptech2950(conf-if)#duplex full/half/auto 有 full , half, auto 三个可选
SwitchA>enable
一.划分VLAN
interface FastEthernet0/20
SwitchA#configure terminal
(3)错误消息和事件信息的日志
Switch (config)#class-map name // 设置QoS Class Map
Pix525(config)#nat (inside) 1 0 0
04
Router(config)# access-list access-list-number {permit|deny} source-address [source-address]
U – in use f – failed to allocate aggregator
默认情况下,这些密码都是以明文的形式存储,所以很容易查看到。为了避免这种情况,我们可以以密文的形式存储各种密码:service password-encryption
no ip address
#查看设备的MAC表项
在上一步”>”提示符下输入进入特权模式命令”enable”,进入特权模式,命令格式为”>enable”,此时就进入了交换机配置的特权模式提示符:
(6)
10
配置交换机端口IP和子网掩码
R1(config)# line console 0R1(config-line)# exec-timeout 5 10
//以上是配置vty 的密码,即telnet 密码
【技术要点】
这样,SSH已经在路由器上配置成功了,就能够通过SSH进行安全登录了。
router(config-if)# lane client ethernet elan-num
解除绑定
#查看设备接口的状态,接口IP、接口状态、接口协议状态等
switch#show vtp ;查看vtp配置信息
dns-server ip ;dns服务器
# username netadmin privilege 15 secret 1111