IPv4 address......................: 172.16.5.253 Subnet mask.......................: 255.255.255.0 Gateway...........................: 172.16.5.1
Physical address..................: 54-89-98-F7-19-D6 DNS server........................: 222.88.88.88 Pc3、pc4查看获取到的IP地址
Pc3ip地址:
Link local IPv6 address...........: fe80::5689:98ff:fe8c:7a8c IPv6 address......................: :: / 128 IPv6 gateway......................: ::
IPv4 address......................: 172.16.6.254 Subnet mask.......................: 255.255.255.0 Gateway...........................: 172.16.6.1
Physical address..................: 54-89-98-8C-7A-8C DNS server........................: 222.88.88.88 Pc3ip地址: PC>ipconfig
Link local IPv6 address...........: fe80::5689:98ff:fe88:5b84 IPv6 address......................: :: / 128 IPv6 gateway......................: ::
IPv4 address......................: 172.16.6.253 Subnet mask.......................: 255.255.255.0 Gateway...........................: 172.16.6.1
Physical address..................: 54-89-98-88-5B-84 DNS server........................: 222.88.88.88 配置ISIS: [LSW1]isis
[LSW1-isis-1]network-e
[LSW1-isis-1]network-entity 86.0001.0100.0000.0021.00 [LSW1-isis-1]is-level level-1
Info: IS Level Changed, Resetting ISIS... [LSW1-isis-1]q
[LSW1]interface vlanif 4 [LSW1-Vlanif4]isis enable
[LSW1-Vlanif4]interface vlanif 3 [LSW1-Vlanif3]isis enable
[LSW1-Vlanif3]interface vlanif 50 [LSW1-Vlanif50]isis enable
[LSW1-Vlanif50]interface vlanif 60 [LSW1-Vlanif60]isis enable
[LSW1]interface vlanif 50
[LSW1-Vlanif50]vrrp vrid 50 virtual-ip 172.16.5.1
Warning: The priority of this VRRP backup group has changed to 255 and will not change.
[LSW1-Vlanif50]vrrp vrid 50 priority 80
[LSW1-Vlanif50]vrrp vrid 50 track interface ethernet 0/0/1 reduced 30 Error: The IP address owner cannot perform the track function. [LSW1-Vlanif50]interface vlanif 60
[LSW1-Vlanif60]vrrp vrid 50 virtual-ip 172.16.6.1
Warning: The priority of this VRRP backup group has changed to 255 and will not change.
[LSW1-Vlanif60]vrrp vrid 50 priority 150
[LSW1-Vlanif60]vrrp vrid 50 track interface ethernet 0/0/1 reduced 80 Error: The IP address owner cannot perform the track function. [LSW1-Vlanif60]q
三层LSW2交换机配置如下:
Enter system view, return user view with Ctrl+Z. [LSW2]sysname LSW2
[LSW2]vlan batch 3 4 50 60
Info: This operation may take a few seconds. Please wait for a moment...done. [LSW2]interface vlanif 3
[LSW2-Vlanif3]ip address 10.0.0.14 30 [LSW2-Vlanif3]interface ethernet 0/0/3 [LSW2-Ethernet0/0/3]port link-type access [LSW2-Ethernet0/0/3]port default vlan 3 [LSW2-Ethernet0/0/3]interface vlanif 4 [LSW2-Vlanif4]ip address 10.0.0.21 30 [LSW2-Vlanif4]interface ethernet 0/0/1 [LSW2-Ethernet0/0/1]port link-type access [LSW2-Ethernet0/0/1]port default vlan 4 [LSW2-Ethernet0/0/1]interface ethernet 0/0/4 [LSW2-Ethernet0/0/4]port link-type trunk
[LSW2-Ethernet0/0/4]port trunk allow-pass vlan 50 [LSW2-Ethernet0/0/4]interface ethernet 0/0/2 [LSW2-Ethernet0/0/2]port link-type trunk
[LSW2-Ethernet0/0/2]port trunk allow-pass vlan 60
[LSW2-Ethernet0/0/2]q 配置DHCP:
[LSW2]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done. [LSW2]interface vlanif 50
[LSW2-Vlanif50]ip address 172.16.5.1 24 [LSW2-Vlanif50]dhcp select interface
[LSW2-Vlanif50]dhcp server dns-list 222.88.88.88 [LSW2-Vlanif50]dhcp server lease day 20 [LSW2-Vlanif50]interface vlanif 60 [LSW2-Vlanif60]ip address 172.16.6.1 24 [LSW2-Vlanif60]dhcp select interface
[LSW2-Vlanif60]dhcp server dns-list 222.88.88.88 [LSW2-Vlanif60]dhcp server lease day 20 [LSW2-Vlanif60]q 配置ISIS: [LSW1]isis
[LSW1-isis-1]network-e
[LSW1-isis-1]network-entity 86.0001.0100.0000.0017.00 [LSW1-isis-1]is-level level-1
Info: IS Level Changed, Resetting ISIS... [LSW1-isis-1]q
[LSW1]interface vlanif 4 [LSW1-Vlanif4]isis enable
[LSW1-Vlanif4]interface vlanif 3 [LSW1-Vlanif3]isis enable
[LSW1-Vlanif3]interface vlanif 50 [LSW1-Vlanif50]isis enable
[LSW1-Vlanif50]interface vlanif 60 [LSW1-Vlanif60]isis enable
二层LSW4交换机配置如下:
Enter system view, return user view with Ctrl+Z. [Huawei]sysname LSW4 [LSW4]vlan 60
[LSW4-vlan60]interface ethernet 0/0/1 [LSW4-Ethernet0/0/1]port link-type trunk
[LSW4-Ethernet0/0/1]port trunk allow-pass vlan 60
[LSW4-Ethernet0/0/1]interface ethernet 0/0/3 [LSW4-Ethernet0/0/3]port link-type trunk
[LSW4-Ethernet0/0/3]port trunk allow-pass vlan 60 [LSW4-Ethernet0/0/3]interface ethernet 0/0/4 [LSW4-Ethernet0/0/4]port link-type access [LSW4-Ethernet0/0/4]port default vlan 60 [LSW4-Ethernet0/0/4]interface ethernet 0/0/5 [LSW4-Ethernet0/0/5]port link-type access [LSW4-Ethernet0/0/5]port default vlan 60 [LSW4-Ethernet0/0/5]q [LSW4]
二层LSW3交换机配置如下:
Enter system view, return user view with Ctrl+Z. [Huawei]sysname LSW3 [LSW4]vlan 60
[LSW3-vlan50]interface ethernet 0/0/1 [LSW3-Ethernet0/0/1]port link-type trunk
[LSW3-Ethernet0/0/1]port trunk allow-pass vlan 50 [LSW3-Ethernet0/0/1]interface ethernet 0/0/3 [LSW3-Ethernet0/0/3]port link-type trunk
[LSW3-Ethernet0/0/3]port trunk allow-pass vlan 50 [LSW3-Ethernet0/0/3]interface ethernet 0/0/4 [LSW3-Ethernet0/0/4]port link-type access [LSW3-Ethernet0/0/4]port default vlan 50 [LSW3-Ethernet0/0/4]interface ethernet 0/0/5 [LSW3-Ethernet0/0/5]port link-type access [LSW3-Ethernet0/0/5]port default vlan 50 [LSW3-Ethernet0/0/5]
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库综合(2)在线全文阅读。
相关推荐: