77范文网 - 专业文章范例文档资料分享平台

综合

来源:网络收集 时间:2020-06-06 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

Lsw7

system-view

Enter system view, return user view with Ctrl+Z. [Huawei]sysname lsw7

[lsw7]vlan batch 10 20 30 40

Info: This operation may take a few seconds. Please wait for a moment...done. [lsw7]interface ethernet 0/0/3

[lsw7-Ethernet0/0/3]port link-type access [lsw7-Ethernet0/0/3]port default vlan 10 [lsw7-Ethernet0/0/3]interface ethernet 0/0/4 [lsw7-Ethernet0/0/4]

[lsw7-Ethernet0/0/4]port link-type access [lsw7-Ethernet0/0/4]port default vlan 20 [lsw7-Ethernet0/0/4]interface ethernet 0/0/5 [lsw7-Ethernet0/0/5]port link-type access [lsw7-Ethernet0/0/5]port default vlan 30 [lsw7-Ethernet0/0/5]interface ethernet 0/0/6 [lsw7-Ethernet0/0/6]port link-type access [lsw7-Ethernet0/0/6]port default vlan 40 [lsw7-Ethernet0/0/6]q [lsw7]interface eth-trunk 0

[lsw7-Eth-Trunk0]port link-type trunk

[lsw7-Eth-Trunk0]port trunk allow-pass vlan 10 20 30 40 [lsw7-Eth-Trunk0]interface ethernet 0/0/1 [lsw7-Ethernet0/0/1]eth-trunk 0

Info: This operation may take a few seconds. Please wait for a moment...done. [lsw7-Ethernet0/0/1]interface ethernet 0/0/2 [lsw7-Ethernet0/0/2]eth-trunk 0

Info: This operation may take a few seconds. Please wait for a moment...done. [lsw7-Ethernet0/0/2]

Lsw5

sy

Enter system view, return user view with Ctrl+Z. [Huawei]sysname lsw5

[lsw5]interface eth-trunk 0

[lsw5-Eth-Trunk0]port link-type trunk

[lsw5-Eth-Trunk0]port trunk allow-pass vlan 10 20 30 40

[lsw5-Eth-Trunk0]q

[lsw5]interface ethernet 0/0/2 [lsw5-Ethernet0/0/2]eth-trunk 0

Info: This operation may take a few seconds. Please wait for a moment...done. [lsw5-Ethernet0/0/2]interface ethernet 0/0/3 [lsw5-Ethernet0/0/3]eth-trunk 0

Info: This operation may take a few seconds. Please wait for a moment...done. [lsw5]vlan batch 10 20 30 40

Info: This operation may take a few seconds. Please wait for a moment...done. [lsw5]dhcp enable

Info: The operation may take a few seconds. Please wait for a moment.done. [lsw5]interface vlanif 10

[lsw5-Vlanif10]ip address 172.16.1.1 24 Error: The address already exists. [lsw5-Vlanif10]dhcp select interface

[lsw5-Vlanif10]dhcp server dns-list 222.88.88.88 [lsw5-Vlanif10]dhcp server lease day 20 [lsw5-Vlanif10]q

[lsw5]interface vlanif 20

[lsw5-Vlanif20]ip address 172.16.2.1 24 [lsw5-Vlanif20]dhcp select interface

[lsw5-Vlanif20]dhcp server dns-list 222.88.88.88 [lsw5-Vlanif20]dhcp server lease day 20 [lsw5-Vlanif20]q

[lsw5]interface vlanif 30

[lsw5-Vlanif30]ip address 172.16.3.1 24 [lsw5-Vlanif30]dhcp select interface

[lsw5-Vlanif30]dhcp server dns-list 222.88.88.88 [lsw5-Vlanif30]dhcp server lease day 20 [lsw5-Vlanif30]q

[lsw5]interface vlanif 40

[lsw5-Vlanif40]ip address 172.16.4.1 24 [lsw5-Vlanif40]dhcp select interface

[lsw5-Vlanif40]dhcp server dns-list 222.88.88.88 [lsw5-Vlanif40]dhcp server lease day 20 [lsw5-Vlanif40]q [lsw5]

[lsw5-Ethernet0/0/3]vlan 2 [lsw5-vlan2]interface vlanif 2 [lsw5-Vlanif2]ip address 10.0.0.1 30 [lsw5-Vlanif2]q

[lsw5]interface g0/0/2

[lsw5-GigabitEthernet0/0/2]port link-type access [lsw5-GigabitEthernet0/0/2]port default vlan 2 [lsw5-GigabitEthernet0/0/2]interface vlanif 2 [lsw5-Vlanif2]isis enable

[lsw5-Vlanif2]interface vlanif 10 [lsw5-Vlanif10]isis enable

[lsw5-Vlanif10]interface vlanif 20 [lsw5-Vlanif20]isis enable

