91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

dhcp中繼 以太網鏈路聚合

發布時間:2020-07-09 20:17:28 來源:網絡 閱讀:837 作者:zhaobing12 欄目:網絡安全

dhcp中繼  以太網鏈路聚合

 

SW2========================================================================================

 

[sw2]dis cu

#

sysname sw2  

vlan batch 10 20 ------添加vlan

#

interface Eth-Trunk1              鏈路聚合

 port link-type trunk                          把接口設為trunk模式允許vlan 10 20通過

 port trunk allow-pass vlan 10 20

#

interface Eth-Trunk2

 port link-type trunk

 port trunk allow-pass vlan 10 20

#

interface Ethernet0/0/1

 port link-type access          把接口以access模式加入到vlan 10

 port default vlan 10

#

interface Ethernet0/0/10

 eth-trunk 1                         接口添加到eth-trunk 1

#

interface Ethernet0/0/11

 eth-trunk 1

#

interface Ethernet0/0/12

 port link-type access          把接口以access模式加入到vlan 20

 port default vlan 20

#

interface GigabitEthernet0/0/1

 eth-trunk 2    接口添加到eth-trunk 2

#

interface GigabitEthernet0/0/2

 eth-trunk 2

#

SW3========================================================================================

 

sysname Huawei

#

vlan batch 10 20

#

#

interface Eth-Trunk1  進接口

 port link-type trunk                       把接口設置為trunk

 port trunk allow-pass vlan 10 20   trunk允許通過vlan10 20

#

interface Ethernet0/0/1

#

interface Ethernet0/0/2

 port link-type access      把接口以access模式加入到vlan 10

 port default vlan 10

#

interface Ethernet0/0/12

 eth-trunk 1

#                                            把接口添加到eth-trunk 1

interface Ethernet0/0/13

 eth-trunk 1

#

SW1=============================================================================================

sysname sw1

#

vlan batch 10 20 30 100    添加vlan

#

cluster enable

ntdp enable

ndp enable

#

drop illegal-mac alarm

#

dhcp enable       開啟dhcp功能

#

diffserv domain default

#

drop-profile default

#

ip pool vlan20

 gateway-list 192.168.20.1

 network 192.168.20.0 mask 255.255.255.0    給vlan20 設置地址池

 dns-list 2.2.2.2

#

interface Vlanif1

#

interface Vlanif10

 ip address 192.168.10.1 255.255.255.0

 dhcp select interface                           給vlan10設置dhcp 基于端口

 dhcp server dns-list 1.1.1.1

#

interface Vlanif20

 ip address 192.168.20.1 255.255.255.0    給vlan20設置網關

 dhcp select global     dhcp地址池選擇全局

#

interface Vlanif30

 ip address 192.168.30.1 255.255.255.0 vlan30 設置網關

 dhcp select global

 dhcp select relay   dhcp中繼代理

 dhcp relay server-ip 23.0.0.3 指向代理方得ip地址

#

interface Vlanif100

 ip address 11.0.0.1 255.255.255.0  vlan100設置網關

#

interface MEth0/0/1

#

interface Eth-Trunk2             進接口interface Eth-Trunk2            并把它設置為trunk,允許vlan 10 20通過

 port link-type trunk

 port trunk allow-pass vlan 10 20

#

interface Eth-Trunk3

 port link-type access  進接口interface Eth-Trunk3            并把它設置為trunk,允許vlan 100通過

 port default vlan 100

#

interface GigabitEthernet0/0/1

 eth-trunk 2                                把接口添加到 eth-trunk 2 

#

interface GigabitEthernet0/0/2

 eth-trunk 2

#

interface GigabitEthernet0/0/3

 port link-type access               進接口 ,把接口設置為access口屬于vlan30

 port default vlan 30

#

interface GigabitEthernet0/0/4

 eth-trunk 3

#                                                      把接口添加到 eth-trunk 23

interface GigabitEthernet0/0/5

 eth-trunk 3

#

 

rip 1                            動態路由協議

 undo summary       關閉路由匯總

 version 2               版本2

 network 192.168.10.0 

 network 192.168.20.0                      告訴鄰居自己知道的ip

 network 192.168.30.0

 network 11.0.0.0

AR1========================================================================================

interface Eth-Trunk3              進入Eth-Trunk3             

 undo portswitch                 從二層模式切換到三層

 ip address 11.0.0.2 255.255.255.0    給Eth-Trunk3設置ip

#

interface GigabitEthernet0/0/0

 eth-trunk 3                       把接口添加到 eth-trunk 3 (鏈路聚合)

#                                                           

 interface GigabitEthernet0/0/1

 eth-trunk 3

#

interface GigabitEthernet0/0/2

 ip address 12.0.0.1 255.255.255.0           設置ip

#

interface NULL0

#

rip 1

 undo summary

 version 2

 network 11.0.0.0

 network 12.0.0.0

AR2================================================================================================

interface Eth-Trunk4

 undo portswitch               從二層模式切換到三層

 ip address 23.0.0.2 255.255.255.0   設置ip

#

interface GigabitEthernet0/0/0

 ip address 12.0.0.2 255.255.255.0   ip

#

interface GigabitEthernet0/0/1

 eth-trunk 4                                把接口添加到 eth-trunk 4(鏈路聚合)

#

interface GigabitEthernet0/0/2

 eth-trunk 4

#

interface NULL0

#

rip 1

 undo summary

 version 2

 network 23.0.0.0

 network 12.0.0.0

#

AR3==========================================================================================

#

dhcp enable          開啟dhcp功能

undo dhcp server bootp

#

ip pool vlan30

 gateway-list 192.168.30.1 

 network 192.168.30.0 mask 255.255.255.0                           設置地址池

 dns-list 3.3.3.3 4.4.4.4 

#

interface Eth-Trunk4

 undo portswitch          從二層模式切換到三層

 ip address 23.0.0.3 255.255.255.0 

 dhcp select global          全局的地址池給DHCP客戶端使用 

#

interface GigabitEthernet0/0/0

 eth-trunk 4                 把接口添加到 eth-trunk 4(鏈路聚合)

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

 eth-trunk 4              把接口添加到 eth-trunk 4(鏈路聚合)

#

interface NULL0

#

rip 1

 undo summary

 version 2

 network 23.0.0.0

#

 

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

辉南县| 山东| 岱山县| 合肥市| 仪征市| 陈巴尔虎旗| 大埔区| 阳朔县| 通许县| 吉木萨尔县| 定西市| 秦安县| 缙云县| 彰武县| 安仁县| 茶陵县| 湘西| 历史| 乌鲁木齐市| 兴安盟| 左云县| 平陆县| 昌黎县| 军事| 绵竹市| 沁阳市| 南安市| 绍兴县| 依兰县| 鄂温| 湛江市| 新干县| 黔西| 荆州市| 南涧| 辉县市| 长武县| 上杭县| 金阳县| 五家渠市| 镶黄旗|