全网通练习题

SW3

<Huawei>undo terminal monitor
Info: Current terminal monitor is off.
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname sW3
[sW3]user-interface console 0
[sW3-ui-console0]idle-timeout 0 0
[sW3-ui-console0]quit
[sw3]vlan bat 10 20 30 40 100
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw3]int e0/0/1
[sw3-Ethernet0/0/1]p l a
[sw3-Ethernet0/0/1]p d v 10
[sw3-Ethernet0/0/1]un sh
Info: Interface Ethernet0/0/1 is not shutdown.
[sw3-Ethernet0/0/1]int e0/0/2
[sw3-Ethernet0/0/2]p l a
[sw3-Ethernet0/0/2]p d v 20
[sw3-Ethernet0/0/2]un sh
Info: Interface Ethernet0/0/2 is not shutdown.
[sw3-Ethernet0/0/2]int g0/0/1
[sw3-GigabitEthernet0/0/1]p l t
[sw3-GigabitEthernet0/0/1]p t a v a
[sw3-GigabitEthernet0/0/1]un sh
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[sw3-GigabitEthernet0/0/1]int g0/0/2
[sw3-GigabitEthernet0/0/2]p l t
[sw3-GigabitEthernet0/0/2]p t a v a
[sw3-GigabitEthernet0/0/2]un sh
Info: Interface GigabitEthernet0/0/2 is not shutdown.
[sw3-GigabitEthernet0/0/2]q
[sw3]stp mode mstp 
[sw3]stp region-configuration 
[sw3-mst-region]region-name huawei
[sw3-mst-region]revision-level 1
[sw3-mst-region]instance 1 vlan 10 30
[sw3-mst-region]instance 2 vlan 20 40
[sw3-mst-region]active region-configuration 
Info: This operation may take a few seconds. Please wait for a moment...done.

SW4

<Huawei>undo terminal monitor
Info: Current terminal monitor is off.
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname sW4
[sW4]user-interface console 0
[sW4-ui-console0]idle-timeout 0 0
[sW4-ui-console0]quit
[sw4]vlan bat 10 20 30 40 100
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw4]int e0/0/1
[sw4-Ethernet0/0/1]p l a
[sw4-Ethernet0/0/1]p d v 30
[sw4-Ethernet0/0/1]un sh
Info: Interface Ethernet0/0/1 is not shutdown.
[sw4-Ethernet0/0/1]int e0/0/2
[sw4-Ethernet0/0/2]p l a 
[sw4-Ethernet0/0/2]p d v 40
[sw4-Ethernet0/0/2]un sh
Info: Interface Ethernet0/0/2 is not shutdown.
[sw4-Ethernet0/0/2]int g0/0/1
[sw4-GigabitEthernet0/0/1]p l t 
[sw4-GigabitEthernet0/0/1]p t a v a
[sw4-GigabitEthernet0/0/1]un sh
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[sw4-GigabitEthernet0/0/1]int g0/0/2
[sw4-GigabitEthernet0/0/2]p l t
[sw4-GigabitEthernet0/0/2]p t a v a
[sw4-GigabitEthernet0/0/2]un sh
Info: Interface GigabitEthernet0/0/2 is not shutdown.
[sw4-GigabitEthernet0/0/2]q
[sw4]stp mode mstp 
[sw4]stp region-configuration 
[sw4-mst-region]region-name huawei
[sw4-mst-region]revision-level 1
[sw4-mst-region]instance 1 vlan 10 30
[sw4-mst-region]instance 2 vlan 20 40
[sw4-mst-region]active region-configuration 
Info: This operation may take a few seconds. Please wait for a moment...done.

SW1

