65xx系列交换机配置(Native IOS)(6)
5.4(2);;;;;;;8.2(0.56)TET Ok;;
Mod
Sub-Module;;Model;;;;;;SerialHw;;;;;Statu
s;;;
--- --------------------------- ------------------ ------------ -------
-------;;
;;5 Policy Feature Card 3;;;;;;;WS-F6K-PFC3A;;;;;;;SAD0752009D;;;2.0;;;;Ok;;
;;5 MSFC3 Daughterboard;WS-SUP720;;SAD075109HX;;;2.0;;;;Ok;;
;;6 Policy Feature Card 3;;;;;;;WS-F6K-PFC3A;;;;;;;SAD0751085J;;;2.0;;;;Ok;;
;;6 MSFC3 Daughterboard;WS-SUP720;;SAD0751077C;;;2.0;;;;Ok;;
;;7 Inline Power Module;WS-F6K-PWR;;;;;;;0.0;;;;Ok;;
Mod Online Diag Status;;;
--- -------------------;;
;;2 Pass;;
;;3 Pass;;
;;5 Pass;;
;;6 Pass;;
;;7 Pass;;
3.3. 配置机器名、telnet、密码;;
在全局模式下,用conf t,进入配置模式,进行以下配置:;;
#conf t;;
#clock timezone GMT 8 ;配置时区;;
#clock set 13:30:21 31 JAN 2004 ;配置交换机时间;;
#clock calendar-valid ;使能硬件时钟同步;;
#service timestamps debug datetime localtime ;配置系统debug记录时间格式;;
#service timestamps log datetime localtime ;配置系统日志记录时间格式;;
#service passWord-encryption ;配置使用加密服务,主要针对口令加密;;
#hostname xxxx ;配置交换机名称;;
#enable secret;;0 xxxxx ;配置enable口令;;
#copy run start ;将配置信息保存到NVRAM中,重启动不会丢失;;
#line vty 0 4 ;配置telnet;;
#exec-timeout 30 0;;
#password 0;;xxxx;;
#login;;
3.4. 配置snmp;;
#conf t;;
#snmp-server community cisco ro(只读) ;配置只读通信字符串;;
#snmp-server community secret rw(读写) ;配置读写通信字符串;;
#snmp-server enable traps;;;配置网关SNMP TRAP;;
#snmp-server host 10.254.190.1 rw ;配置网关工作站地址;;
3.5. 启动三层功能;;
#ip routing ;启动路由功能;;
3.6. 查看和配置系统环境变量;;
使用show bootvar命令查看系统启动环境变量,包括BOOT, BOOTLDR, and
CONFIG_FILE参数:;;
Router# show bootvar;;
BOOT variable = slot0:c6sup22-jsv-mz.121-5c.EX.bin,1;;;
CONFIG_FILE variable does not exist;;
BOOTLDR variable = bootflash:c6msfc2-boot-mz.121-3a.E4;;
Configu