Product manual

AX Series Network Partition: Solution Guide [Basic] Second Edition
© 2009-2010 ALAXALA Networks Corporation. All rights reserved.
31
(config)# interface gigabitethernet 3/3
(config-if)# link debounce time 0
(config-if)# switchport mode trunk
(config-if)# switchport trunk allowed vlan 200-201
Also define port 3/3 for the access switch connection.
Define ports 200-201 as the trunk ports where communication
is permitted for the VLAN.
GSRP direct link configuration
(config)# interface range gigabitethernet 1/24, gigabitethernet 3/24
(config-if-range)# link debounce time 0
(config-if-range)# channel-group 1 mode on
(config)# interface port-channel 1
(config-if)# switchport mode trunk
(config-if)# switchport trunk allowed vlan 5,10,20,100-101,200-201
(config-if)# gsrp 1 direct-link
Define ports 1/24 and 2/24 as channel group
1 for the GSRP direct link.
Define port channel 1 as the trunk port
where transfer is permitted for VLAN5,
VLAN10, VLAN20, VLAN100-101, and
VLAN-200-201.
Define it as the direct link for GSRP1.
GSRP configuration
(config)# gsrp 1
(config-gsrp)# gsrp-vlan 5
(config-gsrp)# layer3-redundancy
(config-gsrp)# vlan-group 1 vlan 10,100-101
(config-gsrp)# vlan-group 2 vlan 20,200-201
(config-gsrp)# vlan-group 1 priority 120
(config)# gsrp limit-control
Define GSRP when GSRP ID = 1.
Define VLAN5 as the GSRP control VLAN.
Define Layer 3 redundant switching for GSRP
(Important point (6)
)
Assign VLAN10 and VLAN100-101 to VLAN group 1.
Assign VLAN20 and VLAN200-201 to VLAN group 2.
(Important point (5)
)
Specify the priority level of VLAN group 1 as 120, so that this
device becomes the preferential master
#1
.
Enable the GSRP VLAN group-restricted control function for
remote management of the device.
Routing protocol configuration
(config)# router ospf 1 vrf 10
(config-router)# network 172.16.0.0 0.0.255.255 area 0
(config-router)# network 192.168.0.0 0.0.1.255 area 0
(config)# router rip
(config-router)# address-family ipv4 vrf 20
(config-router-af)# network 172.17.0.0 0.0.255.255
(config-router-af)# network 192.168.0.0 0.0.1.255
Specify OSPF as the routing protocol for VRF10. (Important
point (7)
)
Specify RIP as the routing protocol for VRF20. (Important
point (7)
)
Configuration for remote control of the device
(config)# logging host 192.168.255.10
(config)# logging host 172.16.255.10 vrf 10
(config)# logging host 172.17.255.10 vrf 20
(config)# line vty 0 2
(config)# ftp-server
Specify the host for collecting the syslog.
Specify the host for collecting the syslog in VRF10.
Specify the host for collecting the syslog in VRF20.
(Important point (8)
)
Permit telnet login (up to 2 users at a time).
Activate the FTP server.
#1 The configuration for device C2 is the same as for device C1, except that the IP address assigned to
the device (VLAN2) and the priority setting on the GSRP VLAN group are different from those for
device C1. For more details, see the attached configuration.