C114门户论坛百科APPEN| 举报 切换到宽版

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

亚星游戏官网-yaxin222  新兵

注册:2013-1-11
发表于 2013-11-3 03:58:27 |显示全部楼层
W815N中配置了WAN口VLANID是2,IP是10.4.227.2、255.255.255.0、10.4.227.1,,无线VLANID是784,平常通过无线正常连接W815N并上网。

今日用F820取代之,配置了两个端口,fei_0/1/7和fei_0/1/8,其实8相当于W815N的WAN口,7相当于W815N的无线,配置好后,只能dhcp获取ip,ping不通,dns也不能用。

下面是F820的配置文件,不知道哪里有问题,望解决,谢谢!



!**********Before interface -- show run on RP start!*********
!
!
add-rack rackno 0 racktype F820-RACK
add-shelf rackno 0 shelfno 0 shelftype F820-SHELF
add-card rackno 0 shelfno 0 slotno 3 EPUA
add-card rackno 0 shelfno 0 slotno 4 EI8E
add-card rackno 0 shelfno 0 slotno 5 V16B
auto-update version
!
mac aging-time 300
mac monitor-period 10
mac usage-threshold 70
!
eth-switch broadcast-limit 100
eth-switch unknowncast-limit 200
eth-switch multicast-limit disable
eth-switch port-protect disable
!
vlan database
  vlan 1-4093
!        
!        
!        
vlan 2   
  name ChinaNet
!        
!        
pon      
!        
pon      
!        
pon     
!        
pon     
!        
!        
port-location access-node-identifier inband-mac
port-location vlan-id before-trans
!        
dhcp-option82 disable
!        
pppoe-plus disable
!        
igmp onu-mode snooping
igmp onu-fastleave enable
igmp host-ip 0.0.0.0
igmp proxy-ip 0.0.0.0
igmp last-query-count 2
igmp last-query-interval 10
igmp query-interval 125
igmp query-max-resp 100
igmp robustness 2
igmp snooping-aging-time 300
!        
!        
loopback-detection enable
!        
loopback-detection auto-shutdown enable
!        
         
!        
!        
!        
interface null1
!        
interface inband-vlan 1
!        
interface inband-vlan 2
  ip address 10.4.227.2 255.255.255.0
!        
interface fei_0/1/1
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/1/2
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/1/3
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/1/4
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/1/5
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode trunk
  switchport vlan 1,784  tag
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/1/6
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  switchport vlan 784  untag
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/1/7
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  switchport default vlan 784
  switchport vlan 2 untag
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/1/8
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  switchport vlan 2,784  tag
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
  monitor session 1 destination
!        
interface gei_0/3/1
  no negotiation auto
  speed 1000
  duplex full
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  switchport vlan 2-9,11-4093  tag
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
  monitor session 1 source direction both
!        
interface fei_0/4/1
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/4/2
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/4/3
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/4/4
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/4/5
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/4/6
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/4/7
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/4/8
  negotiation auto
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
interface fei_0/5/1
  no negotiation auto
  speed 100
  duplex full
  flowcontrol disable
  no max-mac-learn
  switchport mode hybrid
  igmp max-group 255
  igmp fast-leave enable
  igmp tag-stripe disable
  igmp mvlan-translate enable
  igmp cvlan 0
  loopback-detection disable
!        
!**********After interface -- show run on RP start!**********
!        
mng-interface voip-interface slot 5
!        
ip igmp snooping
ip igmp snooping proxy
!        
!        
!        
protocol-packet-protect enable
!        
ces      
!        
pon mac use_default
cpu rate-limit 384 bucket-size 64
pon laser disable
!        
voip 4   
!        
voip 5   
!        
!        
nvram mng-ip-address 136.1.1.1 255.255.255.0
!        
nvram boot-username f820
!        
nvram boot-password f820
!        
nvram loid
!        
nvram loid-password

                     !        
mac inband-mac 0818.1a1a.1943
         
!        
nvram boot-server 136.1.1.100
!        
nvram imgfile-location local
!        
nvram config-filename startrun.dat
!        
hostname FC-System-SW1
!        
enable secret level 15 5 7vcMu04ySYcD57tmXHzByw==
!        
username zte password ****** privilege 15
!        
clock timezone China 8
!        
banner incoming @
************************************************
Welcome to ZXAN product  of ZTE Corporation
************************************************
@        
!        
!        
!        
!        
snmp-server location No.889 BiBo Rd. PuDong District, ShangHai, China
snmp-server contact +86-021-68895000
snmp-server packetSize 3000
snmp-server engine-id 830900020300010289d64401
snmp-server community public view allview rw
snmp-server view allview internet included
snmp-server view DefaultView system included
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
!        
!        
ntp server 65.55.21.22
ntp interval-time 1800
ntp enable
!        
logging on
logging buffer 200
logging mode fullcycle
logging console notifications
logging level notifications
!        
unm on   
!        
line console idle-timeout 120
line console absolute-timeout 1440
line telnet idle-timeout 120
line telnet absolute-timeout 1440
!        
alarm enable
alarm confirm
nms-hello-trap disable
nms-hello-trap interval 120
!        
!        
end

举报本楼

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

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

GMT+8, 2024-11-17 02:57 , Processed in 0.392683 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图