ZBLOG

中兴M6000-18S BRAS配置脚本

以下是中兴M6000-18S BRAS的基本配置脚本,供参考:

# 配置管理口 IP 地址
sys 
ip address 192.168.1.1 mask 255.255.255.0

# 配置 NTP 服务器
ntp-service unicast-server 192.168.1.2 version 3 authentication-keyid 1 md5 password
clock datetime HH:MM:SS YYYY-MM-DD

# 配置 SNMP 协议
snmp-agent 
snmp-agent local-engineid id ipaddr 192.168.1.1 udp-port 161
snmp-agent community read public write private
snmp-agent sys-info version all

# 配置系统日志
info-center loghost x.x.x.x source default channel syslog log-level debugging trap warning

# 配置 Telnet 和 SSH 登录
user-interface vty 0 4 
authentication-mode aaa 
protocol inbound telnet 
quit 

user-interface vty 0 4  
authentication-mode aaa   
protocol inbound ssh2    
quit 

# 创建 AAA 认证模板和用户账号信息
aaa   
authentication-scheme default local 
authorization-scheme default local  
accounting-scheme default start-stop   
domain default    
local-user admin password irreversible-cipher XXXXXXXX level-3 service-type ssh telnet  

# 配置 DHCP 池和地址池范围
dhcp enable    
dhcp relay server-group dhcp_server  
interface vlanif XX    
ip address X.X.X.X X.X.X.X    
undo shutdown   

dhcp select global   
dhcp snooping enable   
dhcp snooping trust interface GigabitEthernet X/X/X  

ip pool dhcp_pool xx.xx.xx.xx xx.xx.xx.xx gateway-list xx.xx.xx.xx dns-list xx.xx.xx.xx

# 配置 NAT
interface GigabitEthernet X/X/X   
nat enable    
nat outbound XX  

ip pool nat_pool gateway-list xx.xx.xx.xx  
acl number 3000   
rule permit ip source xx.xx.xx.0 0.0.0.255 destination any    
nat server protocol tcp global xx.xx.xx.xx inside xx.xx.xx.x port http 

# 配置 IPoE 接入
vlan batch XXXX 
interface vlanif XX     
ip address X.X.X.X X.X.X.X 
dhcp select relay    
dhcp relay server-select dhcp_server    
poe-detect enable    
undo shutdown   

interface gpon-onu_1/2/3:4   
service-port XX vlan XXXX user-vlan XXXX     


本站部分文章来源于网络,版权归原作者所有,如有侵权请联系站长删除。
转载请注明出处:http://sdn.0voice.com/?id=1157

分享:
扫描分享到社交APP
上一篇
下一篇
发表列表
游客 游客
此处应有掌声~
评论列表

还没有评论,快来说点什么吧~

联系我们

在线咨询: 点击这里给我发消息

微信号:3007537140

上班时间: 10:30-22:30

关注我们
x

注册

已经有帐号?