Technical information

AX Series L2 Loop Detection Configuration Guide (Edition 2)
Copyright © 2008, 2010, ALAXALA Networks Corporation. All rights reserved.
16
2.3 Configuration example
The following table provides configuration examples of important points for constructing a system. For details
about overall configuration, see the Appendix
.
(1) Configuring an access edge node
Configuring E1
Configuring STP
(config)# spanning-tree mode rapid-pvst
(config)# spanning-tree portfast default
Use Rapid PVST+ for the connection with the
upstream network.
The PortFast functionality is used by default.
(Important points for constructing a system (6)
)
Configuring control VLANs and data transfer VLANs
(config)# vlan 10-12
Configure VLANs 10-12 to be used.
Configuring the L2 loop detection functionality
(config)# loop-detection enable
(config)# loop-detection interval-time 1
Enable the L2 loop detection functionality.
(Important points for constructing a system (1)
)
Set the control frame sending interval of the L2 loop
detection functionality to one second.
(Important points for constructing a system (7)
)
Configuring ports
Configuring uplink ports
(config)# interface range gigabitethernet 0/1-2
(config-if)# link debounce time 0
(config-if)# switchport mode trunk
(config-if)# switchport trunk allowed vlan 10-12
(config-if)# spanning-tree portfast disable
(config-if)# loop-detection uplink-port
Set link debounce time to
0.
Configure VLANs 10-11 to be used.
Cancel the PortFast setting so that the port is used as
the target of STP.
Set the port as an uplink port for L2 loop detection.
(Important points for constructing a system (2)
)
Configuring unused ports (not to be used in the future)
(config)# interface range gigabitethernet 0/3-4
(config-if)# shutdown
Shut down the ports that are not to be used.
(Important points for constructing a system (5)
)
Configuring access ports
(config)# interface range gigabitethernet 0/5-6
(config-if)# switchport mode access
(config-if)# switchport access vlan 10
(config-if)# spanning-tree bpdufilter enable
(config-if)# loop-detection send-inact-port
(config)# interface range gigabitethernet 0/7-8
(config-if)# switchport mode access
(config-if)# switchport access vlan 11
(config-if)# spanning-tree bpdufilter enable
(config-if)# loop-detection send-inact-port
(config)# interface range gigabitethernet 0/9-23
(config-if)# switchport mode access
(config-if)# switchport access vlan 12
(config-if)# spanning-tree bpdufilter enable
(config-if)# loop-detection send-inact-port
(config)# interface gigabitethernet 0/24
(config-if)# switchport mode trunk
(config-if)# switchport trunk allowed vlan 10-12
(config-if)# spanning-tree bpdufilter enable
(config-if)# loop-detection send-inact-port
Configure ports 0/5-6.
Configure VLAN 10 to be used as an access port.
Enable the BPDU filter functionality of STP.
(Important points for constructing a system (6)
)
Set the port as a detecting and blocking port for L2
loop detection. (Important points for
constructing a system (3)
)
Configure ports 0/7-8.
Configure VLAN 11 to be used as an access port.
Enable the BPDU filter functionality of STP.
(Important points for constructing a system (6)
)
Set the port as a detecting and blocking port for L2
loop detection. (Important points for
constructing a system (3)
)
Configure ports 0/9-23.
Configure VLAN 12 to be used as an access port.
Enable the BPDU filter functionality of STP.
(Important points for constructing a system (6))
Set the port as a detecting and blocking port for L2
loop detection. (Important points for
constructing a system
5(4))
Configure port 0/24.
Configure VLANs 10-12 to be used as a trunk port.
Enable the BPDU filter functionality of STP.
(Important points for constructing a system (6)
)
Set the port as a detecting and blocking port for L2
loop detection. (Important points for
constructing a system
5(4))