In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
The last time this note was not published successfully in the blog, try again today.
Personal understanding, time relationship, the writing is relatively messy, please forgive me.
Topology:
Reminder: after this topology is turned on, please turn it off as soon as you see the effect of the experiment, otherwise the eNSP will crash, and an unexpected situation may occur after the crash. You can turn off eNSP completely and turn on eNSP again if you want to.
[R1] dis stp
Protocol Status: Disabled
Protocol Standard: IEEE 802.1s
Version: 3
CIST Bridge Priority: 32768
MAC address: 5489-98b8-3a86
Max age (s): 20
Forward delay (s): 15
Hello time (s): 2
Max hops: 20
STP spanning tree on the router is turned off by default
Key configurations:
[R1] dis cur
#
Sysname R1
#
Router id 91.1.1.1
#
Vlan batch 123
#
Interface Vlanif123
Ip address 123.1.1.1 255.255.255.0
#
Interface GigabitEthernet0/0/0
Portswitch
Shutdown
Port hybrid pvid vlan 123
Undo port hybrid vlan 1
Port hybrid untagged vlan 123
#
Interface GigabitEthernet0/0/1
Portswitch
Shutdown
Port hybrid pvid vlan 123
Undo port hybrid vlan 1
Port hybrid untagged vlan 123
#
Ospf 10
Area 0.0.0.0
Network 123.1.1.1 0.0.0.0
#
[R2] dis cur
#
Sysname R2
#
Router id 92.2.2.2
#
Vlan batch 123
#
Interface Vlanif123
Ip address 123.1.1.2 255.255.255.0
#
Interface GigabitEthernet0/0/1
Portswitch
Port hybrid pvid vlan 123
Undo port hybrid vlan 1
Port hybrid untagged vlan 123
Here's a tip: if you want to change to the access interface, you will get an error: renew configuration. This is because you want to delete all the relevant hybrid configurations under the interface and configure the interface again.
#
Interface GigabitEthernet0/0/2
Portswitch
Port hybrid pvid vlan 123
Undo port hybrid vlan 1
Port hybrid untagged vlan 123
#
Ospf 10
Area 0.0.0.0
Network 123.1.1.2 0.0.0.0
#
[R3] dis cur
#
Sysname R3
#
Router id 93.3.3.3
#
Vlan batch 123
#
Interface Vlanif123
Ip address 123.1.1.3 255.255.255.0
#
Interface GigabitEthernet0/0/0
Portswitch
Port hybrid pvid vlan 123
Undo port hybrid vlan 1
Port hybrid untagged vlan 123
#
Interface GigabitEthernet0/0/2
Portswitch
Port hybrid pvid vlan 123
Undo port hybrid vlan 1
Port hybrid untagged vlan 123
#
Ospf 10
Area 0.0.0.0
Network 123.1.1.3 0.0.0.0
#
It is recommended to use display ospf error to view the router id confusion results.
This experiment shows that RID also has anti-ring function, because the second layer breaks the restriction that hello has only one hop, and receives its own hello message to report an error, indicating that there is a loop.
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.