<HUAWEI>system-view
Enter system view, return user view with Ctrl+Z.
[HUAWEI]sysname swbb-huawei-zumbi
[swbb-huawei-zumbi]

[swbb-huawei-zumbi]quit
<swbb-huawei-zumbi>save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0.
Save the configuration successfully.
<swbb-huawei-zumbi>




==== Backup Automatico Huawei ====

[HW3]set save-configuration delay 5
[HW3]set save-configuration backup-to-server server 172.18.7.2 transport-type tftp path Huawei

===============================

Desativar os Logs do Console

> undo terminal monitor

===============================

### Comandos Rápidos

display bgp routing-table peer 200.141.75.21 advertised-routes

display bgp routing-table peer 200.141.75.21 received-route



peer 200.149.211.237 ignore



=================

Traffic Shapping na Interface Física
Na interface onde quer fazer a limitação utilizar o comando abaixo como exemplo:

System view
interface XGigabitEthernet0/0/XX
qos lr outbound cir 2097152 cbs 1048576
qos lr inbound cir 2097152 cbs 1048576

Onde o CIR é contado em Kbps e o CBS é contado em bps. Este exemplo acima dá uma banda de 2Gbps com tolerância excedente de 1 Mbps

Traffic Shapping na Interface Vlan
Para o shapping na interface lógica se faz necessária a criação de policies. Segue:

System view
Criar as condições de match para a policy
traffic classifier vlan4000-Banda operator and
if-match vlan-id 4000
quit
Criar as ações para a Policy
traffic behavior vlan4000-Behavior
car cir 51200 pir 51200 cbs 6400000 pbs 6400000 green pass yellow pass red discard
quit
Aplicar a ação a condição desejada
Traffic policy vlan4000-Policy match-order config
classifier vlan4000-Banda behavior vlan4000-Behavior
quit
Aplicar na interface desejada
interface Vlanif4000
traffic-policy vlan4000-Policy inbound
traffic-policy vlan4000-Policy outbound




===================

Comandos para zerar contadores de Interfaces

<switch> reset counters if-mib interface

<switch> reset counters interface