cisco交换机怎么将新建vlan(例如vlan100)设置为管理vlan

2024-11-18 11:18:52
推荐回答(4个)
回答(1):

vlan 100
int vlan 100
ip ad 192.168.1.2/24
ex
telnet/ssh enable
username xxx password xxx
打开ssh或者telnet服务然后登进去就行,除了该ip其他登不进

回答(2):

那就在每个交换机上面都创建一下,并给ip地址

回答(3):

for example : int vlan 100 = 192.168.1.1 255.255.255.0
Switch#configure terminal
Switch(config)#vlan 100
Switch(config-vlan)#exit
Switch(config)#int vlan 100

%LINK-5-CHANGED: Interface Vlan100, changed state to up
Switch(config-if)#no shut
Switch(config-if)#ip add 192.168.1.1 255.255.255.0
Switch(config-if)#end

%SYS-5-CONFIG_I: Configured from console by console
Switch#

回答(4):

vlan 10
int vlan 10
ip add xxx.xxx.xxx.xxx
no shut

int range f0/1 - f0/24
switchport mode access
switchport access vlan 10