华三交换机ping不通用户但用户_用H3C模拟器做交换机实验,但是终端总是PING不通交换机,求各位高手帮忙!...

基本情况说明:H3C S3026 交换机,一共有8个口。其中HOST A 的IP地址为:10.65.1.1,其与交换机端口3连接;HOST B的IP地址为:

10.65.1.2,其与接口6相连。

交换机配置:

sys

Enter system view, return to user view with Ctrl+Z.

[Quidway]sysname s3026

[s3026]super password 111

[s3026]user-interface vty 0 4

[s3026-ui-vty0-4]authentication-mode password

[s3026-ui-vty0-4]set authentication-mode password

?simple 222

?

save

Save current configuration to flash memory successfully.

[s3026-ui-vty0-4]set authentication-mode password simple 222

[s3026-ui-vty0-4]user privilege 3

[s3026-ui-vty0-4]quit

[s3026]quit

sys

Enter system view, return to user view with Ctrl+Z.

password:11

111

?

111

?

111

?

222

?

sys

Enter system view, return to user view with Ctrl+Z.

password:111

[s3026]display cur fid

#

hostname   s3026

super password 111

#

radius scheme system

server-type huawei

primary authentication 127.0.0.1 1645

primary accounting 127.0.0.1 1646

user-name-format without-domain

domain system

radius-scheme system

access-limit disable

state active

idle-cut disable

domain default enable system

#

local-server nas-ip 127.0.0.1 key huawei

#

vlan 1

ip address

ip route-static (default gateway)

#

interface Aux0/0

#

interface Ethernet0/1

#

#

interface Ethernet0/2

#

#

interface Ethernet0/3

#

#

interface Ethernet0/4

#

#

interface Ethernet0/5

#

#

interface Ethernet0/6

#

#

interface Ethernet0/7

#

#

interface Ethernet0/8

#

#

interface NULL0

#

#

user-interface aux 0

password

user-interface vty 0 4

password 222

login

return

[s3026]user-interface vty 0  4

[s3026-ui-vty0-4]authentication-mode password

[s3026-ui-vty0-4]set authentication-mode password simple 222

[s3026-ui-vty0-4]user privilege lever 3

[s3026-ui-vty0-4]quit

[s3026]quit

sys

Enter system view, return to user view with Ctrl+Z.

password:111

[s3026]dis curr conf

#

hostname   s3026

super password 111

#

radius scheme system

server-type huawei

primary authentication 127.0.0.1 1645

primary accounting 127.0.0.1 1646

user-name-format without-domain

domain system

radius-scheme system

access-limit disable

state active

idle-cut disable

domain default enable system

#

local-server nas-ip 127.0.0.1 key huawei

#

vlan 1

ip address

ip route-static (default gateway)

#

interface Aux0/0

#

interface Ethernet0/1

#

#

interface Ethernet0/2

#

#

interface Ethernet0/3

#

#

interface Ethernet0/4

#

#

interface Ethernet0/5

#

#

interface Ethernet0/6

#

#

interface Ethernet0/7

#

#

interface Ethernet0/8

#

#

interface NULL0

#

#

user-interface aux 0

password

user-interface vty 0 4

password 222

login

return

[s3026]vlan 2

[s3026-vlan2]port e0/2

[s3026-vlan2]port e0/4 to e0/6

[s3026-vlan2]quit

[s3026]dis vlan

Vlan  Name Status  Ports

--------  --------  ----------  ------------------------

2      Vlan02  Active  F0/2, F0/4, F0/5, F0/6

1002  fddi-d  Active

1004  fnet-d  Active

VLAN Type  SAID        MTU

--------  -------  --------------  --------

1        enet  100001    1500

1002  fddi   101002    1500

1002  fnet   101003    1500

[s3026]int e0/3

[s3026-Ethernet0/3]port access vlan 2

[s3026-Ethernet0/3]quit

[s3026]quit

sys

Enter system view, return to user view with Ctrl+Z.

password:111

[s3026]dis curr conf

#

hostname   s3026

