通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 2699|回复: 1
打印

中兴PTN6100 脚本 [复制链接]

军衔等级:

  新兵

注册:2009-2-23
跳转到指定楼层
1#
发表于 2013-11-24 23:43:42 |只看该作者 |倒序浏览
conf t
hostname v-hualinzhengquan-1
username who password who privilege 1
username zte password ecc privilege 15
username ptn password ptn privilege 1
show username
multi-user configure
snmp-server view AllView internet included
snmp-server community public view AllView ro
snmp-server community private view AllView rw
snmp-server host 129.2.1.4  trap version 2c public udp-port 162
snmp-server trap-source 129.5.40.14                                       
snmp-server packetsize 8192
snmp-server enable trap SNMP
snmp-server enable trap VPN
snmp-server enable trap BGP
snmp-server enable trap OSPF
snmp-server enable trap RMON
snmp-server enable trap STALARM
logging on
logging trap-enable informational
clock timezone BEIJING 8
interface loopback1         
                                       
ip address 110.5.40.14  255.255.255.255
exit
tmpls lsr-id loopback1   
vlan 3460
exit
interface vlan 3460
ip address 129.5.223.82  255.255.255.252
exit
interface gei_1/9
mcc-vlanid 3460
mcc-bandwidth 100
switchport mode trunk
switchport trunk vlan 3460
switchport trunk native vlan 3460      
exit
interface gei_1/10
mcc-vlanid 3460
mcc-bandwidth 100
switchport mode trunk
switchport trunk vlan 3460
switchport trunk native vlan 3460      
exit
line telnet idle-timeout 30                                      
line telnet absolute-timeout 0
spanning-tree disable
span tran enable
no ip igmp snooping
no dcn enable
router ospf 1                                                   
network 129.5.40.14  0.0.0.255 area 0                              
network 129.5.223.82  0.0.0.255 area 0         
exit
exit
write   
reloat

举报本楼

本帖有 1 个回帖,您需要登录后才能浏览 登录 | 注册
您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系我们 |网站地图  

GMT+8, 2024-11-18 13:48 , Processed in 0.223365 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部