日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

在Catalyst 2948G-L3交換機(jī)上配置IP上行鏈路重定向( 二 )


在本節(jié)中,向您提供如何配置本文所述特性方面的信息 。以下各部分介紹在Catalyst 2948G-L3交換機(jī)上配置IP上行鏈路重定向時(shí)所用的一般拓?fù)浣Y(jié)構(gòu)和步驟 。
具體操作步驟
在這種拓?fù)浣Y(jié)構(gòu)中配置IP上行重定向的步驟如下:
在Catalyst 2948G-L3交換機(jī)上啟動(dòng)IP上行鏈路重定向,并重新裝載交換機(jī) 。在啟動(dòng)或禁用IP上行鏈路重定向之后,您必須重新裝載交換機(jī) 。
2948G-L3#configure terminal
Enter configuration commands, one per line.; End with CNTL/Z.
2948G-L3(config)#ip uplink-redirect

Please save configuration and reload for this command to take effect

2948G-L3(config)#^Z
2948G-L3#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
2948G-L3#reload
Proceed with reload? [confirm]


ROMMON: Cold Reset frame @0x00000000
ROMMON: Reading reset reason register
ROMMON: Valid NVRAM config

!--- Output suppressed.

Press RETURN to get started!
檢驗(yàn)發(fā)出 show ip uplink-redirect 命令后IP上行鏈路重定向已啟動(dòng):

2948G-L3#show ip uplink-redirect

IP Uplink Redirect Configuration:

Running Configuration : ip uplink-redirect;
Configuration on next reload : ip uplink-redirect

2948G-L3#
配置快速以太網(wǎng)接口 。將每個(gè)快速以太網(wǎng)接口分配給采用30位子網(wǎng)掩碼的不同IP子網(wǎng)絡(luò)(如在本例中,假如您采用子網(wǎng)絡(luò)零,要確保輸入 ip subnet-zero 全局配置命令) 。
2948G-L3(config)#ip subnet-zero
2948G-L3(config)#interface FastEthernet 1
2948G-L3(config-if)#ip address 192.168.1.1 255.255.255.252
2948G-L3(config-if)#no shutdown
2948G-L3(config-if)#exit
2948G-L3(config)#interface FastEthernet 2
2948G-L3(config-if)#ip address 192.168.1.5 255.255.255.252
2948G-L3(config-if)#no shutdown
2948G-L3(config-if)#exit

!--- Output suppressed.

2948G-L3(config)#interface FastEthernet 48
2948G-L3(config-if)#ip address 192.168.1.189 255.255.255.252
2948G-L3(config-if)#no shutdown
2948G-L3(config-if)#
在適當(dāng)?shù)淖泳W(wǎng)絡(luò)中為每個(gè)服務(wù)器配置剩余的主機(jī)IP地址,并將相應(yīng)的快速以太網(wǎng)IP地址用作服務(wù)器的缺省網(wǎng)關(guān) 。
例如,1號(hào)客戶的服務(wù)器與1號(hào)快速以太網(wǎng)接口相連,服務(wù)器IP地址為192.168.1.2/30,缺省網(wǎng)關(guān)為192.168.1.1 (1號(hào)快速以太網(wǎng)接口的IP地址) 。
配置千兆以太網(wǎng)接口的IP地址;這些接口將Catalyst 2948G-L3交換機(jī)與上行Catalyst 4908G-L3交換機(jī)相連 。在本例中,Catalyst 2948G-L3交換機(jī)上的49號(hào)千兆以太網(wǎng)接口與Catalyst 4908G-L3交換機(jī)上的1號(hào)千兆以太網(wǎng)接口相連 。
Catalyst 2948G-L3:
2948G-L3(config)#interface GigabitEthernet 49
2948G-L3(config-if)#ip address 192.168.1.253 255.255.255.252
2948G-L3(config-if)#no shutdown
2948G-L3(config-if)#
Catalyst 4908G-L3:
4908G-L3(config)#interface GigabitEthernet 1
4908G-L3(config-if)#ip address 192.168.1.254 255.255.255.252
4908G-L3(config-if)#no shutdown
4908G-L3(config-if)#
在本例中,通過Catalyst 4908G-L3上的8號(hào)千兆以太網(wǎng)接口連接互聯(lián)網(wǎng) 。用適當(dāng)IP地址配置8號(hào)千兆以太網(wǎng)接口 。
4908G-L3(config)#interface GigabitEthernet 8
4908G-L3(config-if)#ip address 192.168.255.1 255.255.255.0
4908G-L3(config-if)#no shutdown
4908G-L3(config-if)#
在Catalyst 2948G-L3交換機(jī)和Catalyst 4908G-L3交換機(jī)上配置路由:在本例中,配置IP EIGRP 。在Catalyst 2948G-L3指定無源接口,以防止將EIGRP問候信息發(fā)往快速以太網(wǎng)接口 。
此外,在192.168.1.0/24網(wǎng)絡(luò)的一個(gè)通告中總結(jié)在快速以太網(wǎng)接口上配置的30位子網(wǎng)絡(luò),以減少上行路由器治理的路由表輸入條目數(shù)量 。

推薦閱讀