6_HCIP第八天作业

1、使用双点双向重发布
2、所有路由器进行最佳选路
3、存在备份路径,不得出现环路,和路由回馈

 

 网段划分及各路由器的静态路由到达部分网段 

R1:
lo0:1.1.1.1 24
g0/0/1:12.1.1.1 24
g0/0/0:14.1.1.2 24
R2:
lo0:2.2.2.2 24
g0/0/1:23.1.1.1 24
g0/0/0:12.1.1.2 24
R3:
lo0:3.3.3.3 24
g0/0/1:34.1.1.1 24
g0/0/0:23.1.1.2 24
R4:
lo0:4.4.4.4 24
g0/0/1:14.1.1.1 24
g0/0/0:34.1.1.2 24

RIP区域路由配置

R1配置命令及信息查看情况:

The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys R1
[R1]int lo0
[R1-LoopBack0]ip add 1.1.1.1 24
[R1-LoopBack0]int g0/0/1
[R1-GigabitEthernet0/0/1]ip add 12.1.1.1 24
[R1-GigabitEthernet0/0/1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 14.1.1.2 24
[R1-GigabitEthernet0/0/0]q
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R1]rip 1
[R1-rip-1]ver 2
[R1-rip-1]network 1.0.0.0
[R1-rip-1]network 12.0.0.0
[R1-rip-1]network 14.0.0.0
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R1-rip-1]q
[R1]q
<R1>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated

<R1>display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 18       Routes : 19       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        1.1.1.0/24  Direct  0    0           D   1.1.1.1         LoopBack0
        1.1.1.1/32  Direct  0    0           D   127.0.0.1       LoopBack0
      1.1.1.255/32  Direct  0    0           D   127.0.0.1       LoopBack0
        2.2.2.0/24  RIP     100  1           D   12.1.1.2        GigabitEthernet
0/0/1
        3.3.3.0/24  RIP     100  1           D   12.1.1.2        GigabitEthernet
0/0/1
                    RIP     100  1           D   14.1.1.1        GigabitEthernet
0/0/0
        4.4.4.0/24  RIP     100  1           D   14.1.1.1        GigabitEthernet
0/0/0
       12.1.1.0/24  Direct  0    0           D   12.1.1.1        GigabitEthernet
0/0/1
       12.1.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
     12.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
       14.1.1.0/24  Direct  0    0           D   14.1.1.2        GigabitEthernet
0/0/0
       14.1.1.2/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
     14.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
       23.1.1.0/24  RIP     100  1           D   12.1.1.2        GigabitEthernet
0/0/1
       34.1.1.0/24  RIP     100  1           D   14.1.1.1        GigabitEthernet
0/0/0
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
 
<R1>display current-configuration 
[V200R003C00]
#
 sysname R1
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75
#
aaa 
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default 
 domain default_admin 
 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
 local-user admin service-type http
#
firewall zone Local
 priority 15
#
interface GigabitEthernet0/0/0
 ip address 14.1.1.2 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 12.1.1.1 255.255.255.0 
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
interface LoopBack0
 ip address 1.1.1.1 255.255.255.0 
#
rip 1
 version 2
 network 1.0.0.0
 network 12.0.0.0
 network 14.0.0.0
#
user-interface con 0
 authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
<R1>

OSPF区域路由配置

R3配置命令及信息查看情况:

The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys R3
[R3]int lo0
[R3-LoopBack0]ip add 3.3.3.3 24
[R3-LoopBack0]int g0/0/0
[R3-GigabitEthernet0/0/0]ip add 23.1.1.2 24
[R3-GigabitEthernet0/0/0]int g0/0/1
[R3-GigabitEthernet0/0/1]ip add 34.1.1.1 24
[R3-GigabitEthernet0/0/1]q
[R3]ospf 1 router-id 3.3.3.3
[R3-ospf-1]area 0
[R3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[R3-ospf-1-area-0.0.0.0]network 23.1.1.2 0.0.0.0
[R3-ospf-1-area-0.0.0.0]network 34.1.1.1 0.0.0.0
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R3-ospf-1-area-0.0.0.0]q
[R3-ospf-1]q
[R3]int lo0
[R3-LoopBack0]ospf network-type broadcast 
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R3-LoopBack0]q
[R3]q
<R3>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated

