Ajout doc SPAN pour Nexus 3000
This commit is contained in:
parent
51dc6a9d29
commit
904728031c
|
@ -1603,6 +1603,47 @@ Switch(config)# snmp-server community private use-ipv4acl snmp-rw
|
|||
Switch(config)# snmp-server community private group ifXTable_only
|
||||
~~~
|
||||
|
||||
### STP : Spanning Tree Protocol
|
||||
|
||||
* Synchro immédiate : Spanning Tree Portfast => Spanning Tree Port Type Edge
|
||||
|
||||
Le nom "portfast" n'existe pas sous Nexus, c'est une notion de "port type" qui est utilisé. Lorsque le port est connecté à une machine finale, c'est un port de type `edge` (de bord, d'extrémité).
|
||||
|
||||
Activer le Port Type Edge :
|
||||
|
||||
~~~
|
||||
Switch(config)# interface GigabitEthernet0/28
|
||||
Switch(config-if)# spanning-tree port type edge
|
||||
~~~
|
||||
|
||||
Désactiver le Port Type Edge :
|
||||
|
||||
~~~
|
||||
Switch(config)# interface GigabitEthernet0/28
|
||||
Switch(config-if)# no spanning-tree port type edge
|
||||
~~~
|
||||
|
||||
### SPAN : Switch Port Analyzer (Port mirroring)
|
||||
|
||||
Activer le port mirroring, en copiant la sortie des ports Eth1/1 à Eth1/3 vers le port Eth1/5 :
|
||||
|
||||
~~~
|
||||
Switch(config)# interface ethernet 1/5
|
||||
Switch(config-if)# switchport monitor
|
||||
Switch(config-if)# exit
|
||||
Switch(config)# monitor session 1 type local
|
||||
Switch(config-monitor)# source interface ethernet 1/1-3 tx
|
||||
Switch(config-monitor)# destination interface ethernet 1/5
|
||||
Switch(config-monitor)# no shut
|
||||
~~~
|
||||
|
||||
Désactiver le port mirroring en gardant la configuration :
|
||||
|
||||
~~~
|
||||
Switch(config)# monitor session 1 type local
|
||||
Switch(config-monitor)# shut
|
||||
~~~
|
||||
|
||||
### Cron / tâches planifiées
|
||||
|
||||
Exemple pour sauvegarder périodiquement la configuration du switch :
|
||||
|
@ -1631,26 +1672,6 @@ Switch(config-schedule)# job name backupConfig
|
|||
Switch(config-schedule)# time daily 01:15
|
||||
~~~
|
||||
|
||||
### STP : Spanning Tree Protocol
|
||||
|
||||
* Synchro immédiate : Spanning Tree Portfast => Spanning Tree Port Type Edge
|
||||
|
||||
Le nom "portfast" n'existe pas sous Nexus, c'est une notion de "port type" qui est utilisé. Lorsque le port est connecté à une machine finale, c'est un port de type `edge` (de bord, d'extrémité).
|
||||
|
||||
Activer le Port Type Edge :
|
||||
|
||||
~~~
|
||||
Switch(config)# interface GigabitEthernet0/28
|
||||
Switch(config-if)# spanning-tree port type edge
|
||||
~~~
|
||||
|
||||
Désactiver le Port Type Edge :
|
||||
|
||||
~~~
|
||||
Switch(config)# interface GigabitEthernet0/28
|
||||
Switch(config-if)# no spanning-tree port type edge
|
||||
~~~
|
||||
|
||||
### VPC : Virtual Port-Channel
|
||||
|
||||
Ressources : <https://www.packetcoders.io/what-is-cisco-vpc-virtual-port-channel/>, <https://www.networklife.net/images/sheets/Nexus-VPC.pdf>
|
||||
|
|
Loading…
Reference in a new issue