<Huawei>undo terminal monitor
Info: Current terminal monitor is off.
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname sW1
[sW1]user-interface console 0
[sW1-ui-console0]idle-timeout 0 0
[sW1-ui-console0]quit
[sw1]vlan bat 10 20 30 40 100
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw1]int g0/0/1
[sw1-GigabitEthernet0/0/1]p l t
[sw1-GigabitEthernet0/0/1]p t a v a
[sw1-GigabitEthernet0/0/1]un sh
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[sw1-GigabitEthernet0/0/1]int g0/0/2
[sw1-GigabitEthernet0/0/2]p l t 
[sw1-GigabitEthernet0/0/2]p t a v a
[sw1-GigabitEthernet0/0/2]un sh
Info: Interface GigabitEthernet0/0/2 is not shutdown.
[sw1-GigabitEthernet0/0/2]q
[sw1]lacp priority 1000
[sw1]int Eth-Trunk 1
[sw1-Eth-Trunk1]port link-type trunk 
[sw1-Eth-Trunk1]port trunk allow-pass vlan all 
[sw1-Eth-Trunk1]bpdu enable 
[sw1-Eth-Trunk1]mode lacp-static 
[sw1-Eth-Trunk1]int g0/0/3
[sw1-GigabitEthernet0/0/3]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw1-GigabitEthernet0/0/3]int g0/0/4
[sw1-GigabitEthernet0/0/4]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw1-GigabitEthernet0/0/4]int g0/0/5
[sw1-GigabitEthernet0/0/5]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw1]int Eth-Trunk 1
[sw1-Eth-Trunk1]max active-linknumber 2
[sw1-Eth-Trunk1]q
[sw1]int g0/0/6
[sw1-GigabitEthernet0/0/6]p l a
[sw1-GigabitEthernet0/0/6]p d v 100
[sw1-GigabitEthernet0/0/6]q
[sw1]int vlanif 10
[sw1-Vlanif10]ip add 192.168.10.10 24
[sw1-Vlanif10]vrrp vrid 1 virtual-ip 192.168.10.1
[sw1-Vlanif10]vrrp vrid 1 priority 120
[sw1-Vlanif10]vrrp vrid 1 track interface GigabitEthernet 0/0/6 reduced 30
[sw1-Vlanif10]q
[sw1]int vlanif 20
[sw1-Vlanif20]ip add 192.168.20.10 24
[sw1-Vlanif20]vrrp vrid 2 virtual-ip 192.168.20.1
[sw1-Vlanif20]vrrp vrid 2 priority 115
[sw1-Vlanif20]q
[sw1]int vlanif 30
[sw1-Vlanif30]ip add 192.168.30.10 24
[sw1-Vlanif30]vrrp vrid 1 virtual-ip 192.168.30.1
[sw1-Vlanif30]vrrp vrid 1 priority 120
[sw1-Vlanif30]vrrp vrid 1 track interface GigabitEthernet 0/0/6 reduced 30
[sw1-Vlanif30]q
[sw1]int vlanif 40
[sw1-Vlanif40]ip add 192.168.40.10 24
[sw1-Vlanif40]vrrp vrid 2 virtual-ip 192.168.40.1
[sw1-Vlanif40]vrrp vrid 2 priority 115
[sw1-Vlanif40]q
[sw1]int vlanif 100
[sw1-Vlanif100]ip add 10.0.0.10 24
[sw1-Vlanif100]q
[sw1]stp mode mstp 
[sw1]stp region-configuration 
[sw1-mst-region]region-name huawei
[sw1-mst-region]revision-level 1
[sw1-mst-region]instance 1 vlan 10 30
[sw1-mst-region]instance  2 vlan 20 40
[sw1-mst-region]active region-configuration 
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw1-mst-region]q
[sw1]stp instance 1 root primary 
[sw1]stp instance 2 root secondary 
[sw1]rip
[sw1-rip-1]version 2
[sw1-rip-1]undo summary 
[sw1-rip-1]network 192.168.10.0
[sw1-rip-1]network 192.168.30.0
[sw1-rip-1]network 10.0.0.0

SW2

<Huawei>undo terminal monitor
Info: Current terminal monitor is off.
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname sW2
[sW2]user-interface console 0
[sW2-ui-console0]idle-timeout 0 0
[sW2-ui-console0]quit
[sw2]vlan bat 10 20 30 40 100
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw2]int g0/0/1
[sw2-GigabitEthernet0/0/1]p l t
[sw2-GigabitEthernet0/0/1]p t a v a
[sw2-GigabitEthernet0/0/1]un sh
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[sw2-GigabitEthernet0/0/1]int g0/0/2
[sw2-GigabitEthernet0/0/2]p l t
[sw2-GigabitEthernet0/0/2]p t a v a
[sw2-GigabitEthernet0/0/2]un sh
Info: Interface GigabitEthernet0/0/2 is not shutdown.
[sw2-GigabitEthernet0/0/2]q
[sw2]lacp priority 1000
[sw2]int Eth-Trunk 1
[sw2-Eth-Trunk1]port link-type trunk 
[sw2-Eth-Trunk1]port trunk allow-pass vlan all 
[sw2-Eth-Trunk1]bpdu enable 
[sw2-Eth-Trunk1]mode lacp-static 
[sw2-Eth-Trunk1]int g0/0/3
[sw2-GigabitEthernet0/0/3]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw2-GigabitEthernet0/0/3]int g0/0/4
[sw2-GigabitEthernet0/0/4]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw2-GigabitEthernet0/0/4]int g0/0/5
[sw2-GigabitEthernet0/0/5]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw2-GigabitEthernet0/0/5]q
[sw2]int Eth-Trunk 1
[sw2-Eth-Trunk1]max active-linknumber 2
[sw2-Eth-Trunk1]q
[sw2]int g0/0/6
[sw2-GigabitEthernet0/0/6]p l a
[sw2-GigabitEthernet0/0/6]p d v 100
[sw2-GigabitEthernet0/0/6]q
[sw2]int vlanif 10
[sw2-Vlanif10]ip add 192.168.10.20 24
[sw2-Vlanif10]vrrp vrid 1 virtual-ip 192.168.10.1
[sw2-Vlanif10]vrrp vrid 1 priority 115
[sw2-Vlanif10]q
[sw2]int vlanif 20
[sw2-Vlanif20]ip add 192.168.20.20 24
[sw2-Vlanif20]vrrp vrid 2 virtual-ip 192.168.20.1
[sw2-Vlanif20]vrrp vrid 2 priority 120
[sw2-Vlanif20]vrrp vrid 2 track interface GigabitEthernet 0/0/6 reduced 30
[sw2-Vlanif20]q
[sw2]int vlanif 30
[sw2-Vlanif30]ip add 192.168.30.20 24
[sw2-Vlanif30]vrrp vrid 1 virtual-ip 192.168.30.1
[sw2-Vlanif30]vrrp vrid 1 priority 115
[sw2-Vlanif30]q
[sw2]int vlanif 40
[sw2-Vlanif40]ip add 192.168.40.20 24
[sw2-Vlanif40]vrrp vrid 2 virtual-ip 192.168.40.1
[sw2-Vlanif40]vrrp vrid 2 priority 120
[sw2-Vlanif40]vrrp vrid 2 track interface GigabitEthernet 0/0/6 reduced 30
[sw2-Vlanif40]q
[sw2]int vlanif 100
[sw2-Vlanif100]ip add 11.0.0.20 24
[sw2-Vlanif100]q
[sw2]stp mode mstp 
[sw2]stp region-configuration 
[sw2-mst-region]region-name huawei
[sw2-mst-region]revision-level 1
[sw2-mst-region]instance 1 vlan 10 30
[sw2-mst-region]instance 2 vlan 20 40
[sw2-mst-region]active region-configuration 
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw2-mst-region]q
[sw2]stp instance 1 root secondary 
[sw2]stp instance 2 root primary 
[sw2]rip 
[sw2-rip-1]version 2
[sw2-rip-1]undo summary 
[sw2-rip-1]network 192.168.20.0
[sw2-rip-1]network 192.168.40.0
[sw2-rip-1]network 11.0.0.0

