配置
enable
conf t
host sw1
line c 0
logg sy
pass 123
login
exit
enable sec 456
line vty 0 4
pass 789
login
end
vlan data
vlan 2
vlan 3
exit
conf t
int r f 0/5 - 10
sw ac v 2
no shut
exit
int r f 0/11 - 15
sw ac v 3
no shut
exit
int vlan 1
ip add 192.168.0.1 255.255.255.0
no shut
end
write
show run
 
 
 
vpc配置
ip 192.168.3.1 192.168.3.2 24
2
ip 192.168.1.2 192.168.1.5 24
3
ip 192.168.1.1 192.168.1.5 24
4
ip 192.168.2.2 192.168.2.5 24
5
ip 192.168.2.1 192.168.2.5 24
1
show