كود PHP:
BR2
inf s0/0/0
no sh
encapsulation frame-relay
exit
int s0/0/0.101 point-to-point
ip add 172.31.1.1 255.255.255.252
no sh
exit
router eigrp 100
network 172.16.1.0
network 172.17.1.0
network 172.17.1.4
network 10.10.10.0
network 10.10.10.4
exit
ip route 0.0.0.0 0.0.0.0 null0
ip access-list extended NO_WEB
permit tcp host 172.16.1.129 eq www any
deny tcp host 172.16.1.129 any
permit ip any any
s1
==========
vtp mode server
vtp domain discovery
vtp password cisco
spanning-tree-protocol vlan 1 proirity 4096
spanning-tree-protocol vlan 10 proirity 4096
spanning-tree-protocol vlan 20 proirity 4096
spanning-tree-protocol vlan 1 root primary
spanning-tree-protocol vlan 10 root primary
spanning-tree-protocol vlan 20 root primary
int f0/10
switchport mode access
switchport access vlan 10
int f0/1
switchport mode trunk
switchport trunk allowed vlan all
int f0/2
switchport mode trunk
switchport trunk allowed vlan all
interface vlan 10
ip add
1 ip add 172.16.1.226 255.255.255.248
20
ip default-gateway 172.16.1.255
المفضلات