R1

<Huawei>undo terminal monitor
Info: Current terminal monitor is off.
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r1
[r1]user-interface console 0
[r1-ui-console0]idle-timeout 0 0
[r1-ui-console0]quit
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ip add 10.0.0.1 24
[r1-GigabitEthernet0/0/0]un sh
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[r1-GigabitEthernet0/0/0]int g0/0/1
[r1-GigabitEthernet0/0/1]ip add 11.0.0.1 24
[r1-GigabitEthernet0/0/1]un sh
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[r1-GigabitEthernet0/0/1]int g0/0/2
[r1-GigabitEthernet0/0/2]ip add 12.0.0.1 24
[r1-GigabitEthernet0/0/2]un sh
Info: Interface GigabitEthernet0/0/2 is not shutdown.
[r1-GigabitEthernet0/0/2]q
[r1]rip
[r1-rip-1]version 2
[r1-rip-1]undo summary 
[r1-rip-1]network 10.0.0.0
[r1-rip-1]network 11.0.0.0
[r1-rip-1]network 12.0.0.0

R2

<Huawei>undo terminal monitor
Info: Current terminal monitor is off.
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r2
[r2]user-interface console 0
[r2-ui-console0]idle-timeout 0 0
[r2-ui-console0]quit
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]ip add 12.0.0.2 24
[r2-GigabitEthernet0/0/0]un sh
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[r2-GigabitEthernet0/0/0]int g0/0/1
[r2-GigabitEthernet0/0/1]ip add 23.0.0.2 24
[r2-GigabitEthernet0/0/1]un sh
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[r2-GigabitEthernet0/0/1]q
[r2]rip 
[r2-rip-1]version 2
[r2-rip-1]undo summary 
[r2-rip-1]network 12.0.0.0
[r2-rip-1]network 23.0.0.0
[r2-rip-1]q
[r2]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.
[r2]ip pool 1
Info: It's successful to create an IP address pool.
[r2-ip-pool-1]gateway-list 192.168.100.1
[r2-ip-pool-1]network 192.168.100.0 mask 24
[r2-ip-pool-1]dns-list 8.8.8.8
[r2-ip-pool-1]lease day 7
[r2-ip-pool-1]q
[r2]int g0/0/1
[r2-GigabitEthernet0/0/1]dhcp select global 
[r2-GigabitEthernet0/0/1]q

R3

<Huawei>undo terminal monitor
Info: Current terminal monitor is off.
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r3
[r3]user-interface console 0
[r3-ui-console0]idle-timeout 0 0
[r3-ui-console0]quit
[r3]int g0/0/0
[r3-GigabitEthernet0/0/0]ip add 23.0.0.1 24
[r3-GigabitEthernet0/0/0]un sh
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[r3-GigabitEthernet0/0/0]int g0/0/1
[r3-GigabitEthernet0/0/1]ip add 192.168.100.1 24
[r3-GigabitEthernet0/0/1]un sh
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[r3-GigabitEthernet0/0/1]q
[r3]dhcp en
Info: The operation may take a few seconds. Please wait for a moment.done.
[r3]int g0/0/1
[r3-GigabitEthernet0/0/1]dhcp select relay 
[r3-GigabitEthernet0/0/1]dhcp relay server-ip 23.0.0.2
[r3-GigabitEthernet0/0/1]q
[r3]rip 
[r3-rip-1]version 2
[r3-rip-1]undo summary 
[r3-rip-1]network 192.168.100.0
[r3-rip-1]network 23.0.0.0
[r3-rip-1]q

 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值