show vlan
configure terminal 進入全局配置模式
interface x/x/x-x/x/x 選擇設定要調整的PORT號
vlan access (VLAN號) 指定VLAN
end 結束
write memory 將設定寫入
configure terminal
interface x/x/x-x/x/x
show running-config current-context 查看各PORT設定
新SWITCH設定
config t
vsf member 1
link 1 1/1/25
link 2 1/1/26
exit
vsf renumber-to ? ?=堆疊第幾台
show vsf topology
==============================
show vlan
configure terminal
interface 3/1/1
vlan access 112 or 103
end
write memory
==============================
configure terminal
interface 3/1/1
no power-over-ethernet
or
power-over-ethernet
vlan access 134
interface 2/1/3-2/1/21
show ip route
Aruba6200F-3F-03# show ip route
Displaying ipv4 routes selected for forwarding
'[x/y]' denotes [distance/metric]
0.0.0.0/0, vrf default
via 172.16.101.254, [1/0], static
172.16.101.0/24, vrf default
via vlan101, [0/0], connected
172.16.101.71/32, vrf default
via vlan101, [0/0], local
Record:
Aruba6200F-6F-01# configure terminal
Aruba6200F-6F-01(config)# interface 4/1/2-4/1/24
Aruba6200F-6F-01(config-if-<4/1/2-4/1/24>)# vlan access 116
Aruba6200F-6F-01(config-if-<4/1/2-4/1/24>)# end
Aruba6200F-6F-01# interface 5/1/1-5/1/23
Invalid input: interface
Aruba6200F-6F-01# vlan access 136
Invalid input: vlan
Aruba6200F-6F-01# configure terminal
Aruba6200F-6F-01(config)# interface 5/1/1-5/1/23
Aruba6200F-6F-01(config-if-<5/1/1-5/1/23>)# vlan access 136
Aruba6200F-6F-01(config-if-<5/1/1-5/1/23>)# exit
Aruba6200F-6F-01(config)# interface 5/1/24
Aruba6200F-6F-01(config-if)# vlan access 105
Aruba6200F-6F-01(config-if)# exit
Aruba6200F-6F-01(config)# interface 4/1/1
Aruba6200F-6F-01(config-if)# vlan access 105
Aruba6200F-6F-01(config-if)# end
Aruba6200F-6F-01# write memory
Copying configuration: [Success]
沒有留言:
張貼留言