понедельник, 29 октября 2012 г.

Cisco MDS9000 Switch - Port-Channel+Trunking Eport



Агрегация 2х портов и запуск по этому каналу тегированного трафика.

Вводные:


Switch 1:
   Channel Group 2
   Interfaces: fc1/1 and fc2/1
Switch 2:
   Channel Group 2
   Interfaces: fc1/1 and fc2/1
Allowed VSANs: 10



Настройка: 


Step 1 Create the PortChannel on switch 1.
           switch1# config terminal
           Enter configuration commands, one per line. End with CNTL/Z.
           switch1(config)# interface fc1/1, fc2/1
           switch1(config-if)# channel-group 2
           fc1/1 fc2/1 added to port-channel 2 and disabled
           please do the same operation on the switch at the other end of the port-channel,
           then do "no shutdown" at both ends to bring them up
           switch1(config-if)# switchport description "To switch2 PortChannel2"


Step 2 Enable trunking (TE) and set the VSAN allowed list on switch 1.
           switch1# config terminal
           switch1(config)# int port-channel 2
           switch1(config-if)# switchport trunk mode on
           switch1(config-if)# switchport trunk allowed vsan 1
           switch1(config-if)# switchport trunk allowed vsan add 10

Step 3 Create the PortChannel and set the description on switch 2.
           switch2# config terminal
           Enter configuration commands, one per line. End with CNTL/Z.
           switch2(config)# interface fc1/1, fc2/1
           switch2(config-if)# channel-group 2
           fc1/1 fc2/1 added to port-channel 2 and disabled
           please do the same operation on the switch at the other end of the port-channel,
           then do "no shutdown" at both ends to bring them up
           switch2(config-if)# switchport description "To switch1 PortChannel2"

Step 4 Enable trunking (TE) and set the VSAN allowed list on switch 2.
           switch2# config terminal
           switch2(config)# int port-channel 2
           switch2(config-if)# switchport trunk mode on
           switch2(config-if)# switchport trunk allowed vsan 1
           switch2(config-if)# switchport trunk allowed vsan add 10

Step 5 Enable the interfaces to bring up the PortChannel.
           a. Switch 1
           switch1# config terminal
           Enter configuration commands, one per line. End with CNTL/Z.
           switch1(config)# interface fc1/1, fc2/1
           switch1(config-if)# no shut
           b. Switch 2
           switch2# config terminal
           Enter configuration commands, one per line. End with CNTL/Z.
           switch2(config)# interface fc1/1, fc2/1
           switch2(config-if)# no shut

Step 6 Verify that the PortChannel came up.
           switch1# show interface port-channel 2
           port-channel 2 is trunking
           Port description is To switch2 PortChannel2
           Hardware is Fibre Channel
           Port WWN is 24:02:00:0c:85:e9:d2:c0
           Admin port mode is E, trunk mode is on
           ort mode is TE
           Port vsan is 1
           Speed is 4 Gbps
           Trunk vsans (admin allowed and active) (1,10)
           Trunk vsans (up) (1,10)
           Trunk vsans (isolated) ()
           Trunk vsans (initializing) ()
           5 minutes input rate 64 bits/sec, 8 bytes/sec, 0 frames/sec
           5 minutes output rate 56 bits/sec, 7 bytes/sec, 0 frames/sec
           78296342 frames input, 72311141128 bytes
           0 discards, 0 errors
           0 CRC, 0 unknown class
           0 too long, 0 too short
           56299070 frames output, 26061293700 bytes
           0 discards, 0 errors


switch1# show interface brief

-------------------------------------------------------------------------------
Interface  Vsan   Admin  Admin   Status          SFP    Oper  Oper   Port
                  Mode   Trunk                          Mode  Speed  Channel
                         Mode                                 (Gbps)
-------------------------------------------------------------------------------

fc1/1     1      auto   on      trunking         swl    TE      4    2
fc1/2     1      auto   on      trunking         swl    TE      4    2

fc1/3      10     auto   on      notConnected     swl    --           --
fc1/4      10     auto   on      notConnected     swl    --           --
fc1/5      10     auto   on      notConnected     swl    --           --
fc1/6      10     auto   on      notConnected     swl    --           --
fc1/7      10     auto   on      notConnected     swl    --           --
fc1/8      10     auto   on      notConnected     swl    --           --
fc1/9      10     auto   on      notConnected     swl    --           --
fc1/10     10     auto   on      notConnected     swl    --           --
fc1/11     10     auto   on      notConnected     swl    --           --
fc1/12     10     auto   on      notConnected     swl    --           --
fc1/13     10     auto   on      notConnected     swl    --           --
fc1/14     10     auto   on      notConnected     swl    --           --
fc1/15     10     auto   on      notConnected     swl    --           --
fc1/16     10     auto   on      notConnected     swl    --           --
fc1/17     10     auto   on      notConnected     swl    --           --
fc1/18     10     auto   on      notConnected     swl    --           --
fc1/19     10     auto   on      notConnected     swl    --           --
fc1/20     10     auto   on      notConnected     swl    --           --
fc1/21     10     auto   on      notConnected     swl    --           --
fc1/22     10     auto   on      notConnected     swl    --           --

fc1/23     10     auto   on      notConnected     swl    --           --
fc1/24     10     auto   on      notConnected     swl    --           --


-------------------------------------------------------------------------------
Interface                Status                            Speed
                                                           (Gbps)
-------------------------------------------------------------------------------
sup-fc0                  up                                1

-------------------------------------------------------------------------------
Interface               Status     IP Address         Speed     MTU
-------------------------------------------------------------------------------
mgmt0                    up         172.16.10.88/16    100 Mbps 1500

-------------------------------------------------------------------------------
Interface             Vsan  Admin  Status        Oper  Oper    IP
                            Trunk                Mode  Speed   Address
                            Mode                       (Gbps)
-------------------------------------------------------------------------------
port-channel 2        1     on     trunking       TE   8       --




Комментариев нет:

Отправить комментарий