两条线路,一条为互联网宽带,三层
互联网1口进,2-5口三层出vlan100(192.168.100.1/24)
一条为专线需要使用Trunk进行透传连接下游交换。vlan200,6-10口
下游交换为s7003,2-10口透传vlan200
该如何设置,请帮忙给出完整实例命令,谢谢
(0)
最佳答案
您好,请知:
以下是参考命令,具体路由设置要看现场需求:
vlan 200
quit
vlan 100
quit
int vlan 100
ip address 192.168.100.1 24
quit
int range gi 1/0/2 to gi 1/0/5
port link-type access
port access vlan 100
quit
int range gi 1/0/6 to gi 1/0/10
port link-type trunk
port trunk permit vlan 200
quiy
[SSL_VPN]security-zone name trust
[SSL_VPN-security-zone-Trust]import interface GigabitEthernet 1/0/6 vlan 200
[SSL_VPN-security-zone-Trust]import interface GigabitEthernet 1/0/7 vlan 200
[SSL_VPN-security-zone-Trust]import interface GigabitEthernet 1/0/8 vlan 200
[SSL_VPN-security-zone-Trust]import interface GigabitEthernet 1/0/9 vlan 200
[SSL_VPN-security-zone-Trust]import interface GigabitEthernet 1/0/10 vlan 200
[SSL_VPN-security-zone-Trust]quit
[SSL_VPN]security-zone name Untrust
[SSL_VPN-security-zone-Untrust]import interface GigabitEthernet 1/0/2 vlan 100
[SSL_VPN-security-zone-Untrust]import interface GigabitEthernet 1/0/3 vlan 100
[SSL_VPN-security-zone-Untrust]import interface GigabitEthernet 1/0/4 vlan 100
[SSL_VPN-security-zone-Untrust]import interface GigabitEthernet 1/0/5 vlan 100
[SSL_VPN-security-zone-Untrust]quit
[SSL_VPN]acl basic 2001
[SSL_VPN-acl-ipv4-basic-2001]rule 0 permit source any
[SSL_VPN-acl-ipv4-basic-2001]quit
[SSL_VPN]
[SSL_VPN]zone-pair security source trust destination untrust
[SSL_VPN-zone-pair-security-Trust-Untrust]packet-filter 2001
[SSL_VPN-zone-pair-security-Trust-Untrust]quit
[SSL_VPN]
[SSL_VPN]zone-pair security source untrust destination trust
[SSL_VPN-zone-pair-security-Untrust-Trust]packet-filter 2001
[SSL_VPN-zone-pair-security-Untrust-Trust]quit
[SSL_VPN]
[SSL_VPN]zone-pair security source trust destination local
[SSL_VPN-zone-pair-security-Trust-Local]packet-filter 2001
[SSL_VPN-zone-pair-security-Trust-Local]quit
[SSL_VPN]
[SSL_VPN]zone-pair security source local destination trust
[SSL_VPN-zone-pair-security-Local-Trust]packet-filter 2001
[SSL_VPN-zone-pair-security-Local-Trust]quit
[SSL_VPN]
[SSL_VPN]zone-pair security source untrust destination local
[SSL_VPN-zone-pair-security-Untrust-Local]packet-filter 2001
[SSL_VPN-zone-pair-security-Untrust-Local]quit
[SSL_VPN]
[SSL_VPN]zone-pair security source local destination untrust
[SSL_VPN-zone-pair-security-Local-Untrust]packet-filter 2001
[SSL_VPN-zone-pair-security-Local-Untrust]quit
[SSL_VPN]
(0)
能否不用vpn?专线有ip段,PC为dhcp获取。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
能否不用vpn?专线有ip段,PC为dhcp获取。