АМАТЕК AN-SGM28P24-400 Руководство по интерфейсу командной строки CLI онлайн [233/322] 598614

АМАТЕК AN-SGM28P24-400 Руководство по интерфейсу командной строки CLI онлайн [233/322] 598614
232 / 322
The switches are configured as follows
Switch#config t
Switch(config)#vlan database
Switch(config-vlan)#vlan 2
Switch(config-vlan)#vlan 3
Switch(config)#interface ge1/1
Switch(config-ge1/1)# switchport mode access
Switch(config-ge1/1)#switchport access vlan 2
Switch(config)#interface vlan2
Switch(config-vlan2)#ip add 192.168.1.1/24
Switch(config)#interface ge1/2
Switch(config-ge1/2)#switchport mode access
Switch(config-ge1/2)#switchport access vlan 3
Switch(config)#interface vlan3
Switch(config-vlan2)#ip add 172.16.3.1/24
Switch(config)#access-list 10 deny 192.168.1.0 0.0.0.255
Switch(config)#access-list 10 permit any
Switch(config)#interface ge1/1
Switch(config-ge1/1)#access-group 10
Switch(config)#interface ge1/2
Switch(config-ge1/2)#access-group 10
Note: according to the specific needs of the configuration of the time period, the time section
associated with ACL rules, refer to the configuration as follows
Switch(config)#time-range test cycle-time from 8 30 to 17 30 days from 1 to 5

Содержание

Похожие устройства

Скачать
Случайные обсуждения