Mudanças entre as edições de "Switch Huawei"
De IFRS Campus Canoas
(→Gateway) |
|||
Linha 9: | Linha 9: | ||
[sys-view] authentication-mode aaa | [sys-view] authentication-mode aaa | ||
[sys-view] protocol inbound ssh | [sys-view] protocol inbound ssh | ||
− | |||
=== NTP === | === NTP === | ||
Linha 32: | Linha 31: | ||
=== VLAN === | === VLAN === | ||
+ | |||
+ | [sys-view] vlan 2 | ||
+ | [sys-view] name TI | ||
+ | [sys-view-vlan2] description TI | ||
+ | |||
+ | Interface em modo de acesso | ||
+ | |||
+ | [sys-view] interface gigabitethernet 0/0/2 | ||
+ | [sys-view-GigabitEthernet0/0/2] port link-type access | ||
+ | [sys-view-GigabitEthernet0/0/2] port access vlan 2 | ||
+ | [sys-view-GigabitEthernet0/0/2] port description desktop |
Edição das 16h49min de 21 de setembro de 2021
SSH
[sys-view] rsa local-key-pair create [sys-view] stelnet server enable [sys-view] ssh user admin [sys-view] ssh user admin authentication-type password [sys-view] ssh user admin service-type stelnet [sys-view] user-interface vty 0 4 [sys-view] authentication-mode aaa [sys-view] protocol inbound ssh
NTP
[sys-view] ntp-service server disable [sys-view] ntp-service ipv6 server disable [sys-view] ntp-service unicast-server 200.189.40.8 [sys-view] ntp-service unicast-server 200.160.0.8
Timezone
[sys-view] clock timezone Brasilia minus 03:00:00
IPv6
Habilitar configuração global de IPv6
[sys-view] ipv6
Gateway
[sys-view] ip route-static 0.0.0.0 0.0.0.0 192.168.1.1 [sys-view] ipv6 route-static :: 0 2804:0:24B0:XXXX::1
VLAN
[sys-view] vlan 2 [sys-view] name TI [sys-view-vlan2] description TI
Interface em modo de acesso
[sys-view] interface gigabitethernet 0/0/2 [sys-view-GigabitEthernet0/0/2] port link-type access [sys-view-GigabitEthernet0/0/2] port access vlan 2 [sys-view-GigabitEthernet0/0/2] port description desktop