20201230 cisco STP

課堂資料

FDB

Spanning Tree Steps

  • Find the Root Bridge

    • 最小:priority ( 可手動設定,預設值為32768 + Vlan ID) + MAC address

  • Find the Root Port

  • Find the Designated Port ( D Port )

AAA Tacacs

課堂練習

STP

do sh spanning-tree

Ether Channel

int range e0/0 - 1
channel-group 1 mode on
do sh etherchannel summary
do sh spanning-tree

AAA Tacacs

Part 01.

wget ftp://ftp.shrubbery.net/pub/tac_plus/tacacs-F4.0.4.28.tar.gz
tar zxvf tacacs-F4.0.4.28.tar.gz
cd tacacs-F4.0.4.28
./configure
apt install bison
apt install bison --fix-missing
apt install libwrap0-dev
./configure
make install 
gedit /etc/ld.so.conf

ld.so.conf

include /etc/ld.so.conf.d/*.conf
/usr/lib

Part 02.

ip addr add 192.168.1.2/24 brd + dev eth0
ping 192.168.1.1

新增 user

useradd anida
passwd anida

安裝 tac plus

./tac_pwd
gedit tac_plus.conf

tac_plus.conf

key = ccie

accounting file = /var/log/tac.acct

user = user {
    member = user5
    login = des aerYSwBGbhIlo
}
group = user5 {
    service = exec {
        priv-lvl = 5
    }
}

執行 tacacs+ server

./tac_plus -C ./tac_plus.conf -G

Last updated