1樓:
參照3550的二層做資料就行。
disdisplay cu
display current-configuration
sysname es-7f00-s3552-1
super password level 3 ****** cisco
radius scheme system
server-type huawei
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain
domain shut
radius-scheme system
access-limit disable
state active
vlan-assignment-mode integer
idle-cut disable
self-service-url disable
messenger time disable
domain system
radius-scheme system
access-limit disable
state active
vlan-assignment-mode integer
idle-cut disable
self-service-url disable
messenger time disable
domain default enable system
local-server nas-ip 127.0.0.1 key huawei
info-center loghost 192.168.150.1
info-center loghost 172.16.99.1
temperature-limit 0 20 80
vrrp ping-enable
dhcp server ip-pool 2
dhcp server ip-pool 8
network 135.32.89.0 mask 255.255.255.0
gateway-list 135.32.89.1
dns-list x.x.x.x
stp instance 0 priority 4096
stp enable
acl number 3998
rule 0 deny ip destination 192.168.151.0 0.0.0.255
rule 1 permit ip source 192.168.151.0 0.0.0.255
acl number 3999
rule 0 deny ip source 192.168.151.0 0.0.0.255
rule 1 permit ip destination 192.168.151.0 0.0.0.255
#acl number 4000
rule 0 deny ingress 0009-5307-b400 0000-0000-0000 egress any
rule 10 permit ingress any egress any
#vlan 1
#vlan 2
description vlan_for_6f_working_area
#vlan 3
description vlan_for_7f_oa_area
#vlan 4
description vlan_for_8f_working_area
#vlan 54
description layer3_inte***ce_to_cisco_6509
#vlan 60
description 7f-in-a-ma5200f_sdc-f-isg2000-02
#vlan 203
description manufactue_area
#inte***ce vlan-inte***ce1
#inte***ce vlan-inte***ce2
description gateway for 6f working area
ip address x.x.x.x 255.255.255.192
dhcp select inte***ce
dhcp server dns-list x.x.x.x
dhcp server expired day 0 hour 12
vrrp vrid 2 virtual-ip 135.32.87.129
vrrp vrid 2 preempt-mode timer delay 4
#inte***ce vlan-inte***ce3
ip address x.x.x.x 255.255.255.128
dhcp select inte***ce
dhcp server dns-list 10.104.1.23 10.104.1.21
dhcp server expired day 0 hour 12
vrrp vrid 3 virtual-ip 135.32.87.1
vrrp vrid 3 priority 150
vrrp vrid 3 preempt-mode timer delay 4
#inte***ce vlan-inte***ce4
description gateway for 8f working area
ip address 135.32.87.194 255.255.255.192
ip address 135.32.89.1 255.255.255.0 sub
dhcp select inte***ce
dhcp server expired day 0 hour 12
vrrp vrid 4 virtual-ip 135.32.87.193
vrrp vrid 4 priority 150
vrrp vrid 4 preempt-mode timer delay 4
#inte***ce vlan-inte***ce54
description layer3_inte***ce_to_cisco_6509
ip address 135.32.86.3 255.255.255.128
#inte***ce aux0/0
#inte***ce ethernet1/1
stp instance 0 port priority 0
description to 7f-in-d-s3552f-01 e1/1 100m
port link-type trunk
port trunk permit vlan 1 to 5 54 60 203
#inte***ce ethernet1/2
description to 7f-in-a-s2024c-01 e1/1 100m
port link-type trunk
port trunk permit vlan 1 3
#inte***ce ethernet1/3
description to 7f-in-a-s2024c-02 e1/1 100m
port link-type trunk
port trunk permit vlan 1 3
shutdown
#inte***ce ethernet1/4
description to 7f-in-a-s2024c-03 e1/1 100m
port link-type trunk
port trunk permit vlan 1 3 203
#inte***ce ethernet1/5
description to 7f-in-a-s2024c-04 e1/1 100m
port link-type trunk
port trunk permit vlan 1 3 203
#inte***ce ethernet3/1
description to 6f-in-a-s2024c-01 e2/1 100m
port link-type trunk
port trunk permit vlan 1 to 2
#inte***ce ethernet3/2
description to 6f-in-a-s2024c-02 e2/1 100m
port link-type trunk
port trunk permit vlan 1 to 2
#inte***ce ethernet4/1
stp disable
stp edged-port enable
mac-address max-mac-count 1
port access vlan 3
#inte***ce ethernet4/2
stp disable
stp edged-port enable
mac-address max-mac-count 1
port access vlan 3
#inte***ce ethernet6/6
stp disable
stp edged-port enable
mac-address max-mac-count 1
port access vlan 3
#inte***ce ethernet6/7
stp disable
stp edged-port enable
mac-address max-mac-count 1
port access vlan 3
#inte***ce ethernet6/8
stp disable
stp edged-port enable
mac-address max-mac-count 1
port access vlan 3
#inte***ce gigabitethernet7/1
stp disable
stp instance 0 port priority 240
description to_8f_c6509
duplex full
speed 1000
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 54 60
#inte***ce gigabitethernet7/2
shutdown
#inte***ce gigabitethernet7/3
shutdown
#inte***ce gigabitethernet7/4
shutdown
#inte***ce null0
#cluster
ip-pool 192.168.151.1 255.255.255.0
build huawei2
#ip route-static 0.0.0.0 0.0.0.0 135.32.86.9 preference 60
ip route-static 10.31.2.0 255.255.255.0 135.32.86.1 preference 60
ip route-static 135.33.88.0 255.255.255.0 135.32.86.1 preference 60
#snmp-agent
snmp-agent local-engineid 800007db000fe22b0bc06877
snmp-agent community read public@cm0
snmp-agent community write private@cm0
snmp-agent sys-info location beijing china
snmp-agent sys-info version all
snmp-agent trap enable standard
snmp-agent trap enable configuration
snmp-agent trap enable vrrp
snmp-agent trap enable ospf
snmp-agent trap enable bgp
snmp-agent trap source vlan-inte***ce1
#user-inte***ce aux 0
authentication-mode password
user privilege level 0
set authentication password cipher $t5=a0:*!5![wd;""l5/x!!!
user-inte***ce vty 0 1
user privilege level 3
set authentication password cipher n`c55qk<`=/q=^q`maf4<1!!
user-inte***ce vty 2 3
user privilege level 3
set authentication password cipher i5:co5q[!c1[wd;""l5/x!!!
user-inte***ce vty 4
set authentication password ****** cisco
#return
華為S2300交換機埠連線路由器其它埠每個埠vlan怎麼設定才能讓其它埠都能上網
上聯到路由器的使用中繼埠即使用命令port trunk allow pass vlan all 下聯到pc的埠使用命令port access vlan xx 前提是你的vlan必須存在,然後再把你要上網的埠加入vlan中去。上聯口e 0 1 port lin t port trun per vlan...
華為s2300交換機同埠可不可以設兩個valn
是可以的,但是你是不是先把上聯的情況描述清楚?華為s2300交換機 同一個埠可不可以設兩個valn 設定trunk埠啊。加什麼兩個vlan,那是不可以的。埠執行有三種模式 access,可以加 入vlan。trunk,是幹線,所有的vlan資料都要走這個埠,還有一種埠,華為裡面叫hybrid,cis...
華為交換機,華為交換機s572032xei24sac中的引數代表什麼意思
s 表示s系列交換 機5720 5表示預設下行為千兆電口 7表示為企業網產品 00為具體系列號版。32x 32個埠,x表示支援上行萬兆介面。ei enhanced software image,表權示裝置為增強版本,包含某些高階特性。24s 32個光口中有24個是千兆sfp光口ac 交流供電 詳情見...