<R3>display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 18       Routes : 19       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        1.1.1.0/24  O_ASE   150  1           D   23.1.1.1        GigabitEthernet
0/0/0
                    O_ASE   150  1           D   34.1.1.2        GigabitEthernet
0/0/1
        2.2.2.0/24  O_ASE   150  1           D   23.1.1.1        GigabitEthernet
0/0/0
        3.3.3.0/24  Direct  0    0           D   3.3.3.3         LoopBack0
        3.3.3.3/32  Direct  0    0           D   127.0.0.1       LoopBack0
      3.3.3.255/32  Direct  0    0           D   127.0.0.1       LoopBack0
        4.4.4.0/24  OSPF    10   1           D   34.1.1.2        GigabitEthernet
0/0/1
       12.1.1.0/24  O_ASE   150  1           D   23.1.1.1        GigabitEthernet
0/0/0
       14.1.1.0/24  O_ASE   150  1           D   34.1.1.2        GigabitEthernet
0/0/1
       23.1.1.0/24  Direct  0    0           D   23.1.1.2        GigabitEthernet
0/0/0
       23.1.1.2/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
     23.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
       34.1.1.0/24  Direct  0    0           D   34.1.1.1        GigabitEthernet
0/0/1
       34.1.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
     34.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0

<R3>display current-configuration 
[V200R003C00]
#
 sysname R3
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75
#
aaa 
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default 
 domain default_admin 
 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
 local-user admin service-type http
#
firewall zone Local
 priority 15
#
interface GigabitEthernet0/0/0
 ip address 23.1.1.2 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 34.1.1.1 255.255.255.0 
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
interface LoopBack0
 ip address 3.3.3.3 255.255.255.0 
 ospf network-type broadcast
#
ospf 1 router-id 3.3.3.3 
 area 0.0.0.0 
  network 3.3.3.3 0.0.0.0 
  network 23.1.1.2 0.0.0.0 
  network 34.1.1.1 0.0.0.0 
#
user-interface con 0
 authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
<R3>

两个ASBR路由配置

R2配置命令及信息查看情况:

The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys R2
[R2]int lo0
[R2-LoopBack0]ip add 2.2.2.2 24
[R2-LoopBack0]int g0/0/0
[R2-GigabitEthernet0/0/0]ip add 12.1.1.2 24
[R2-GigabitEthernet0/0/0]int g0/0/1
[R2-GigabitEthernet0/0/1]ip add 23.1.1.1 24
[R2-GigabitEthernet0/0/1]q
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R2]rip 1
[R2-rip-1]ver 2
[R2-rip-1]network 2.0.0.0
[R2-rip-1]network 12.0.0.0
[R2-rip-1]q
[R2]ospf 1 router-id 2.2.2.2
[R2-ospf-1]area 0
[R2-ospf-1-area-0.0.0.0]network 23.1.1.1 0.0.0.0
[R2-ospf-1-area-0.0.0.0]q
[R2-ospf-1]q
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R2]rip 1
[R2-rip-1]imp	
[R2-rip-1]import-route os	
[R2-rip-1]import-route ospf 1
[R2-rip-1]q
[R2]os	
[R2]ospf 1
[R2-ospf-1]im		
[R2-ospf-1]import-route rip
[R2-ospf-1]q
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R2]int lo0 
[R2-LoopBack0]ospf network-type broadcast 
[R2-LoopBack0]q
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R2]ip ip-prefix 1 permit 34.1.1.0 24
[R2]ip ip-prefix 1 permit 4.4.4.0 24
[R2]route-policy 1 permit node 10
Info: New Sequence of this List.
[R2-route-policy]if-match ip-prefix 1
[R2-route-policy]apply cost 10
[R2-route-policy]q
[R2]route-policy 1 permit node 20
Info: New Sequence of this List.
[R2-route-policy]q
[R2]rip 1
[R2-rip-1]import-route ospf 1 route-policy 1
[R2-rip-1]q
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R2]ip ip-prefix 2 permit 14.1.1.0 24
[R2]route-policy 2 permit node 10
Info: New Sequence of this List.
[R2-route-policy]if-match ip-prefix 2	
[R2-route-policy]apply cost 10
[R2-route-policy]q
[R2]route-policy 2 permit node 20
Info: New Sequence of this List.
[R2-route-policy]q	
[R2]ospf 1 
[R2-ospf-1]import-route rip 1 route-policy 2
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R2-ospf-1]q
[R2]q
<R2>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated

