catalyst2948gl3:Catalyst 2948G-L3交换机上行重定向功能来源: 发布时间:星期日, 2008年12月14日 浏览:9次 评论:0
介绍 Catalyst 2948G-L3机IP上行链路重定向功能将在高速以太网接口接收 ![]() ![]() 当业务来源于高速以太网接口上 ![]() ![]() ![]() ![]() ![]() IP上行链路重定向功能使服务供应商能够向区别客户(例如对于网络主机)提供高速以太网接口 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() IP上行链路重定向要求在表中装入 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 如果要阻止连接至高速以太网接口 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 警告: IP上行链路重定向功能仅影响IP单播第3层(L3)交换业务 ![]() ![]() ![]() ![]() 对于在Catalyst 2948G - L3交换机上使用网桥群组虚拟接口(BVI)实现IP上行链路重定向功能 ![]() ![]() ![]() ![]() ![]() ![]() 该样本配置并不讨论IP上行链路重定向功能对于服务供应商 ![]() ![]() ![]() ![]() ![]() 在Catalyst 2948G - L3交换机上配置IP上行链路重定向 本文中 ![]() ![]() 运行 IOS版本12.0(10)W5(18e) ![]() ![]() ![]() 两个配置为终端站 ![]() ![]() 注意: 两个配置为终端站 ![]() ![]() ![]() ![]() ![]() 本文基于独立实验室环境中实施 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() IP上行链路重定向配置样本1 配置Cat2948G - L3以使station_B属于 ![]() ![]() ![]() ![]() ![]() 网络图 样本配置 Cat2948G-L3#show run ... bridge irb !-- 该命令激活完整 ![]() ![]() ... ![]() ip address 10.1.20.2 255.255.255.0 no ip directed-broadcast duplex full speed 100 ! ![]() no ip address no ip directed-broadcast duplex full speed 100 bridge-group 21 !-- 该命令将路由接口转换成桥接接口 ![]() ... ![]() ip address 10.1.22.2 255.255.255.0 no ip directed-broadcast ... ![]() !-- 该逻辑接口用于路由桥接接口所接受到 ![]() ip address 10.1.21.2 255.255.255.0 no ip directed-broadcast no ip route-cache cef ! router rip network 10.0.0.0 ! bridge 21 protocol ieee !-- 该命令在此交换路由上激活桥接 ![]() bridge 21 route ip !-- 该命令在接口21上激活路由 ![]() 检验 IP上行链路重定向功能尚未启动 ![]() Cat2948G-L3#show ip uplink IP Uplink Redirect Configuration: Running Configuration : no ip uplink-redirect !-- 未激活IP上行链路重新定向功能 ![]() Configuration on next reload : no ip uplink-redirect 该结构中对配置IP上行链路重定向 ![]() Cat2948G-L3#configure t Enter configuration commands, one per line. End with CNTL/Z. Cat2948G-L3(config)#ip uplink-redirect !-- 此全局配置命令激活IP上行链路重新定向功能 ![]() !-- 但必须在重新加载后才能生效 ![]() Please save configuration and reload for this command to take effect Cat2948G-L3#show ip uplink IP Uplink Redirect Configuration: Running Configuration : no ip uplink-redirect Configuration on next reload : ip uplink-redirect !-- 该功能被激活 ![]() ![]() Cat2948G-L3#reload ![]() ![]() Building configuration... [OK] Proceed with reload? [confirm] After reload: Cat2948G-L3#show ip uplink IP Uplink Redirect Configuration: Running Configuration : ip uplink-redirect !-- T激活IP上行链路重新定向功能. Configuration on next reload : ip uplink-redirect 为了在Cat2948G - L3上完成IP上行链路重定向配置 ![]() ![]() ![]() ![]() 在本例中 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Cat2948G-L3(config)#ip route 0.0.0.0 0.0.0.0 10.1.22.1 路由器中 ![]() 路由器配置 router#show run ... ![]() ip address 10.1.22.1 255.255.255.0 no ip directed-broadcast ... router rip network 10.0.0.0 路由器中 ![]() router#show ip route Codes: C - connected, S - ![]() D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF ![]() N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user ![]() Gateway of last resort is not ![]() 10.0.0.0/24 is subnetted, 3 subnets R 10.1.20.0 [120/1] via 10.1.22.2, 00:00:21, GigabitEthernet49 R 10.1.21.0 [120/1] via 10.1.22.2, 00:00:21, GigabitEthernet49 C 10.1.22.0 is directly connected, GigabitEthernet49 router# 警告:如果上流路由器有 ![]() ![]() ![]() ![]() ![]() 通过BVI21/路由器/gig来确保station_A和station_B的间 ![]() ![]() ![]() station_A#traceroute 10.1.21.1 Type escape sequence to abort. Tracing the route to 10.1.21.1 1 10.1.20.2 0 msec 0 msec 3 msec 2 10.1.22.1 0 msec 0 msec 3 msec 3 10.1.22.2 2 msec 0 msec 2 msec 4 10.1.21.1 3 msec 3 msec * station_A# 在本例中 ![]() ![]() ![]() ![]() ![]() ![]() ![]() 如果有需要 ![]() ![]() ![]() ![]() ![]() ![]() ![]() Cat2948G-L3#show run ... ![]() ip address 10.1.22.2 255.255.255.0 ip access-group 1 in no ip directed-broadcast ... access-list 1 deny 10.1.20.1 access-list 1 permit any station_A#traceroute 10.1.21.1 Type escape sequence to abort. Tracing the route to 10.1.21.1 1 10.1.20.2 3 msec 0 msec 2 msec 2 10.1.22.1 0 msec 0 msec 3 msec 3 * * * 4 * * * 5 * * 0
相关文章
读者评论
发表评论 |