《锐捷交换机典型配置指令》由会员分享,可在线阅读,更多相关《锐捷交换机典型配置指令(3页珍藏版)》请在金锄头文库上搜索。
1、一、密码设置Ruijie enableRuijie# configuration terminalRuijie(config)# enable password 密码Ruijie(config)# line console 0Ruijie(config-line)# password 密码Ruijie(config-line)# loginRuijie(config)# line vty 0 4Ruijie(config-line)# password 密码Ruijie(config-line)# login二、设备命名、接口命名、VLAN命名Ruijie enableRuijie# conf
2、iguration terminalRuijie(config)# hostname 名字Ruijie(config)# interface fastethernet 0/1Ruijie(config-if)# description 接口描 述内容Ruijie(config)# vlan vlan 编号Ruijie(config-vlan)#name 名字二、POE供电的配置及查看Ruijie enableRuijie# configuration terminalRuijie(config)# interface fastethernet 0/1Ruijie(config-if)# poe
3、 enableRuijie(config)# interface range fastethernet 0/1 - 24Ruijie(config- if -range)# poe enableRuijie# show poe interface 接 口编号Ruijie# show poe powersupply三、接口模式设置、速率、双工、光电模式转换Ruijie# configuration terminalRuijie(config)# interface fastethernet 0/1Ruijie(config-if)# medium-type fiber | copper Ruij
4、ie(config-if)# speed 10 | 100 | 1000 | auto Ruijie(config-if)# duplex auto | full | half 四、设备配置保存、备份、删除、重启Ruijie enableRuijie# writeRuijie# copy flash:/config.text xmodemRuijie# delete config.textRuijie# reload五、设备管理IP及SNMP团体属性配置Ruijie# configuration terminalRuijie(config)# interface vlan 管理 vlan 编号
5、Ruijie(config-if)# ip address ip 地址 子网掩码Ruijie(config)# snmp community string ro六、基于时间的访问控制列表Ruijie enableRuijie# clock set hh:mm:ss month day yearRuijie# configuration terminalRuijie(config)# ntp server x.x.x.xRuijie(config)# time-range time-range-nameRuijie(config-time-range)# periodic weekdays 8:00 to 18:00Ruijie(config)# ip access-list extended 100Ruijie(config-ext-nacl)# permit ip any any time-range time-range-nameRuijie(config)# interface gigabitEthernet 0/1Ruijie(config-if)# ip access-group 100 in