HCIA第三天实验

The device is running!

<Huawei>
Nov 13 2022 15:37:50-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt
hernet0/0/1 has turned into UP state.
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]ysyn    
[Huawei]sysn    
[Huawei]sysname r1
[r1]us    
[r1]user-bind
[r1]user-group
[r1]user-interface co    
[r1]user-interface console 0
[r1-ui-console0]id    
[r1-ui-console0]idle-timeout 0 0
[r1-ui-console0]quit
[r1]in    
[r1]info-center
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ip ad    
[r1-GigabitEthernet0/0/0]quit
[r1]int    
[r1]interface g0/0/1
[r1-GigabitEthernet0/0/1]ip ad    
[r1-GigabitEthernet0/0/1]ip address 12.1.1.1 24
Nov 13 2022 15:46:42-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r1-GigabitEthernet0/0/1]quit
[r1]int    
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ip ad    
[r1-GigabitEthernet0/0/0]ip address 172.16.1.1 24
[r1-GigabitEthernet0/0/0]
Nov 13 2022 16:01:12-08:00 r1 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r1-GigabitEthernet0/0/0]quit
[r1]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[r1]ip pool  rr1
Info: It's successful to create an IP address pool.
[r1-ip-pool-rr1]net    
[r1-ip-pool-rr1]netbios-type
[r1-ip-pool-rr1]network 172.16.1.0 mask 255.255.255.0
[r1-ip-pool-rr1]gat    
[r1-ip-pool-rr1]gateway-list 172.16.1.1
[r1-ip-pool-rr1]dns    
[r1-ip-pool-rr1]dns-list 8.8.8.8 114.114.114.114
[r1-ip-pool-rr1]quit
[r1]int    
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]dh    
[r1-GigabitEthernet0/0/0]dhcp se    
[r1-GigabitEthernet0/0/0]dhcp select gl    
[r1-GigabitEthernet0/0/0]dhcp select global 
[r1-GigabitEthernet0/0/0]quit
[r1]ip pool rr1
[r1-ip-pool-rr1]static-bind ip-address 172.16.1.11 mac    
[r1-ip-pool-rr1]static-bind ip-address 172.16.1.11 mac-address 5489-9817-0CD5

Error:The static-MAC is exist in this IP-pool.
[r1-ip-pool-rr1]
[r1-ip-pool-rr1]sta    
[r1-ip-pool-rr1]static-bind  ip ad    
[r1-ip-pool-rr1]static-bind  ip add    
[r1-ip-pool-rr1]static-bind  ip    
[r1-ip-pool-rr1]static-bind  ip-address  172.16.1.13 mac    
[r1-ip-pool-rr1]static-bind  ip-address  172.16.1.13 mac-address  5489-9877-17
8B
Error:The static-MAC is exist in this IP-pool.
[r1-ip-pool-rr1]quit
[r1]ip route-static 23.1.1.0 24 12.1.1.2
[r1]ip route-static 34.1.1.0 24 12.1.1.2
[r1]ip route-static 46.1.1.0 24 12.1.1.2
[r1]ip route-static 32.1.1.0 24 12.1.1.2
[r1]ip ro    
[r1]ip route
[r1]ip route-static 32.1.1.0 24 21.1.1.2 pr    
[r1]ip route-static 32.1.1.0 24 21.1.1.2 preference 61
 

The device is running!

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys    
[Huawei]sysname r2
[r2]use    
[r2]user-bind
[r2]user-group
[r2]user-interface 0
[r2-ui0]quit
[r2]us    
[r2]user-bind
[r2]user-group
[r2]user-interface co    
[r2]user-interface console 0
[r2-ui-console0]id    
[r2-ui-console0]idle-timeout 0 0
[r2-ui-console0]quit
[r2]int    
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ip ad    
[r2-GigabitEthernet0/0/0]ip address 12.1.1.2 24
Nov 13 2022 15:47:25-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r2-GigabitEthernet0/0/0]quit
[r2]int    
[r2]interface g0/0/1
[r2-GigabitEthernet0/0/1]ip ad    
[r2-GigabitEthernet0/0/1]ip address 23.1.1.1 24
Nov 13 2022 15:48:09-08:00 r2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r2-GigabitEthernet0/0/1]quit
[r2]int    
[r2]interface g0/0/2
[r2-GigabitEthernet0/0/2]ip ad    
[r2-GigabitEthernet0/0/2]ip address 32.1.1.1 24
[r2-GigabitEthernet0/0/2]
Nov 13 2022 15:48:35-08:00 r2 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP 
on the interface GigabitEthernet0/0/2 has entered the UP state. 
[r2-GigabitEthernet0/0/2]quit
[r2]ip route-static 34.1.1.0 24 23.1.1.2
[r2]ip route-static 46.1.1.0 24 23.1.1.2
[r2]ip route-static 34.1.1.0 24 32.1.1.2
[r2]ip route-static 46.1.1.0 24 32.1.1.2
 

