概述
本期文章主要总结分享思科交换机SSH2远程登陆配置、用户的密码如何在配置文件中显示为密文、NTP及时区配置和设备管理IP地址配置等,希望各位小伙伴有所收获。
router(config-if)# standy group-number timers hellotime holdtime
switch(config)# valn 2
duplex full
段
测试下,如果是自己中意的结果,即ssh1能够登录的话,执行11
Switch(config)# policy-map policy1
# no ip bootp server
Console>(enable) set snmp trap disable chassis
policy-map input-policy-10M
进入telnet远程登录界面
inter g0/1
#配置交换机管理IP的网关
Howmany bits in the modulus [512]: 注:选择加密位数,cisco推荐使用1024
用户名、权限和密码 在设置权限参数时一般填0(最低权限),用户名统一为netmaster,密码用Password Agent软件随机生成12位包含数字和大小写字母的密码
switch(config)# 配置模式
设置一个SNMP Community,使用该Community连接交换机时,不仅可以读取其SNMP信息,还可以将值写入SNMP的MIB对象,实现对设备进行配置。你可以把指令中的private换成你想要的字符串。
router(config)#no ip domain-lookup
把结果写入。
在一个以太网通道中,两端的端口必须使用相同协议
我们遇到的一种情况
interface Vlan1
4:配置使能口令 enable password cisco 以 cisco 为例
Ø 配置以太网通道的注意事项
S1(config)#vtp password cisco
switch(config)#vtp password ;配置vtp口令。同一vtp域内的交换机,口令配置要一致!!!
SNMP可做的工作很多,比如以下几类:
switch#show interface brief 查看端口信息
三层交换机的配置
permit ip x.x.x.x 0.0.0.3 any
show interface fastethernet 0/1 察看交换机 1 接口具体配置和统计信息
Router#clock set 11:36:00 12 august 2003 ; 设置路由器的时间
duplex full
switch>enable
switch(config)#line console 0 ;进入控制台口
Switch3(config-if)#int e0/11
HSRP
Switch(config)# policy-map user2-up //定义PC2上行的速率为2M
负责转发数据的是AVF(Avtive Virtual Forwarder),GLBP会控制GLBP组中哪个路由器是哪
switch# 特权模式
IP 组播实际上也是一种VLAN的定义,即认为一个IP组播组就是一个VLAN。这种划分的方法将VLAN扩大到了广域网,因此这种方法具有更大的灵活性,而且也很容易通过路由器进行扩展,主要适合于不在同一地理范围的局域网用户组成一个VLAN,不适合局域网,主要是效率不高。
思科产品型号大全
# no ip http secure-server
hostname(config-if)# ;接口状态
% Generating 2048 bit RSA keys, keys will be non-exportable…[OK]
Choose the size of the key modulus in the range of 360 to 2048 for your
switch>enable
interface FastEthernet0/9
在写 crypto key generate rsa这句话时,不让写入
◆某个端口出现问题时可以发送警告信息给管理员。
Switch1(config-if)#
transport input none
R1(config)# privilege configure level 3 copy run start
class output-class
router(config)#no shutdown
switch(vlan)#exit