Unsolved
1 Rookie
•
11 Posts
0
52
October 15th, 2024 12:10
N2048 vlan setting commands
I have two questions about the n2048 switch commands.
①
If I want to change a port that is already set as an access port for vlan10 to an access port for vlan50, is it correct that the vlan will be overwritten if I enter the command as shown below?
Also, do I need to enter switchport mode access again?
Currently
switchport access vlan 10
↓
Enter the following command to change it
switchport access vlan 50
②
I would like to know if there is a command to change the terminal speed on the CLI.
No Events found!
yusukennn
1 Rookie
•
11 Posts
0
October 15th, 2024 17:45
n2048スイッチのコマンドについて、2点質問させていただきたいです。
①
既にvlan10のアクセスポートで設定されているポートをvlan50のアクセスポートに変更する場合、以下の通りコマンドを入れればvlanは上書きされる認識で間違い無いでしょうか。
また、switchport mode access を再度入れる必要がありますでしょうか?
DELL-Charles R
Moderator
•
4.4K Posts
0
October 15th, 2024 18:42
Hello,
On question 1, you can directly put the whole line “switchport access vlan 50” , you do not have to do again “switchport mode access”, it is there by default and does not show. You can view the mode if you do “show interface status” in column M.
Here is example from the lab to change to access vlan 50:
console(config)#interface Gi1/0/2
console(config-if-Gi1/0/2)#switchport mode access
console(config-if-Gi1/0/2)#switchport access vlan 10
console(config-if-Gi1/0/2)#end
console#show running-config interface gi1/0/2
switchport access vlan 10
console#conf
console(config)#interface gi1/0/2
console(config-if-Gi1/0/2)#switchport access vlan 50
console(config-if-Gi1/0/2)#end
console#show running-config interface gi1/0/2
switchport access vlan 50
console#
On question 2, to change the terminal speed :
console(config)# line console 0
console(config-line)# speed <desired_speed, for example 115200>