The device is running!

<Huawei>sys    
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]sys    
[Huawei]sysname r3
[r3]us    
[r3]user-bind
[r3]user-group
[r3]user-interface co    
[r3]user-interface console 0
[r3-ui-console0]id    
[r3-ui-console0]idle-timeout 0 0
[r3-ui-console0]quit
[r3]int    
[r3]interface g0/0/0
[r3-GigabitEthernet0/0/0]ip ad    
[r3-GigabitEthernet0/0/0]ip address 23.1.1.2 24
[r3-GigabitEthernet0/0/0]
Nov 13 2022 15:49:11-08:00 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r3-GigabitEthernet0/0/0]quit
[r3]in    
[r3]info-center
[r3]interface g0/0/1
[r3-GigabitEthernet0/0/1]ip ad    
[r3-GigabitEthernet0/0/1]ip address 32.1.1.2 24
Nov 13 2022 15:49:42-08:00 r3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r3-GigabitEthernet0/0/1]quit
[r3]int    
[r3]interface g0/0/2
[r3-GigabitEthernet0/0/2]ip ad    
[r3-GigabitEthernet0/0/2]ip address 34.1.1.1 24
Nov 13 2022 15:50:06-08:00 r3 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP 
on the interface GigabitEthernet0/0/2 has entered the UP state. 
[r3-GigabitEthernet0/0/2]quit
[r3]ip route-static 12.1.1.0 24 23.1.1.1
[r3]ip route-static 12.1.1.0 24 32.1.1.1
[r3]ip route-static 46.1.1.0 24 34.1.1.2
 

The device is running!

<Huawei>sys    
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]sys    
[Huawei]sysname r4
[r4]us    
[r4]user-bind
[r4]user-group
[r4]user-interface co    
[r4]user-interface console 0
[r4-ui-console0]id    
[r4-ui-console0]idle-timeout 0 0
[r4-ui-console0]quit
[r4]int    
[r4]interface g0/0/0
[r4-GigabitEthernet0/0/0]ip ad    
[r4-GigabitEthernet0/0/0]ip address 34.1.1.2 24
Nov 13 2022 15:51:04-08:00 r4 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r4-GigabitEthernet0/0/0]quit
[r4]in    
[r4]info-center
[r4]interface g0/0/2
[r4-GigabitEthernet0/0/2]ip ad    
[r4-GigabitEthernet0/0/2]ip address 46.1.1.1 24
Nov 13 2022 15:51:54-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/2 has entered the UP state. 
[r4-GigabitEthernet0/0/2]quit
[r4]ip route-static 12.1.1.0 24 34.1.1.1
[r4]ip route-static 23.1.1.0 24 34.1.1.1
 

The device is running!

<Huawei>sys    
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]sys    
[Huawei]sysname r5
[r5]us    
[r5]user-bind
[r5]user-group
[r5]user-interface co    
[r5]user-interface console 0
[r5-ui-console0]id    
[r5-ui-console0]idle-timeout 0 0
[r5-ui-console0]quit
[r5]int    
[r5]interface g0/0/0
[r5-GigabitEthernet0/0/0]ip ad    
[r5-GigabitEthernet0/0/0]ip address 46.1.1.2 24
Nov 13 2022 15:52:24-08:00 r5 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r5-GigabitEthernet0/0/0]quit
[r5]ip route-static12.1.1.0 24 46.1.1.1
       ^
Error: Unrecognized command found at '^' position.
[r5]ip route-static 12.1.1.0 24 46.1.1.1
[r5]ip route-static 23.1.1.0 24 46.1.1.1
[r5]ip route-static 32.1.1.0 24 46.1.1.1
[r5]ip route-static 34.1.1.0 24 46.1.1.1
[r5]dhcp en    
[r5]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.
[r5]
[r5]ip po    
[r5]ip policy-based-route
[r5]quit
<r5>sys    
<r5>system-view 
Enter system view, return user view with Ctrl+Z.
[r5]int    
[r5]interface g0/0/1
[r5-GigabitEthernet0/0/1]dhcp se    
[r5-GigabitEthernet0/0/1]dhcp select gl    
[r5-GigabitEthernet0/0/1]dhcp select global 
[r5-GigabitEthernet0/0/1]quit
[r5]ip po    
[r5]ip policy-based-route
[r5]ip pool rr5
Info: It's successful to create an IP address pool.
[r5-ip-pool-rr5]]excluded-ip-address 192.168.1.250 192.168.1.254
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值