eNSP路由器间设置浮动路由实现链路备份

eNSP路由器间设置浮动路由实现链路备份_第1张图片

R6:

The device is running!

un t m
Info: Current terminal monitor is off.
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn R6
[R6]user-interface con 0
[R6-ui-console0]idle-timeout 0 0
[R6-ui-console0]qu
[R6]vlan bat 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[R6]
[R6]int g0/0/0
[R6-GigabitEthernet0/0/0]un shut
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[R6-GigabitEthernet0/0/0]int g0/0/0.1
[R6-GigabitEthernet0/0/0.1]vlan-type dot1q 10 default 
[R6-GigabitEthernet0/0/0.1]ip address 192.168.1.1 24
[R6-GigabitEthernet0/0/0.1]un shut
Info: Interface GigabitEthernet0/0/0.1 is not shutdown.
[R6-GigabitEthernet0/0/0.1]int g0/0/0.2
[R6-GigabitEthernet0/0/0.2]vlan-type dot1q 20 default
[R6-GigabitEthernet0/0/0.2]ip address 192.168.2.1 24
[R6-GigabitEthernet0/0/0.2]un shut
Info: Interface GigabitEthernet0/0/0.2 is not shutdown.
[R6-GigabitEthernet0/0/0.2]int g0/0/1
[R6-GigabitEthernet0/0/1]ip address 21.1.1.1 24
[R6-GigabitEthernet0/0/1]un shut
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[R6-GigabitEthernet0/0/1]int e0/0/0
[R6-Ethernet0/0/0]ip address 12.1.1.1 24
[R6-Ethernet0/0/0]un shut
Info: Interface Ethernet0/0/0 is not shutdown.
[R6-Ethernet0/0/0]qu
[R6]ip route-static 192.168.3.1 24 21.1.1.2
Info: The destination address and mask of the configured static route mismatched
, and the static route 192.168.3.0/24 was generated.
[R6]ip route-static 192.168.4.1 24 21.1.1.2
Info: The destination address and mask of the configured static route mismatched
, and the static route 192.168.4.0/24 was generated.
[R6]ip route-static 192.168.4.1 24 12.1.1.2 preference 61
Info: The destination address and mask of the configured static route mismatched
, and the static route 192.168.4.0/24 was generated.
[R6]ip route-static 192.168.3.1 24 12.1.1.2 preference 61
Info: The destination address and mask of the configured static route mismatched
, and the static route 192.168.3.0/24 was generated.

[R6]

R7:

un t m
Info: Current terminal monitor is off.
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn R7
[R7]user-interface con 0
[R7-ui-console0]idle-timeout 0 0
[R7-ui-console0]qu
[R7]vlan bat 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[R7]int g0/0/0
[R7-GigabitEthernet0/0/0]un shut
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[R7-GigabitEthernet0/0/0]int g0/0/0.1
[R7-GigabitEthernet0/0/0.1]vlan-type dot1q 30 default 
[R7-GigabitEthernet0/0/0.1]ip address 192.168.3.1 24
[R7-GigabitEthernet0/0/0.1]un shut
Info: Interface GigabitEthernet0/0/0.1 is not shutdown.
[R7-GigabitEthernet0/0/0.1]int g0/0/0.2
[R7-GigabitEthernet0/0/0.2]vlan-type dot1q 40 default
[R7-GigabitEthernet0/0/0.2]ip address 192.168.4.1 24
[R7-GigabitEthernet0/0/0.2]un shut
Info: Interface GigabitEthernet0/0/0.2 is not shutdown.
[R7-GigabitEthernet0/0/0.2]int g0/0/1
[R7-GigabitEthernet0/0/1]ip address 21.1.1.2 24
[R7-GigabitEthernet0/0/1]un shut
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[R7-GigabitEthernet0/0/1]int e0/0/0
[R7-Ethernet0/0/0]ip address 12.1.1.2 24
[R7-Ethernet0/0/0]qu
[R7]ip route-static 192.168.1.1 24 21.1.1.1
Info: The destination address and mask of the configured static route mismatched
, and the static route 192.168.1.0/24 was generated.
[R7]ip route-static 192.168.2.1 24 21.1.1.1
Info: The destination address and mask of the configured static route mismatched
, and the static route 192.168.2.0/24 was generated.
[R7]ip route-static 192.168.1.1 24 12.1.1.1 preference 61
Info: The destination address and mask of the configured static route mismatched
, and the static route 192.168.1.0/24 was generated.
[R7]ip route-static 192.168.2.1 24 12.1.1.1 preference 61
Info: The destination address and mask of the configured static route mismatched
, and the static route 192.168.2.0/24 was generated.

[R7]

SW1:

un t m
Info: Current terminal monitor is off.
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn SW1
[SW1]user-interface con 0
[SW1-ui-console0]idle-timeout 0 0
[SW1-ui-console0]qu
[SW1]vlan bat 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW1]
[SW1]int e0/0/1
[SW1-Ethernet0/0/1]port hybrid pvid vlan 10
[SW1-Ethernet0/0/1]port hybrid untagged vlan 10 20
[SW1-Ethernet0/0/1]int e0/0/2
[SW1-Ethernet0/0/2]port hybrid pvid vlan 20
[SW1-Ethernet0/0/2]port hybrid untagged vlan 10 20
[SW1-Ethernet0/0/2]int g0/0/1
[SW1-GigabitEthernet0/0/1]port link-type trunk
[SW1-GigabitEthernet0/0/1]port trunk allow-pass vlan all 
[SW1-GigabitEthernet0/0/1]

SW2:

The device is running!


un t m
Info: Current terminal monitor is off.
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn SW2
[SW2]user-interface con 0
[SW2-ui-console0]idle-timeout 0 0
[SW2-ui-console0]qu
[SW2]vlan bat 10 20 30 40
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW2]
[SW2]int e0/0/1
[SW2-Ethernet0/0/1]port hybrid pvid vlan 30
[SW2-Ethernet0/0/1]port hybrid untagged vlan 10 20 30 40
[SW2-Ethernet0/0/1]int e0/0/2
[SW2-Ethernet0/0/2]port hybrid pvid vlan 40
[SW2-Ethernet0/0/2]port hybrid untagged vlan 10 20 30 40
[SW2-Ethernet0/0/2]qu
[SW2]int g0/0/1
[SW2-GigabitEthernet0/0/1]port link-type trunk 
[SW2-GigabitEthernet0/0/1]port trunk allow-pass vlan all 
[SW2-GigabitEthernet0/0/1]qu
[SW2]

你可能感兴趣的:(eNSP路由器间设置浮动路由实现链路备份)