close
SW4#config t
Enter configuration commands, one per line. End with CNTL/Z.
SW4(config)#interface range gigabitethernet 2/1 - 48
SW4(config-if-range)#switchport mode access
SW4(config-if-range)#switchport access vlan 140
SW4(config-if-range)#end
SW4#

SW4#show vlan

VLAN Name               Status  Ports
---- -------------------------------- --------- -------------------------------
1  default             active
140 VLAN0140             active  Gi2/1, Gi2/2, Gi2/3, Gi2/4
                        Gi2/5, Gi2/6, Gi2/7, Gi2/8
                        Gi2/9, Gi2/10, Gi2/11, Gi2/12
                        Gi2/13, Gi2/14, Gi2/15, Gi2/16
                        Gi2/17, Gi2/18, Gi2/19, Gi2/20
                        Gi2/21, Gi2/22, Gi2/23, Gi2/24
                        Gi2/25, Gi2/26, Gi2/27, Gi2/28
                        Gi2/29, Gi2/30, Gi2/31, Gi2/32
                        Gi2/33, Gi2/34, Gi2/35, Gi2/36
                        Gi2/37, Gi2/38, Gi2/39, Gi2/40
                        Gi2/41, Gi2/42, Gi2/43, Gi2/44
                        Gi2/45, Gi2/46, Gi2/47, Gi2/48
!output truncated
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 里歐 的頭像
    里歐

    里歐's 布拉格

    里歐 發表在 痞客邦 留言(0) 人氣()