H3C S3600/S3100 MSTP/VRRP/Link-Aggregation

S3600-1 的 Ethernet1/0/23 连 S3600-2 的 Ethernet1/0/23
S3600-1 的 Ethernet1/0/24 连 S3600-2 的 Ethernet1/0/24
S3100 的 GigabitEthernet1/1/2 连 S3600-1 GigabitEthernet1/1/1
S3100 的 GigabitEthernet1/2/2 连 S3600-2 GigabitEthernet1/1/1

<S3600-1>
#
 sysname S3600-1
#
 vrrp ping-enable
#
 link-aggregation group 1 mode manual
#
radius scheme system
#
domain system
#
 stp instance 1 root primary
 stp instance 2 root secondary
 stp enable
stp region-configuration
 region-name h3c
 instance 1 vlan 210 220
 instance 2 vlan 110
 active region-configuration
#
vlan 1
#
vlan 110
#
vlan 210
#
vlan 220
#
interface Vlan-interface1
 ip address 192.168.1.1 255.255.255.0
#
interface Vlan-interface110
 ip address 192.168.110.1 255.255.255.0
 vrrp vrid 11 virtual-ip 192.168.110.254
#
interface Vlan-interface210
 ip address 192.168.210.1 255.255.255.0
 vrrp vrid 21 virtual-ip 192.168.210.254
 vrrp vrid 21 priority 150
#
interface Vlan-interface220
 ip address 192.168.220.1 255.255.255.0
 vrrp vrid 22 virtual-ip 192.168.220.254
 vrrp vrid 22 priority 150
#
interface Aux1/0/0
#
interface Ethernet1/0/1
#
interface Ethernet1/0/2
#
interface Ethernet1/0/3
#
interface Ethernet1/0/4
#
interface Ethernet1/0/5
#
interface Ethernet1/0/6
#
interface Ethernet1/0/7
#
interface Ethernet1/0/8
#
interface Ethernet1/0/9
#
interface Ethernet1/0/10
#
interface Ethernet1/0/11
#
interface Ethernet1/0/12
#
interface Ethernet1/0/13
#
interface Ethernet1/0/14
#
interface Ethernet1/0/15
#
interface Ethernet1/0/16
#
interface Ethernet1/0/17
#
interface Ethernet1/0/18
#
interface Ethernet1/0/19
#
interface Ethernet1/0/20
#
interface Ethernet1/0/21
#
interface Ethernet1/0/22
#
interface Ethernet1/0/23
 port link-type trunk
 port trunk permit vlan all
 port link-aggregation group 1
#
interface Ethernet1/0/24
 port link-type trunk
 port trunk permit vlan all
 port link-aggregation group 1
#
interface GigabitEthernet1/1/1
 port link-type trunk
 port trunk permit vlan all
#
interface GigabitEthernet1/1/2
#
interface GigabitEthernet1/1/3
#
interface GigabitEthernet1/1/4
#
interface NULL0
#
user-interface aux 0 7
user-interface vty 0 4
 user privilege level 3
 set authentication password cipher h3c
#
return
 
<S3600-2>
#
 sysname S3600-2
#
 vrrp ping-enable
#
 link-aggregation group 1 mode manual
#
radius scheme system
#
domain system
#
 stp instance 1 root secondary
 stp instance 2 root primary
 stp enable
stp region-configuration
 region-name h3c
 instance 1 vlan 210 220
 instance 2 vlan 110
 active region-configuration
#
vlan 1
#
vlan 110
#
vlan 210
#
vlan 220
#
interface Vlan-interface1
 ip address 192.168.1.2 255.255.255.0
#
interface Vlan-interface110
 ip address 192.168.110.2 255.255.255.0
 vrrp vrid 11 virtual-ip 192.168.110.254
 vrrp vrid 11 priority 150
#
interface Vlan-interface210
 ip address 192.168.210.2 255.255.255.0
 vrrp vrid 21 virtual-ip 192.168.210.254
#
interface Vlan-interface220
 ip address 192.168.220.2 255.255.255.0
 vrrp vrid 22 virtual-ip 192.168.220.254
#
interface Aux1/0/0
#
interface Ethernet1/0/1
#
interface Ethernet1/0/2
#
interface Ethernet1/0/3
#
interface Ethernet1/0/4
#
interface Ethernet1/0/5
#
interface Ethernet1/0/6
#
interface Ethernet1/0/7
#
interface Ethernet1/0/8
#
interface Ethernet1/0/9
#
interface Ethernet1/0/10
#
interface Ethernet1/0/11
#
interface Ethernet1/0/12
#
interface Ethernet1/0/13
#
interface Ethernet1/0/14
#
interface Ethernet1/0/15
#
interface Ethernet1/0/16
#
interface Ethernet1/0/17
#
interface Ethernet1/0/18
#
interface Ethernet1/0/19
#
interface Ethernet1/0/20
#
interface Ethernet1/0/21
#
interface Ethernet1/0/22
#
interface Ethernet1/0/23
 port link-type trunk
 port trunk permit vlan all
 port link-aggregation group 1
#
interface Ethernet1/0/24
 port link-type trunk
 port trunk permit vlan all
 port link-aggregation group 1
#
interface GigabitEthernet1/1/1
 port link-type trunk
 port trunk permit vlan all
#
interface GigabitEthernet1/1/2
#
interface GigabitEthernet1/1/3
#
interface GigabitEthernet1/1/4
#
interface NULL0
#
user-interface aux 0 7
user-interface vty 0 4
 user privilege level 3
 set authentication password cipher h3c
#
return
 
<S3100>
#
 sysname S3100
#
radius scheme system
#
domain system
#
 stp enable
stp region-configuration
 region-name h3c
 instance 1 vlan 210 220
 instance 2 vlan 110
 active region-configuration
#
vlan 1
#
vlan 110
#
vlan 210
#
vlan 220
#
interface Vlan-interface1
 ip address 192.168.1.3 255.255.255.0
#
interface Aux1/0/0
#
interface Ethernet1/0/1
#
interface Ethernet1/0/2
#
interface Ethernet1/0/3
#
interface Ethernet1/0/4
#
interface Ethernet1/0/5
#
interface Ethernet1/0/6
#
interface Ethernet1/0/7
#
interface Ethernet1/0/8
#
interface Ethernet1/0/9
#
interface Ethernet1/0/10
#
interface Ethernet1/0/11
#
interface Ethernet1/0/12
#
interface Ethernet1/0/13
#
interface Ethernet1/0/14
#
interface Ethernet1/0/15
#
interface Ethernet1/0/16
#
interface Ethernet1/0/17
#
interface Ethernet1/0/18
#
interface Ethernet1/0/19
#
interface Ethernet1/0/20
#
interface Ethernet1/0/21
#
interface Ethernet1/0/22
#
interface Ethernet1/0/23
#
interface Ethernet1/0/24
#
interface GigabitEthernet1/1/1
 port link-type trunk
 port trunk permit vlan all
 shutdown
#
interface GigabitEthernet1/1/2
 port link-type trunk
 port trunk permit vlan all
#
interface GigabitEthernet1/2/1
 port link-type trunk
 port trunk permit vlan all
 shutdown
#
interface GigabitEthernet1/2/2
 port link-type trunk
 port trunk permit vlan all
#
interface NULL0
#
user-interface aux 0
user-interface vty 0 4
 user privilege level 3
 set authentication password cipher h3c
#
return

你可能感兴趣的:(h3c,vrrp,mstp,S3600,S3100)