[lsw5-Vlanif20]interface vlanif 30 [lsw5-Vlanif30]isis enable

[lsw5-Vlanif30]interface vlanif 40 [lsw5-Vlanif40]isis enable [lsw5-Vlanif40]

AR7

undo terminal monitor

Info: Current terminal monitor is off. system-view

Enter system view, return user view with Ctrl+Z. [Huawei]sysname AR7 [AR7]isis

[AR7-isis-1]network-e

[AR7-isis-1]network-entity 86.0000.0100.0000.0002.00 [AR7-isis-1]is-level level-1

Info: IS Level Changed, Resetting ISIS... [AR7-isis-1]q

[AR7]interface g0/0/2

[AR7-GigabitEthernet0/0/2]ip address 10.0.0.2 30 [AR7-GigabitEthernet0/0/2]isis enable [AR7-GigabitEthernet0/0/2]interface g0/0/0 [AR7-GigabitEthernet0/0/0]isis enable [AR7-GigabitEthernet0/0/0]interface g0/0/1 [AR7-GigabitEthernet0/0/1]isis enable [AR7-GigabitEthernet0/0/1]q [AR7]dis ip rou

Route Flags: R - relay, D - download to fib

------------------------------------------------------------------------------

Routing Tables: Public

Destinations : 11 Routes : 11

Destination/Mask Proto Pre Cost Flags NextHop Interface

10.0.0.0/30 Direct 0 0 D 10.0.0.2 GigabitEthernet 0/0/2

10.0.0.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet 0/0/2

10.0.0.3/32 Direct 0 0 D 127.0.0.1 GigabitEthernet 0/0/2

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 172.16.1.0/24 ISIS-L1 15 20 D 10.0.0.1 GigabitEthernet 0/0/2

172.16.2.0/24 ISIS-L1 15 20 D 10.0.0.1 GigabitEthernet 0/0/2

172.16.3.0/24 ISIS-L1 15 20 D 10.0.0.1 GigabitEthernet 0/0/2

172.16.4.0/24 ISIS-L1 15 20 D 10.0.0.1 GigabitEthernet 0/0/2

255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0

三层LSW1交换机配置如下:

sy

Enter system view, return user view with Ctrl+Z. [LSW1]sysname LSW1

[LSW1]vlan batch 3 4 50 60

Info: This operation may take a few seconds. Please wait for a moment...done. [LSW1]interface vlanif 3

[LSW1-Vlanif3]ip address 10.0.0.14 30 [LSW1-Vlanif3]interface ethernet 0/0/3 [LSW1-Ethernet0/0/3]port link-type access [LSW1-Ethernet0/0/3]port default vlan 3

[LSW1-Ethernet0/0/3]interface vlanif 4 [LSW1-Vlanif4]ip address 10.0.0.21 30 [LSW1-Vlanif4]interface ethernet 0/0/1 [LSW1-Ethernet0/0/1]port link-type access [LSW1-Ethernet0/0/1]port default vlan 4 [LSW1-Ethernet0/0/1]interface ethernet 0/0/4 [LSW1-Ethernet0/0/4]port link-type trunk

[LSW1-Ethernet0/0/4]port trunk allow-pass vlan 50 [LSW1-Ethernet0/0/4]interface ethernet 0/0/2 [LSW1-Ethernet0/0/2]port link-type trunk

[LSW1-Ethernet0/0/2]port trunk allow-pass vlan 60 [LSW1-Ethernet0/0/2]q 配置DHCP:

[LSW1]dhcp enable

Info: The operation may take a few seconds. Please wait for a moment.done. [LSW1]interface vlanif 50

[LSW1-Vlanif50]ip address 172.16.5.1 24 [LSW1-Vlanif50]dhcp select interface

[LSW1-Vlanif50]dhcp server dns-list 222.88.88.88 [LSW1-Vlanif50]dhcp server lease day 20 [LSW1-Vlanif50]interface vlanif 60 [LSW1-Vlanif60]ip address 172.16.6.1 24 [LSW1-Vlanif60]dhcp select interface

[LSW1-Vlanif60]dhcp server dns-list 222.88.88.88 [LSW1-Vlanif60]dhcp server lease day 20 [LSW1-Vlanif60]q

之后在客户端pc1、pc2查看获取到的IP地址如下命令:

Pc1ip地址:

Link local IPv6 address...........: fe80::5689:98ff:fefc:6ee1 IPv6 address......................: :: / 128 IPv6 gateway......................: ::

IPv4 address......................: 172.16.5.254 Subnet mask.......................: 255.255.255.0 Gateway...........................: 172.16.5.1

Physical address..................: 54-89-98-FC-6E-E1 DNS server........................: Pc2IP地址: pc>ipconfig

Link local IPv6 address...........: fe80::5689:98ff:fef7:19d6 IPv6 address......................: :: / 128 IPv6 gateway......................: ::

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库综合在线全文阅读。

综合.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/1094421.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: