Cisco 3560½»»»»ú802.1XÅäÖ㺹©²Î¿¼£¬¾ßÌåÅäÖÃÒÔCisco½»»»»úʵ¼Ê°æ±¾Îª×¼

 

Building configuration...

Current configuration : 2617 bytes

!

version 12.2

no service pad

no service timestamps debug uptime

no service timestamps log uptime

no service password-encryption

!

hostname Switch

!

boot-start-marker

boot-end-marker

!

aaa new-model \\¿ªÆôaaa ÈÏÖ¤

aaa group server radius default

aaa authentication dot1x default group radius \\ÅäÖÃdot1x ÈÏÖ¤·½·¨

aaa accounting update periodic 15 \\¿ªÆô¼ÇÕ˸üÐÂΪ15 ·ÖÖÓ

aaa accounting dot1x default start-stop group radius \\ÅäÖüÇÕ˹¦ÄÜ

!

aaa session-id common

system mtu routing 1500

authentication mac-move permit

no ip subnet-zero

!

dot1x system-auth-control \\È«¾Ö´ò¿ª802.1x ÈÏÖ¤

!

spanning-tree mode pvst

spanning-tree extend system-id

no spanning-tree vlan 1 \\¹Ø±Õvlan 1 µÄÉú³ÉÊ÷

!

vlan internal allocation policy ascending

!

interface FastEthernet0/1

switchport mode access

authentication port-control auto \\ÉèÖö˿ڿØÖÆÄ£Ê½Îª×Ô¶¯

dot1x pae authenticator \\ÔÚ½Ó¿ÚÉÏ¿ªÆôdot1x ÈÏÖ¤¹¦ÄÜ

!

interface FastEthernet0/2

switchport mode access

authentication port-control auto

dot1x pae authenticator

!

interface FastEthernet0/23

!

interface FastEthernet0/24

!

interface Vlan1

ip address 172.16.50.50 255.255.255.0

!

ip default-gateway 172.16.50.1

no ip classless

no ip http server

no ip http secure-server

!

!

ip sla enable reaction-alerts

!

snmp-server community ruijie RW \\ÉèÖÃsnmp ÍÅÌå·ÃÎÊ×Ö·û£¬±ØÐëÓë·þÎñÆ÷Ò»ÖÂ

radius-server host 192.168.33.214 auth-port 1812 acct-port 1813 \\¶¨ÒåÈÏÖ¤·þÎñÆ÷IP ÓëÈÏÖ¤/¼ÇÕ˶˿ںÅ

radius-server key ruijie \\ÅäÖÃRadius key

!

!

line con 0

exec-timeout 0 0

line vty 0 4

password ruijie

line vty 5 15

!

end

×¢Ò⣺ÒÔÉÏÅäÖÃÖн¨Ò鹨±ÕÉú³ÉÊ÷¹¦ÄÜ£¬·ñÔòÉú³ÉÊ÷»á¸ÉÈſͻ§¶ËÈÏÖ¤³É¹¦ºó

µÄ¶¯Ì¬IP µØÖ·»ñÈ¡¹ý³Ì£»Èç¹û¿ªÆôÉú³ÉÊ÷²¢ÅäÖþ²Ì¬IP£¬ÈÏÖ¤³É¹¦ºóÓû§»¹ÒªµÈ´ýÔ¼

30 Ãë×óÓÒÓû§²Å¿ÉÒÔÕý³£ÉÏÍø¡£Èç¹û¹Ø±ÕÉú³ÉÊ÷¾Í¿ÉÒÔÁ¢¼´ÉÏÍø¡£