IT 이것저것

[cisco/명령어] 스위치에서 애그리게이션 포트들 하나의 vlan으로 묶기

2것저것 2022. 7. 4. 09:18
728x90
반응형
728x90

이더채널, vlan 설정

 

ten1/1/1, 1/1/2 포트 vlan 132로 설정 후 이더채널(포트채널) Port-channel 1로 묶기

CISCO_SW(config)#$interface range tenGigabitEthernet 1/1/1, tenGigabitEthernet 1/1/2
CISCO_SW(config-if-range)#switchport mode access
CISCO_SW(config-if-range)#switchport access vlan 132
% Access VLAN does not exist. Creating vlan 132
CISCO_SW(config-if-range)#channel-group 1 mode passive
Creating a port-channel interface Port-channel 1

 

ten1/1/3, 1/1/4 포트 vlan 132로 설정 후 이더채널(포트채널) Port-channel 2로 묶기

CISCO_SW(config)#$interface range tenGigabitEthernet 1/1/3, tenGigabitEthernet 1/1/4
CISCO_SW(config-if-range)#switchport mode access
CISCO_SW(config-if-range)#switchport access vlan 132
CISCO_SW(config-if-range)#channel-group 2 mode passive
Creating a port-channel interface Port-channel 2

 

 

 

설정 확인

 

이더채널(포트채널) 설정 확인

-> show etherchannel summary

CISCO_SW#show etherchannel summary
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator

        M - not in use, minimum links not met
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port

        A - formed by Auto LAG


Number of channel-groups in use: 2
Number of aggregators:           2

Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
1      Po1(SU)         LACP      Te1/1/1(P)  Te1/1/2(P)
2      Po2(SU)         LACP      Te1/1/3(P)  Te1/1/4(P)

 

vlan 설정 확인

-> show vlan

CISCO_SW#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Te1/0/1, Te1/0/2, Te1/0/5, Te1/0/6, Te1/0/7, Te1/0/8, Te1/0/9, Te1/0/10, Te1/0/13, Te1/0/14, Te1/0/15, Te1/0/16, Te1/0/17, Te1/0/18, Te1/0/19, Te1/0/20, Te1/0/23, Te1/0/24, Te1/1/7, Te1/1/8
132  VLAN0132                         active    Po1, Po2
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

 

728x90
반응형