- 积分
- 132
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 20
- 听众
- 收听
助理工程师
 
|
本帖最后由 一连七 于 2014-12-7 20:26 编辑
这些是我自己看着要求,打出来的~若有不对或者有异议的可以一起探讨,在线等,我明天考试~{:soso_e113:}
AAA
sw1:
aaa new-mo
aaa authen dot1x dafeult group radius
radius-server host 1.1.1.1 key key123
dot1x system-auth-control
int f0/1
sw mo acc
sw acc vlan 20
dot1x port-control auto
end
copy run start
sw2:
ip access-list standard 10
permit 172.168.1.1 255.255.255.0
exit
vlan access-map map 10
match ip address 10
action forward
exit
vlan access-map map 20
action drop
vlan filter map vlan-list 20
end
copy run start
MLS-EIGRP
int g0/1
no switchport
ip add 10.10.10.1 255.255.255.0
no sh
ex
ip routing
vlan 2
vlan 3
exit
int vlan 2
ip add 190.200.250.33 255.255.255.224
no sh
int vlan 3
ip add 190.200.250.65 255.255.255.0
no sh
exi
router eigrp 650
no auto-
net 10.10.10.0 0.0.0.255
net 190.200.250.32 0.0.0.31
net 190.200.250.64 0.0.0.31
end
copy run start
SPANNING TREE
DSW1:
en
conf t
spann vlan 20 priority 61440
int g1/0/6
spann vlan 30 port-priority 64exit
int g1/0/5
span vlan 40 cost 1
end
copy run start
VTP lab
DLsw:
vtp mode server
vtp domin cisco
ip routing
vlan 20
vlan 21
ex
int vlan 20
ip add 172.16.71.1 255.255.255.0
no sh
exi
int vlan 21
ip add 172.16.131.1 255.255.255.0
no sh
exit
ip routing
copy run start
ALsw:
vtp mode cli
vtp do cisco
end
copy run start
STP
sw:
vtp mo tr
int rang f0/1-24
sw mo access
spa portfast
int rang f0/12-24
sw acc vlan 20
end
copy run start
LACP-STP
swA:spann vlan 11-13,21-23 root primary
vlan 21
name M
vlan 22
name S
vlan 23
nam E
ex
sp vlan 1,21-23
int rang f0/3-4
no sw mo acc
no sw acc vlan 98
sw tr en do
sw mo tr
sw tr na vlan 99
sw tr vlan 1,21-23
channel-p la
channel-g 1 m a
ex
int port-channel 1
sw tr nat vlan 99
no sh
ex
copy run start
SWB:
vtp mode tr
span mode rapid-pvst
int vlan 1
ip add 192.162.1.11 255.255.255.0
no sh
ex
ip default-gateways 192.268.1.1
vlan 11
na XXX
vlan 12
na XXX
vlan 13
na XXX
vlan 21
nam M
vlan 22
nam S
vlan 23
nam E
ex
vlan 99
name nativevlan
int rang f0/9-10
sw mode acc
sw acc vlan 21
spa por
int rang f0/13-14
sw mode acc
sw acc vlan 22
spa po
int rang f0/15-16
sw mode acc
sw acc vlan 23
spa po
ex
int rang f0/3-4
sw trunk en dot1x
sw mode trunk
sw tr na vlan 98
sw tr all vlan 1.21-23
channel-p lo
channel-g 1 m pass
ex
int port-channel 1
sw tr na vlan 98
no sh
ex
copy run start
|
|