<R2>display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 18       Routes : 18       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        1.1.1.0/24  RIP     100  1           D   12.1.1.1        GigabitEthernet
0/0/0
        2.2.2.0/24  Direct  0    0           D   2.2.2.2         LoopBack0
        2.2.2.2/32  Direct  0    0           D   127.0.0.1       LoopBack0
      2.2.2.255/32  Direct  0    0           D   127.0.0.1       LoopBack0
        3.3.3.0/24  OSPF    10   1           D   23.1.1.2        GigabitEthernet
0/0/1
        4.4.4.0/24  OSPF    10   2           D   23.1.1.2        GigabitEthernet
0/0/1
       12.1.1.0/24  Direct  0    0           D   12.1.1.2        GigabitEthernet
0/0/0
       12.1.1.2/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
     12.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
       14.1.1.0/24  RIP     100  1           D   12.1.1.1        GigabitEthernet
0/0/0
       23.1.1.0/24  Direct  0    0           D   23.1.1.1        GigabitEthernet
0/0/1
       23.1.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
     23.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
       34.1.1.0/24  OSPF    10   2           D   23.1.1.2        GigabitEthernet
0/0/1
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
 
<R2>display ip ip-prefix
Prefix-list b
Permitted 0
Denied 0
        index: 10               permit  4.4.4.0/24              
Prefix-list 1
Permitted 2
Denied 2
        index: 10               permit  34.1.1.0/24             
        index: 20               permit  4.4.4.0/24              
Prefix-list 2
Permitted 1
Denied 3
        index: 10               permit  14.1.1.0/24             
 
<R2>display current-configuration 
[V200R003C00]
#
 sysname R2
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75
#
aaa 
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default 
 domain default_admin 
 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
 local-user admin service-type http
#
firewall zone Local
 priority 15
#
interface GigabitEthernet0/0/0
 ip address 12.1.1.2 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 23.1.1.1 255.255.255.0 
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
interface LoopBack0
 ip address 2.2.2.2 255.255.255.0 
 ospf network-type broadcast
#
ospf 1 router-id 2.2.2.2 
 import-route rip 1 route-policy 2
 area 0.0.0.0 
  network 23.1.1.1 0.0.0.0 
#
rip 1
 version 2
 network 2.0.0.0
 network 12.0.0.0
 import-route ospf 1 route-policy 1
#
route-policy 1 permit node 10 
 if-match ip-prefix 1 
 apply cost 10 
#
route-policy 1 permit node 20 
#
route-policy 2 permit node 10 
 if-match ip-prefix 2 
 apply cost 10 
#
route-policy 2 permit node 20 
#
ip ip-prefix b index 10 permit 4.4.4.0 24
ip ip-prefix 1 index 10 permit 34.1.1.0 24
ip ip-prefix 1 index 20 permit 4.4.4.0 24
ip ip-prefix 2 index 10 permit 14.1.1.0 24
#
user-interface con 0
 authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
<R2>

R4配置命令及信息查看情况:

The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys R4
[R4]int lo0
[R4-LoopBack0]ip add 4.4.4.4 24
[R4-LoopBack0]int g0/0/1
[R4-GigabitEthernet0/0/1]ip add 14.1.1.1 24
[R4-GigabitEthernet0/0/1]int g0/0/0
[R4-GigabitEthernet0/0/0]ip add 34.1.1.2 24
[R4-GigabitEthernet0/0/0]q
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R4]rip 1
[R4-rip-1]ver 2
[R4-rip-1]network 14.0.0.0
[R4-rip-1]q
[R4]ospf 1 router-id 4.4.4.4
[R4-ospf-1]area 0
[R4-ospf-1-area-0.0.0.0]network 4.4.4.4 0.0.0.0
[R4-ospf-1-area-0.0.0.0]network 34.1.1.2 0.0.0.0
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R4-ospf-1-area-0.0.0.0]q
[R4-ospf-1]q
[R4]rip 1
[R4-rip-1]import-route ospf 1
[R4-rip-1]q
[R4]ospf 1
[R4-ospf-1]import-route rip
[R4-ospf-1]q
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R4]int lo0
[R4-LoopBack0]ospf network-type broadcast 
[R4-LoopBack0]q
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R4]ip ip-prefix 1 permit 23.1.1.0 24
[R4]route-policy 1 permit node 10
Info: New Sequence of this List.	
[R4-route-policy]if-match ip-prefix 1
[R4-route-policy]apply cost 10
[R4-route-policy]q
[R4]route-policy 1 permit node 20
Info: New Sequence of this List.
[R4-route-policy]q
[R4]rip 1
[R4-rip-1]import-route ospf 1 route-policy 1
[R4-rip-1]q
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R4]ip ip-prefix 2 permit 2.2.2.0 24
[R4]ip ip-prefix 2 permit 12.1.1.0 24
[R4]route-policy 2 permit node 10
Info: New Sequence of this List.
[R4-route-policy]if-match ip-prefix 2
[R4-route-policy]apply cost 10
[R4-route-policy]q
[R4]route-policy 2 permit node 20
Info: New Sequence of this List.
[R4-route-policy]q
[R4]ospf 1
[R4-ospf-1]import-route rip 1 route-policy 2
==========================================================================================================================================
==========================================================================================================================================
==========================================================================================================================================
[R4-ospf-1]q
[R4]q
<R4>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
 
<R4>display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 18       Routes : 18       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        1.1.1.0/24  RIP     100  1           D   14.1.1.2        GigabitEthernet
0/0/1
        2.2.2.0/24  RIP     100  2           D   14.1.1.2        GigabitEthernet
0/0/1
        3.3.3.0/24  OSPF    10   1           D   34.1.1.1        GigabitEthernet
0/0/0
        4.4.4.0/24  Direct  0    0           D   4.4.4.4         LoopBack0
        4.4.4.4/32  Direct  0    0           D   127.0.0.1       LoopBack0
      4.4.4.255/32  Direct  0    0           D   127.0.0.1       LoopBack0
       12.1.1.0/24  RIP     100  1           D   14.1.1.2        GigabitEthernet
0/0/1
       14.1.1.0/24  Direct  0    0           D   14.1.1.1        GigabitEthernet
0/0/1
       14.1.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
     14.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
       23.1.1.0/24  OSPF    10   2           D   34.1.1.1        GigabitEthernet
0/0/0
       34.1.1.0/24  Direct  0    0           D   34.1.1.2        GigabitEthernet
0/0/0
       34.1.1.2/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
     34.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
  
<R4>display ip ip-prefix
Prefix-list 1
Permitted 1
Denied 2
        index: 10               permit  23.1.1.0/24   
Prefix-list 2
Permitted 2
Denied 3
        index: 10               permit  2.2.2.0/24              
        index: 20               permit  12.1.1.0/24                       

<R4>display current-configuration 
[V200R003C00]
#
 sysname R4
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75
#
aaa 
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default 
 domain default_admin 
 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
 local-user admin service-type http
#
firewall zone Local
 priority 15
#
interface GigabitEthernet0/0/0
 ip address 34.1.1.2 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 14.1.1.1 255.255.255.0 
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
interface LoopBack0
 ip address 4.4.4.4 255.255.255.0 
 ospf network-type broadcast
#
ospf 1 router-id 4.4.4.4 
 import-route rip 1 route-policy 2
 area 0.0.0.0 
  network 4.4.4.4 0.0.0.0 
  network 34.1.1.2 0.0.0.0 
#
rip 1
 version 2
 network 14.0.0.0
 import-route ospf 1 route-policy 1
#
route-policy 1 permit node 10 
 if-match ip-prefix 1 
 apply cost 10 
#
route-policy 1 permit node 20 
#
route-policy 2 permit node 10 
 if-match ip-prefix 2 
 apply cost 10 
#
route-policy 2 permit node 20 
#
ip ip-prefix 1 index 10 permit 23.1.1.0 24
ip ip-prefix 2 index 10 permit 2.2.2.0 24
ip ip-prefix 2 index 20 permit 12.1.1.0 24
#
user-interface con 0
 authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
<R4>

联通测试:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

渔者£

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值