求华为S2300的交换机的数据配置!
发布网友
发布时间:2022-04-26 13:45
我来回答
共1个回答
热心网友
时间:2022-06-28 18:21
参照3550的二层做数据就行。
<huawei2_0.ES-7F00-S3552-1>dis
<huawei2_0.ES-7F00-S3552-1>display cu
<huawei2_0.ES-7F00-S3552-1>display current-configuration
sysname ES-7F00-S3552-1
super password level 3 simple 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_interface_to_cisco_6509
#
vlan 60
description 7F-IN-A-MA5200F_SDC-F-ISG2000-02
#
vlan 203
description MANUFACTUE_area
#
interface Vlan-interface1
#
interface Vlan-interface2
description Gateway for 6F working area
ip address X.X.X.X 255.255.255.192
dhcp select interface
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
#
interface Vlan-interface3
ip address X.X.X.X 255.255.255.128
dhcp select interface
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
#
interface Vlan-interface4
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 interface
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
#
interface Vlan-interface54
description Layer3_interface_to_cisco_6509
ip address 135.32.86.3 255.255.255.128
#
interface Aux0/0
#
interface 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
#
interface Ethernet1/2
description TO 7F-IN-A-S2024C-01 E1/1 100M
port link-type trunk
port trunk permit vlan 1 3
#
interface Ethernet1/3
description TO 7F-IN-A-S2024C-02 E1/1 100M
port link-type trunk
port trunk permit vlan 1 3
shutdown
#
interface Ethernet1/4
description TO 7F-IN-A-S2024C-03 E1/1 100M
port link-type trunk
port trunk permit vlan 1 3 203
#
interface Ethernet1/5
description TO 7F-IN-A-S2024C-04 E1/1 100M
port link-type trunk
port trunk permit vlan 1 3 203
#
interface Ethernet3/1
description TO 6F-IN-A-S2024C-01 E2/1 100M
port link-type trunk
port trunk permit vlan 1 to 2
#
interface Ethernet3/2
description TO 6F-IN-A-S2024C-02 E2/1 100M
port link-type trunk
port trunk permit vlan 1 to 2
#
interface Ethernet4/1
stp disable
stp edged-port enable
mac-address max-mac-count 1
port access vlan 3
#
interface Ethernet4/2
stp disable
stp edged-port enable
mac-address max-mac-count 1
port access vlan 3
#
interface Ethernet6/6
stp disable
stp edged-port enable
mac-address max-mac-count 1
port access vlan 3
#
interface Ethernet6/7
stp disable
stp edged-port enable
mac-address max-mac-count 1
port access vlan 3
#
interface Ethernet6/8
stp disable
stp edged-port enable
mac-address max-mac-count 1
port access vlan 3
#
interface GigabitEthernet7/1
stp disable
stp instance 0 port priority 240
description TO_8F_C6509
plex full
speed 1000
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 54 60
#
interface GigabitEthernet7/2
shutdown
#
interface GigabitEthernet7/3
shutdown
#
interface GigabitEthernet7/4
shutdown
#
interface 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-interface1
#
user-interface aux 0
authentication-mode password
user privilege level 0
set authentication password cipher $T5=a0:*!5![WD;""L5/X!!!
user-interface vty 0 1
user privilege level 3
set authentication password cipher N`C55QK<`=/Q=^Q`MAF4<1!!
user-interface vty 2 3
user privilege level 3
set authentication password cipher I5:CO5Q[!C1[WD;""L5/X!!!
user-interface vty 4
set authentication password simple cisco
#
return