SW:
port-group 1
int e1/0/23-24
port-group 1 mode active
exit
int port-channel 1
switchport mode trunk
switchport trunk all vlan 11-14
exit
ip vrf Branch
rd 1:1
exit
ip vrf Internet
rd 2:2
exit
SW,AC
ssh-server enable
ssh-server timeout 540
ssh-server max-connection 6
RT
ip sshd enable
ip sshd max 1
line console 0
exec-timeout 1800
line vty 0
exec-timeout 540
FW
ssh timeout 9
console timeout 30
lo1,2,3,t1都要配置ping,用了几个端口就在用了的配置就行
lo1额外配置ssh
man ping/ssh
SW1
router ospf 1
router-id 10.0.1.1
network 10.0.1.1/32 area 0
network 10.0.11.1/24 area 0
network 10.0.12.1/24 area 0
network 10.0.13.1/24 area 0
network 10.0.14.1/24 area 0
network 10.0.255.9/30 area 0
network 10.0.255.17/30 area 0
red rip
exit
SW2
router ospf 1
router-id 10.0.2.1
network 10.0.2.1/32 area 0
network 10.0.21.1/24 area 0
network 10.0.22.1/24 area 0
network 10.0.23.1/24 area 0
network 10.0.24.1/24 area 0
network 10.0.255.13/30 area 0
network 10.0.255.18/30 area 0
red rip
exit
SW3
router ospf 1
router-id 10.0.3.1
network 10.0.3.1/32 area 0
network 10.0.31.1/24 area 0
network 10.0.32.1/24 area 0
network 10.0.33.1/24 area 0
network 10.0.34.1/24 area 0
network 10.0.255.10/30 area 0
network 10.0.255.14/30 area 0
exit
SW1
router rip
network 10.0.255.2/30
red ospf
SW2
router rip
network 10.0.255.6/30
red ospf
FW1
ip v t
ip route 0.0.0.0/0 20.0.255.21
router rip
default-information otiginate
network 10.0.255.0/30
network 10.0.255.4/30
network 10.0.7.1/32
network 10.0.252.4/30
redistribute ospf metric 2
exit