华为(VRRP-OSPF-STP-SNMP链路聚合)

#
sysname S9300
#
super password level 3 cipher .]@USE=B,53Q=^Q`MAF4<1!!
#
vfs check check-method fix
#
router id 110.34.31.3
#
radius scheme system
#
domain system
#
aaa
local-user huawei
password cipher 6O([8>1)[4/Q=^Q`MAF4<1!!
service-type telnet terminal
#
stp instance 0 root secondary
stp enable
#
vlan 1
#
vlan 101
#
vlan 102
#
vlan 103
#
vlan 104
#
vlan 200

#
interface Vlan-interface101

ip address 110.34.16.252 255.255.255.0
vrrp vrid 1 virtual-ip 110.34.16.254
#
interface Vlan-interface102

ip address 110.34.17.252 255.255.255.0
vrrp vrid 2 virtual-ip 110.34.17.254
#
interface Vlan-interface103

ip address 110.34.18.252 255.255.255.0
vrrp vrid 3 virtual-ip 110.34.18.254
#
interface Vlan-interface104

ip address 110.34.19.252 255.255.255.0
vrrp vrid 4 virtual-ip 110.34.19.254
#
interface Vlan-interface200

ip address 110.34.31.252 255.255.255.0
vrrp vrid 5 virtual-ip 110.34.31.254
#
interface Aux1/0/0
#
interface GigabitEthernet1/0/1
port access vlan 200
mirroring-port both
#
interface GigabitEthernet1/0/2
port access vlan 200
#
interface GigabitEthernet1/0/3
port access vlan 200
mirroring-port both
#
interface GigabitEthernet1/0/4
port access vlan 200
#
interface GigabitEthernet1/0/5
port access vlan 200
#
interface GigabitEthernet1/0/6
port access vlan 200
#
interface GigabitEthernet1/0/7
port access vlan 200
#
interface GigabitEthernet1/0/8
port access vlan 200
#
interface GigabitEthernet1/0/9
port access vlan 200
#
interface GigabitEthernet1/0/10
port access vlan 200
#
interface GigabitEthernet1/0/11
description I
port access vlan 200
#
interface GigabitEthernet1/0/12
description IDC
port access vlan 200
monitor-port
#
interface GigabitEthernet1/0/13
port access vlan 101
#
interface GigabitEthernet1/0/14
port access vlan 101
#
interface GigabitEthernet1/0/15
port access vlan 101
#
interface GigabitEthernet1/0/16
port access vlan 101
#
interface GigabitEthernet1/0/17
port access vlan 101
#
interface GigabitEthernet1/0/18
port access vlan 101
#
interface GigabitEthernet1/0/19
port access vlan 101
#
interface GigabitEthernet1/0/20
port access vlan 101
#
interface GigabitEthernet1/0/21
port access vlan 102
#
interface GigabitEthernet1/0/22
port access vlan 102
#
interface GigabitEthernet1/0/23
port access vlan 102
#
interface GigabitEthernet1/0/24
port access vlan 102
#
interface GigabitEthernet1/0/25
port access vlan 102
#
interface GigabitEthernet1/0/26
port access vlan 102
#
interface GigabitEthernet1/0/27
port access vlan 103
#
interface GigabitEthernet1/0/28
port access vlan 103
#
interface GigabitEthernet1/0/29
port access vlan 103
#
interface GigabitEthernet1/0/30
port access vlan 103
#
interface GigabitEthernet1/0/31
port access vlan 104
#
interface GigabitEthernet1/0/32
port access vlan 104
#
interface GigabitEthernet1/0/33
port access vlan 104
#
interface GigabitEthernet1/0/34
port access vlan 104
mirroring-port both
#
interface GigabitEthernet1/0/35
#
interface GigabitEthernet1/0/36
#
interface GigabitEthernet1/0/37
#
interface GigabitEthernet1/0/38
#
interface GigabitEthernet1/0/39
#
interface GigabitEthernet1/0/40
#
interface GigabitEthernet1/0/41
#
interface GigabitEthernet1/0/42
#
interface GigabitEthernet1/0/43
duplex full
speed 1000
port link-type trunk
port trunk permit vlan all
lacp enable
#
interface GigabitEthernet1/0/44
duplex full
speed 1000
port link-type trunk
port trunk permit vlan all
lacp enable
#
interface GigabitEthernet1/0/45
#
interface GigabitEthernet1/0/46
#
interface GigabitEthernet1/0/47
#
interface GigabitEthernet1/0/48
#
interface GigabitEthernet1/0/49
shutdown
#
interface GigabitEthernet1/0/50
shutdown
#
interface GigabitEthernet1/0/51
shutdown
#
interface GigabitEthernet1/0/52
shutdown
#
interface Cascade1/2/1
#
interface Cascade1/2/2
#
interface NULL0
#
interface LoopBack0
ip address 110.34.31.3 255.255.255.255
#
ospf 1
import-route direct
import-route static
area 0
network 110.34.16.0 0.0.0.255
network 110.34.17.0 0.0.0.255
network 110.34.18.0 0.0.0.255
network 110.34.19.0 0.0.0.255
network 110.34.31.0 0.0.0.255
#
snmp-agent
snmp-agent local-engineid 800007DB00E0FC77611A6877
snmp-agent community read ldjrd
snmp-agent community write ldjwt
snmp-agent sys-info version all
#
user-interface aux 0
authentication-mode aaa

user-interface vty 0 4
authentication-mode aaa
#
return

【华为(VRRP-OSPF-STP-SNMP链路聚合)】转载于:https://blog.51cto.com/3258715/810568

    推荐阅读