system-view
# 开启上网行为管理全局功能
acg enable
# 把内网VLAN接口加入trust安全域(必须)
security-zone name Trust
import interface Vlan-interface 10
# 外网口加入untrust域
security-zone name Untrust
import interface GigabitEthernet 0/0/0 # 你的WAN口
save
# 1. 二层聚合
interface Bridge-Aggregation 1
link-aggregation mode static
port link-type trunk
port trunk allow-pass vlan 10
interface GigabitEthernet 0/0/1
port link-type trunk
port trunk allow-pass vlan 10
stp disable
port link-aggregation group 1
interface GigabitEthernet 0/0/2
port link-type trunk
port trunk allow-pass vlan 10
stp disable
port link-aggregation group 1
# 2. 三层VLAN接口(内网网关)
interface Vlan-interface 10
ip address 192.168.10.1 255.255.255.0
# 3. WAN口
interface GigabitEthernet 0/0/0
ip address 222.xx.xx.xx 255.255.255.0
nat outbound
# 4. 安全域(必须,ACG依赖)
security-zone name Trust
import interface Vlan-interface 10
security-zone name Untrust
import interface GigabitEthernet 0/0/0
# 5. 开启上网行为管理
acg enable
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论