核心交换机:
acl advanced 3000
rule 0 deny ip source 172.17.8.0 0.0.0.255 destination 172.17.0.0 0.0.7.255
int vlan 1701
packet-filter 3000 inbound
接入交换机3:
ping 172.17.1.253
56 bytes from 172.17.1.253: icmp_seq=0 ttl=254 time=1.000 ms
56 bytes from 172.17.1.253: icmp_seq=1 ttl=254 time=1.000 ms
56 bytes from 172.17.1.253: icmp_seq=2 ttl=254 time=2.000 ms
56 bytes from 172.17.1.253: icmp_seq=3 ttl=254 time=1.000 ms
56 bytes from 172.17.1.253: icmp_seq=4 ttl=254 time=1.000 ms
是我写的哪里不对吗?网络小白发问求解答。
核心交换机:
VLAN:1701,1704,1708
VLANIF:172.17.1.254/24,172.17.4.254/24,172.17.8.254/24
接口:G1/0/1,G1/0/2,G1/0/3均为trunk all
接入交换机1:
VLAN:1701
VLANIF:172.17.1.253/24
接口:G1/0/1为trunk all
ip route-static 0.0.0.0 0 172.17.1.254
接入交换机2:
VLAN:1704
VLANIF:172.17.4.253/24
接口:G1/0/1为trunk all
ip route-static 0.0.0.0 0 172.17.4.254
接入交换机3:
VLAN:1708
VLANIF:172.17.8.253/24
接口:G1/0/1为trunk all
ip route-static 0.0.0.0 0 172.17.8.254
(0)
应用到互联接口尝试
(0)
核心交换机: [H3C-GigabitEthernet1/0/1]d th # interface GigabitEthernet1/0/1 port link-mode bridge port link-type trunk port trunk permit vlan all combo enable fiber packet-filter 3000 inbound 接入交换机3: ping 172.17.1.253 Ping 172.17.1.253 (172.17.1.253): 56 data bytes, press CTRL_C to break 56 bytes from 172.17.1.253: icmp_seq=0 ttl=254 time=1.000 ms 56 bytes from 172.17.1.253: icmp_seq=1 ttl=254 time=1.000 ms 56 bytes from 172.17.1.253: icmp_seq=2 ttl=254 time=1.000 ms 56 bytes from 172.17.1.253: icmp_seq=3 ttl=254 time=1.000 ms 56 bytes from 172.17.1.253: icmp_seq=4 ttl=254 time=1.000 ms
核心交换机:
[H3C-GigabitEthernet1/0/1]d th
#
interface GigabitEthernet1/0/1
port link-mode bridge
port link-type trunk
port trunk permit vlan all
combo enable fiber
packet-filter 3000 inbound
接入交换机3:
ping 172.17.1.253
Ping 172.17.1.253 (172.17.1.253): 56 data bytes, press CTRL_C to break
56 bytes from 172.17.1.253: icmp_seq=0 ttl=254 time=1.000 ms
56 bytes from 172.17.1.253: icmp_seq=1 ttl=254 time=1.000 ms
56 bytes from 172.17.1.253: icmp_seq=2 ttl=254 time=1.000 ms
56 bytes from 172.17.1.253: icmp_seq=3 ttl=254 time=1.000 ms
56 bytes from 172.17.1.253: icmp_seq=4 ttl=254 time=1.000 ms
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
核心交换机: [H3C-GigabitEthernet1/0/1]d th # interface GigabitEthernet1/0/1 port link-mode bridge port link-type trunk port trunk permit vlan all combo enable fiber packet-filter 3000 inbound 接入交换机3: ping 172.17.1.253 Ping 172.17.1.253 (172.17.1.253): 56 data bytes, press CTRL_C to break 56 bytes from 172.17.1.253: icmp_seq=0 ttl=254 time=1.000 ms 56 bytes from 172.17.1.253: icmp_seq=1 ttl=254 time=1.000 ms 56 bytes from 172.17.1.253: icmp_seq=2 ttl=254 time=1.000 ms 56 bytes from 172.17.1.253: icmp_seq=3 ttl=254 time=1.000 ms 56 bytes from 172.17.1.253: icmp_seq=4 ttl=254 time=1.000 ms