super password 111

#

radius scheme system

server-type huawei

primary authentication 127.0.0.1 1645

primary accounting 127.0.0.1 1646

user-name-format without-domain

domain system

radius-scheme system

access-limit disable

state active

idle-cut disable

domain default enable system

#

local-server nas-ip 127.0.0.1 key huawei

#

vlan 1

ip address

ip route-static (default gateway)

#

interface Aux0/0

#

interface Ethernet0/1

#

#

interface Ethernet0/2

vlan :2

#

interface Ethernet0/3

vlan :2

#

interface Ethernet0/4

vlan :2

#

interface Ethernet0/5

vlan :2

#

interface Ethernet0/6

vlan :2

#

interface Ethernet0/7

#

#

interface Ethernet0/8

#

#

interface NULL0

#

#

user-interface aux 0

password

user-interface vty 0 4

password 222

login

return

[s3026]interface vlan 1

[s3026-Vlan-interface1]ip add 10.65.1.8 255.255.0.0

[s3026-Vlan-interface1]quit

[s3026]ip route-static 0.0.0.0  0.0.0.0 10.65.1.2

[s3026]ip default-gateway 10.65.1.2

[s3026]dis curr

#

hostname   s3026

super password 111

#

radius scheme system

server-type huawei

primary authentication 127.0.0.1 1645

primary accounting 127.0.0.1 1646

user-name-format without-domain

domain system

radius-scheme system

access-limit disable

state active

idle-cut disable

domain default enable system

#

local-server nas-ip 127.0.0.1 key huawei

#

vlan 1

ip address 10.65.1.8 255.255.0.0

ip route-static (default gateway) 10.65.1.2

#

interface Aux0/0

#

interface Ethernet0/1

#

#

interface Ethernet0/2

vlan :2

#

interface Ethernet0/3

vlan :2

#

interface Ethernet0/4

vlan :2

#

interface Ethernet0/5

vlan :2

#

interface Ethernet0/6

vlan :2

#

interface Ethernet0/7

#

#

interface Ethernet0/8

#

#

interface NULL0

#

#

user-interface aux 0

password

user-interface vty 0 4

password 222

login

return

[s3026]save

Save current configuration to flash memory successfully.

[s3026]

[s3026]

[s3026]

[s3026]

[s3026]

[s3026]quit

quit

[s3026]quit

终端配置:

Red Hat Linux release 7.3 (Valhalla)

Kernel 2.4.18-3 on an i686

PCA login: root

password: linux

[root@PCA root]# ifconfig etn 0 10.65.1.1 netmask 255.255.0.0

?

[root@PCA root]# ifconfig

eth0      inet addr: 10.65.1.1   mask: 255.255.0.0

loopback inet addr: 127.0.0.1   mask: 255.0.0.0

[root@PCA root]# route add default gw 10.65.1.2

[root@PCA root]# route

default gateway: 10.65.1.2

[root@PCA root]# ping 10.65.1.2

From 10.65.1.1 icmp_seq=1 Destination Host Unreachable

From 10.65.1.1 icmp_seq=1 Destination Host Unreachable

From 10.65.1.1 icmp_seq=1 Destination Host Unreachable

From 10.65.1.1 icmp_seq=1 Destination Host Unreachable

4packets transmitted, 0 received, 100% loss, time 2000ms

[root@PCA root]# ping 10.65.1.8

From 10.65.1.1 icmp_seq=1 Destination Host Unreachable

From 10.65.1.1 icmp_seq=1 Destination Host Unreachable

From 10.65.1.1 icmp_seq=1 Destination Host Unreachable

From 10.65.1.1 icmp_seq=1 Destination Host Unreachable

4packets transmitted, 0 received, 100% loss, time 2000ms

[root@PCA root]# telnet 10.65.1.8if10.65.1.1

connect error!

[root@PCA root]#

你可能感兴趣的:(华三交换机ping不通用户但用户_用H3C模拟器做交换机实验,但是终端总是PING不通交换机,求各位高手帮忙!...)