综合实验(五)
原创
©著作权归作者所有:来自51CTO博客作者You0tech的原创作品,请联系作者获取转载授权,否则将追究法律责任
本地云桥接之交换机配置
[SW3]int e0/0/1
[SW3-Ethernet0/0/1]port link-type access
[SW3-Ethernet0/0/1]port default vlan 10
本地云桥接之云配置
测试效果
访问服务器策略配置
[SW1]acl 3000
[SW1-acl-adv-3000]rule 5 permit ip source 192.169.10.0 0.0.0.255 destination 192
.168.200.3 0
[SW1-acl-adv-3000]rule 10 deny ip source any destination 192.168.200.3 0
[SW1-acl-adv-3000]display this
#
acl number 3000
rule 5 permit ip source 192.168.10.0 0.0.0.255 destination 192.168.200.3 0
rule 10 deny ip destination 192.168.200.3 0
#
return
[SW1-acl-adv-3000]
[SW1]int Eth-Trunk 2
[SW1-Eth-Trunk2]traffic-filter outbound acl 3000
[SW1-Eth-Trunk2]display this
#
interface Eth-Trunk2
port link-type trunk
port trunk allow-pass vlan 2 to 4094
stp instance 0 cost 10000
traffic-filter outbound acl 3000
#
return
[SW1-Eth-Trunk2]
路由器模拟PC自动获取IP
[pc]int e0/0/0
[pc-Ethernet0/0/0]quit
[pc]dhcp enable
[pc]int e0/0/0
[pc-Ethernet0/0/0]ip ?
address Address
apply Apply security policy
binding Enable binding of an interface with a VPN instance
forward-broadcast Specify IP directed broadcast information
netstream Netstream feature
policy-based-route Enable policy based routing on the interface
relay DHCP relay
topology The name of topology
verify IP verify
[pc-Ethernet0/0/0]ip address ?
X.X.X.X IP address
bootp-alloc IP address allocated by BOOTP
dhcp-alloc IP address allocated by DHCP
unnumbered Share an address with another interface
[pc-Ethernet0/0/0]ip address dhcp
[pc-Ethernet0/0/0]ip address dhcp-alloc ?
<cr>
[pc-Ethernet0/0/0]ip address dhcp-alloc
[pc-Ethernet0/0/0]display this
#
interface Ethernet0/0/0
ip address dhcp-alloc
#
return
[pc-Ethernet0/0/0]quit
[pc]display ip interface br
*down: administratively down
!down: FIB overload down
^down: standby
(l): loopback
(s): spoofing
(d): Dampening Suppressed
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 9
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 9
Interface IP Address/Mask Physical Protocol
Ethernet0/0/0 192.168.10.252/24 up up
Ethernet0/0/1 unassigned down down
GigabitEthernet0/0/0 unassigned down down
GigabitEthernet0/0/1 unassigned down down
GigabitEthernet0/0/2 unassigned down down
GigabitEthernet0/0/3 unassigned down down
NULL0 unassigned up up(s)
Serial0/0/0 unassigned down down
Serial0/0/1 unassigned down down
Serial0/0/2 unassigned down down
Serial0/0/3 unassigned down down
[pc]