ps
2002-01-31, 11:18 AM
各位先進
網路上有人說 可以將 CISIO 29 系列的兩個 PORT 的頻寬合併
是真的嗎?
如果是真的,我要怎麼設呢?還是有什麼特別的條件下才可以做到?
贊助商連結
網路上有人說 可以將 CISIO 29 系列的兩個 PORT 的頻寬合併
是真的嗎?
如果是真的,我要怎麼設呢?還是有什麼特別的條件下才可以做到?
贊助商連結
贊助商連結 ps 2002-01-31, 11:18 AM 各位先進 網路上有人說 可以將 CISIO 29 系列的兩個 PORT 的頻寬合併 是真的嗎? 如果是真的,我要怎麼設呢?還是有什麼特別的條件下才可以做到? 贊助商連結 hsyah 2002-02-02, 07:35 PM http://www.cisco.com/warp/public/473/29-30b.gif 29.html#e1-configs Configuring the ISL Trunks Between Switches There are three ISL trunks in this example. Two are configured on EtherChannels and one is configured on a single physical interface. Configuring trunking on the Catalyst 2948G-L3 requires adding subinterfaces under the main interface, one subinterface for each VLAN transmitted on the trunk. In this example, the VLAN 1 subinterfaces are bridged together to form a single Layer 2 domain for switch management (using IP subnet 10.1.1.0/24). The remaining VLANs (VLANs 10, 20, 30, and 100) are terminated at the Catalyst 2948G-L3 routed subinterfaces. On the Catalyst 2948G-L3: 2948G-L3#configure terminal Enter configuration commands, one per line. End with CNTL/Z. 2948G-L3(config)#interface port-channel 1.1 2948G-L3(config-subif)#encapsulation isl 1 2948G-L3(config-subif)#bridge-group 1 2948G-L3(config-subif)#exit 2948G-L3(config)#interface port-channel 1.100 2948G-L3(config-subif)#encapsulation isl 100 2948G-L3(config-subif)#ip address 10.100.100.1 255.255.255.0 2948G-L3(config-subif)#exit 2948G-L3(config)#interface port-channel 2.1 2948G-L3(config-subif)#encapsulation isl 1 2948G-L3(config-subif)#bridge-group 1 2948G-L3(config-subif)#exit 2948G-L3(config)#interface port-channel 2.10 2948G-L3(config-subif)#encapsulation isl 10 2948G-L3(config-subif)#ip address 10.10.10.1 255.255.255.0 2948G-L3(config-subif)#exit 2948G-L3(config)#interface port-channel 2.20 2948G-L3(config-subif)#encapsulation isl 20 2948G-L3(config-subif)#ip address 10.20.20.1 255.255.255.0 2948G-L3(config-subif)#exit 2948G-L3(config)#interface fast 44 2948G-L3(config-if)#no shutdown 2948G-L3(config-if)#exit 2948G-L3(config)#interface fast 44.1 2948G-L3(config-subif)#encapsulation isl 1 2948G-L3(config-subif)#bridge-group 1 2948G-L3(config-subif)#exit 2948G-L3(config)#interface fast 44.30 2948G-L3(config-subif)#encapsulation isl 30 2948G-L3(config-subif)#ip address 10.30.30.1 255.255.255.0 2948G-L3(config-subif)#^Z 2948G-L3# Notes: The encapsulation isl vlan command specifies the encapsulation type (ISL) and the VLAN to receive on the subinterface Notice that the VLAN 1 subinterfaces are not assigned an IP address but are instead added to bridge-group 1, allowing VLAN 1 to span all switches You can verify the configuration using the show interface command. For example, use the show interface fast 44.30 to verify the VLAN 30 subinterface configuration: 2948G-L3#show interface fast 44.30 FastEthernet44.30 is up, line protocol is up Hardware is epif_port, address is 0030.40d6.4032 (bia 0030.40d6.4032) Internet address is 10.30.30.1/24 MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, rely 255/255, load 1/255 Encapsulation ISL Virtual LAN, Color 30. ARP type: ARPA, ARP Timeout 04:00:00 2948G-L3# On the Catalyst 3512XL: 3512XL#configure terminal Enter configuration commands, one per line. End with CNTL/Z. 3512XL(config)#interface gig 0/1 3512XL(config-if)#switchport mode trunk 3512XL(config-if)#^Z 3512XL# Notes: Notice that the configuration is applied to a single interface in the channel group -- any configuration applied to one interface in the port group is applied to the other interface(s) in the group automatically, and appears in the configuration for each interface The switchport mode trunk command configures the interface as a trunk port The 2900XL and 3500XL switches use ISL encapsulation by default when you enable trunking, so there is no need to specify the encapsulation in this case You can verify the configuration using the show interface switchport command: 3512XL#show interface gig 0/1 switchport Name: Gi0/1 Switchport: Enabled Administrative mode: trunk Operational Mode: trunk Administrative Trunking Encapsulation: isl Operational Trunking Encapsulation: isl Negotiation of Trunking: Disabled Access Mode VLAN: 0 ((Inactive)) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: ALL Trunking VLANs Active: 1,100 Pruning VLANs Enabled: NONE Priority for untagged frames: 0 3512XL# On the Catalyst 3548XL: 3548XL#configure terminal Enter configuration commands, one per line. End with CNTL/Z. 3548XL(config)#interface fast 0/48 3548XL(config-if)#switchport mode trunk 3548XL(config-if)#^Z 3548XL# You can verify the configuration using the show interface switchport command. On the Catalyst 2924XL: 2924XL#configure terminal Enter configuration commands, one per line. End with CNTL/Z. 2924XL(config)#interface fast 0/24 2924XL(config-if)#switchport mode trunk 2924XL(config-if)#^Z 2924XL# You can verify the configuration using the show interface switchport command. Configuring End-Station Ports Now, ports on the Catalyst 3512XL, 3548XL, and 2924XL switches are assigned to VLANs and spanning-tree portfast is enabled. On the Catalyst 3512XL: 3512XL#configure terminal Enter configuration commands, one per line. End with CNTL/Z. 3512XL(config)#interface fast 0/1 3512XL(config-if)#switchport access vlan 100 3512XL(config-if)#spanning-tree portfast 3512XL(config-if)#exit 3512XL(config)#interface fast 0/2 3512XL(config-if)#switchport access vlan 100 3512XL(config-if)#spanning-tree portfast . . . 3512XL(config)#interface fast 0/12 3512XL(config-if)#switchport access vlan 100 3512XL(config-if)#spanning-tree portfast 3512XL(config-if)#^Z 3512XL# You can verify the configuration using the show interface switchport command and the show spanning-tree interface command: 3512XL#show interface fast 0/1 switchport Name: Fa0/1 Switchport: Enabled Administrative mode: static access Operational Mode: static access Administrative Trunking Encapsulation: isl Operational Trunking Encapsulation: isl Negotiation of Trunking: Disabled Access Mode VLAN: 100 (Server-Farm) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: NONE Pruning VLANs Enabled: NONE Priority for untagged frames: 0 3512XL#show spanning-tree interface fast 0/1 Interface Fa0/1 (port 13) in Spanning tree 100 is FORWARDING Port path cost 100, Port priority 128 Designated root has priority 32768, address 00d0.5868.eb81 Designated bridge has priority 32768, address 00d0.5868.eb81 Designated port is 13, path cost 0 Timers: message age 0, forward delay 0, hold 0 BPDU: sent 0, received 0 The port is in the portfast mode 3512XL# On the Catalyst 3548XL: 3548XL#configure terminal Enter configuration commands, one per line. End with CNTL/Z. 3548XL(config)#interface fast 0/1 3548XL(config-if)#switchport access vlan 10 3548XL(config-if)#spanning-tree portfast . . . 3548XL(config)#interface fast 0/24 3548XL(config-if)#switchport access vlan 10 3548XL(config-if)#spanning-tree portfast 3548XL(config-if)#exit 3548XL(config)#interface fast 0/25 3548XL(config-if)#switchport access vlan 20 3548XL(config-if)#spanning-tree portfast . . . 3548XL(config)#interface fast 0/44 3548XL(config-if)#switchport access vlan 20 3548XL(config-if)#spanning-tree portfast 3548XL(config-if)#^Z 3548XL# You can verify the configuration using the show interface switchport command and the show spanning-tree interface command. On the Catalyst 2924XL: 2924XL#configure terminal Enter configuration commands, one per line. End with CNTL/Z. 2924XL(config)#interface fast 0/1 2924XL(config-if)#switchport access vlan 30 2924XL(config-if)#spanning-tree portfast . . . 2924XL(config)#interface fast 0/23 2924XL(config-if)#switchport access vlan 30 2924XL(config-if)#spanning-tree portfast 3548XL(config-if)#^Z 3548XL# You can verify the configuration using the show interface switchport command and the show spanning-tree interface command. ps 2002-02-04, 09:53 AM 哇!! 謝謝 hsyah 寫的這麼詳細 感謝感謝 ps 2002-02-06, 10:08 AM hsyah 再請教一個問題 上面的設定都是 switch to switch 2924 可以對 server 作 trunking 嗎? 如果可以那 server 的網卡有什麼條件嗎? (像網卡一定要在同一台server嗎?或是要用intel的server網卡才可以?) 謝謝 randy927 2003-08-08, 12:55 PM 最初由 ps 發表 hsyah 再請教一個問題 上面的設定都是 switch to switch 2924 可以對 server 作 trunking 嗎? 如果可以那 server 的網卡有什麼條件嗎? (像網卡一定要在同一台server嗎?或是要用intel的server網卡才可以?) 謝謝 switch合併頻寬的技術是eathernet channel:pagp(cisco) lacp(802.3ab) 要做trunking的那台server的網卡要support:802.1Q(IEEE) or ISL(cisco) |
|