In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Configure the following parameters when using VRRP redundancy. The configuration of this chapter is the configuration of the active device.
1.1.1 enable VRRP
> > Main# / c/l3/vrrp/on
1.1.2 configuring VRRP
VRRP addresses need to be configured on both switches
1. Specify virtual route id
> > Main# / c/l3/vrrp/vr 1
2. Enable this virtual route
> > VRRP Virtual Router desktop ena
3. Specify vrid
> > VRRP Virtual Router vrid 10
4. Specify the interface corresponding to the VRRP address
> > VRRP Virtual Router if 1
5. Specify prio parameters
> > VRRP Virtual Router prio 100
6. Configure the VRRP address. This is a floating IP,VIP, which also needs to be configured.
> > VRRP Virtual Router addr 19.128.253.17
Other VR configurations are as follows:
/ c/l3/vrrp/vr2/ena/ipver v4/ vrid 2/if 1/addr 19.128.253.18
/ c/l3/vrrp/vr20/ena/ipver v4/vrid 20/ if 2/addr 19.128.1.4
/ c/l3/vrrp/vr100/ena/ipver v4/vrid 100/if 10/addr 1.1.1.10
Enable goup group
/ c/l3/vrrp/group/ena/ipverv4/vrid 254/if 1/ prio 101
Create a VR for each interface.
RouterID: define the ID number of VR. Note that the ID number in the same Vlan does not conflict with other devices.
Status: defines the state of VR, which needs to be set to Enabled.
Interface: defines the port used by VR
Priority: defines the priority of the VR, up to a maximum of 255. High priority primary device, which is usually set to 101
1.1.3 configure synchronization parameters
The Peer command is used to define the synchronous communication IP of the standby. We can use ISL IP instead of the management IP.
/ c/slb/sync/priosd/state e
/ c/slb/sync/peer1/ena/addr 1.1.1.2
1.1.4 Hotstandyby parameters
Port 8 is used to interconnect and synchronize configuration information. Activate hot Standby on port 1.
/ c/slb/port1/client ena / hotstan ena
/ c/slb/port2/server ena/hotstan ena
/ c/slb/port8/intersw ena
1.2 standby VRRP configuration
Synchronization parameters need to be configured to specify the IP address of the host.
/ c/slb/sync/priosd/state e
/ c/slb/sync/peer1/ena/addr 1.1.1.1
1.3 synchronous configuration
After the new configuration or the modification of the configuration, the changes of the host need to be synchronized to the slave, which can be realized by referring to the following steps.
1. Execute the following command to synchronize the slb configuration
> > Main# / oper/slb/sync
After synchronization, the standby automatically executes the apply and save commands.
After running normally, the VR status of the host is master, indicating that the business is being processed. The following are examples of operations:
> > Main# / oper/slb/sync
NOTE: Use the "/ c/slb/sync" menu toconfigure omitting sections of
The configuration.
Synchronizing VRRP,FILT, PORT, SFO state, BWM and SLB configuration
To 1.1.1.2
Confirmsynchronizing the configuration to 1.1.1.2 [y/n]: y
Configuration on1.1.1.2 has now been synchronized.
two。 Then check whether the configuration of the standby is synchronized.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.