注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 WEB3.0来了,能知道100米..
 帮助

中兴3206交换机配置


2008-04-17 14:00:31
中兴3206交换机配置
ZXR10_3206#sh run
Building configuration...
Current configuration:
!
version V4.6.02D
!
enable secret 5 +SNZGkhtTlA2RH4mUcHVzw==
!
nvram mng-ip-address 10.40.88.173 255.255.0.0
!
nvram boot-username target
!
nvram boot-password target
!
nvram boot-server 10.40.88.170
!
nvram default-gateway 1.1.1.1
!
nvram imgfile-location local
!
hostname ZXR_3206
!
username id password 110
!
user-authentication-type local
user-authorization-type local
!
snmp-server contact +86-25-52870000
snmp-server location No.68 Zijinghua Rd. Yuhuatai District, Nanjing, China
snmp-server packetSize 1400
snmp-server engine-id 830900020300010289d64401
snmp-server access-list 10
snmp-server community public view AllView ro
snmp-server community private view AllView rw
snmp-server view DefaultView system included
snmp-server view AllView internet included
!
logging on
logging buffer 200
logging mode fullcycle
logging console informational
logging level notifications
logging timestamps datetime localtime
syslog-server facility local0
!
unm on
!
line console idle-timeout 120
line console absolute-timeout 1440
line telnet idle-timeout 120
line telnet absolute-timeout 1440
!
ssh server enable
ssh server authentication ispgroup 1
ssh server authentication mode local
ssh server authentication type chap
ssh server only
ssh server version 2
!
!
!
banner incoming @
          ********************************************************************
          Welcome to ZXR10 Fast and Intelligent 3206 Switch of ZTE Corporation
          ********************************************************************
@
!
!
vlan 1
!
vlan 102
name connect_vlan
!
vlan 2000
name Lab_Vlan
!
vlan 3000
name Noc_Vlan
!
!
!
!
virus-scan set disable
!
iptv sms-server-port 0
!
interface vlan 102
  ip address 10.30.119.95 255.255.255.192
!
interface vlan 2000
  ip address 10.30.119.225 255.255.255.224
!
interface vlan 3000
  ip address 10.30.119.209 255.255.255.240
!
interface fei_1/1
  negotiation auto
  switchport access vlan 200
  switchport qinq normal
!
interface fei_1/2
  description connect to vlan test
  negotiation auto
  switchport access vlan 300
  switchport qinq normal
!
interface fei_1/3
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_1/4
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_1/5
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_1/6
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_1/7
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_1/8
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_2/1
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_2/2
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_2/3
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_2/4
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_2/5
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_2/6
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_2/7
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_2/8
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_3/1
  description connect to cdn_dep vlan
  negotiation auto
  switchport access vlan 300
  switchport qinq normal
!
interface fei_3/2
  description To_Lab_huawei6503_GE3/0/1
  negotiation auto
  switchport access vlan 200
  switchport qinq normal
!
interface fei_3/3
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_3/4
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_3/5
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_3/6
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_3/7
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface fei_3/8
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface gei_7/1
  hybrid-attribute fiber
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface gei_7/2
  description conn to 4506-01-G2/5_1000BASE_ZX
  hybrid-attribute fiber
  negotiation auto
  switchport access vlan 102
  switchport qinq normal
!
interface gei_7/3
  hybrid-attribute fiber
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
interface gei_7/4
  hybrid-attribute fiber
  negotiation auto
  switchport access vlan 1
  switchport qinq normal
!
ip route 0.0.0.0 0.0.0.0 10.30.119.67
!
!
!
acl basic number 10
  rule 1 permit 10.30.119.91 0.0.0.0
  rule 10 permit 192.168.151.0 0.0.0.255
!
!
!
protocol-packet-protect enable
!       
!
!
ip igmp snooping
ip igmp snooping proxy
!
!
nas
!
!
monitor session 1
!
!
!
!
!
end
ZXR10_3206# 


上一篇 销售  下一篇 交换机大uan



    文章评论
 
2008-05-21 20:57:07
有两台交换机均是中兴2818
A(其中一台)有数据,数据为下:
set vlan 50,3030-3044 en
set vlan 1 dele port 1-16
set port 2 pvid 3030
....................
set port 16 pvid 3044

set vlan 50,3030-3044 add port 1 tag
set vlan 3030 add port 2 untag
........................
set vlan 3044 add port 16 untag
(.....意为中间省略从2口一直到16口)此为交换机A的配置
交换机B 没有任何配置 是一个空的
外网没有vlan 就是一个普通的ADSL用户

外网插在B交换机的1口,B交换机的2口插在A交换机的1口 然后A的交换机连接电脑
前提:A交换机任何数据不能更改 B交换机可以更改任何数据

问题 怎样使A交换机的任意一个口接电脑都可以上网

概述:就是A交换机有vlan 而外网是没有VALN的 所以上不去网 怎样修改B交换机 能够通过B连接A之后 A的任意一个口连接电脑都能上网
(排除不要A直接把B当作HUB的说法)

请高手指教 小弟万分感谢!!如感觉这里说不方便的话可以+小弟的QQ:75183137

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: