console(config)#do sh run
vlan database
vlan 2-4
exit
!
ip access-list extended 2
permit ip any 172.16.2.00.0.0.255 172.16.3.00.0.0.255 ace-priority 20
exit
!
!
ip ssh server
!
interface gigabitethernet1/0/2
switchport access vlan 2
exit
!
interface gigabitethernet1/0/3
service-acl output 2
switchport access vlan 3
exit
!
interface gigabitethernet1/0/4
switchport access vlan 4
exit
!
interface vlan 1
ip address 172.16.1.254 255.255.255.0
no ip address dhcp
exit
!
interface vlan 2
ip address 172.16.2.254 255.255.255.0
exit
!
interface vlan 3
ip address 172.16.3.254 255.255.255.0
exit
!
interface vlan 4
ip address 172.16.4.254 255.255.255.0
!
!
⏩ بازگشت به بخش اول