Vlanif20,ip192.168.200.27 ,1-23端口都在vlan200,24口trunk 2-4028 ,已经开了telnet,和web 。客户端怎么访问不了交换机??已经设置同个ip端
(0)
sysname S5130-XY-HJ-DN1-01 [S5130-XY-HJ-DN1-01]# [S5130-XY-HJ-DN1-01] telnet server enable [S5130-XY-HJ-DN1-01]# [S5130-XY-HJ-DN1-01] irf mac-address persistent timer [S5130-XY-HJ-DN1-01] irf auto-update enable [S5130-XY-HJ-DN1-01] undo irf link-delay [S5130-XY-HJ-DN1-01] irf member 1 priority 1 [S5130-XY-HJ-DN1-01]# [S5130-XY-HJ-DN1-01] ip unreachables enable [S5130-XY-HJ-DN1-01] ip ttl-expires enable [S5130-XY-HJ-DN1-01]# [S5130-XY-HJ-DN1-01] lldp global enable [S5130-XY-HJ-DN1-01]# [S5130-XY-HJ-DN1-01] loopback-detection global enable vlan 2 to 4093 [S5130-XY-HJ-DN1-01] loopback-detection global action shutdown [S5130-XY-HJ-DN1-01] loopback-detection interval-time 35 [S5130-XY-HJ-DN1-01]# [S5130-XY-HJ-DN1-01] password-recovery enable [S5130-XY-HJ-DN1-01]# [S5130-XY-HJ-DN1-01]vlan 1 [S5130-XY-HJ-DN1-01-vlan1]# [S5130-XY-HJ-DN1-01-vlan1]vlan 20 [S5130-XY-HJ-DN1-01-vlan20] description SW-Management [S5130-XY-HJ-DN1-01-vlan20]# [S5130-XY-HJ-DN1-01-vlan20]vlan 21 to 26 [S5130-XY-HJ-DN1-01]# [S5130-XY-HJ-DN1-01]vlan 200 [S5130-XY-HJ-DN1-01-vlan200] description XY [S5130-XY-HJ-DN1-01-vlan200]# [S5130-XY-HJ-DN1-01-vlan200] stp bpdu-protection [S5130-XY-HJ-DN1-01] stp global enable [S5130-XY-HJ-DN1-01]# [S5130-XY-HJ-DN1-01]interface NULL0 [S5130-XY-HJ-DN1-01-NULL0]# [S5130-XY-HJ-DN1-01-NULL0]interface Vlan-interface20 [S5130-XY-HJ-DN1-01-Vlan-interface20] description SW-Management [S5130-XY-HJ-DN1-01-Vlan-interface20] ip address 192.168.200.27 255.255.255.0 interface GigabitEthernet1/0/23 port access vlan 200 stp edged-port # interface GigabitEthernet1/0/24 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 2 to 4094 # interface Ten-GigabitEthernet1/0/25 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 2 to 4094 # interface Ten-GigabitEthernet1/0/26 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 2 to 4094 # interface Ten-GigabitEthernet1/0/27 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 2 to 4094 # interface Ten-GigabitEthernet1/0/28 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 2 to 4094 # scheduler logfile size 16 # line class aux user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin line vty 0 4 authentication-mode scheme user-role network-operator # line vty 5 63 user-role network-operator # ip route-static 0.0.0.0 0 192.168.200.1 # radius scheme system user-name-format without-domain # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # user-group system # local-user admin class manage password hash service-type telnet authorization-attribute user-role level-15 authorization-attribute user-role network-operator # ip http enable #
(0)
暂无评论
名侦探毛利小五郎提醒您,配置配错了。
ip地址应该写在int vlan 200下,你写到int vlan 20里去了。
可以把ip改给int vlan 200,或者把接口划成vlan 20。
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论