aruba_networks:switch:6400:6400_configuration_example_script
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
aruba_networks:switch:6400:6400_configuration_example_script [2025/02/19 16:19] – [6300 Switch LAG errror: State information : Disabled by aggregation] aperez | aruba_networks:switch:6400:6400_configuration_example_script [2025/05/09 09:41] (current) – aperez | ||
---|---|---|---|
Line 1803: | Line 1803: | ||
* **65.535** – reserved. | * **65.535** – reserved. | ||
- | **Switch A - 6400:** | ||
+ | **OSPF** | ||
- | router ospf 1 | + | **[[https:// |
- | router-id 172.22.0.1 | + | |
- | redistribute bgp | + | |
- | area 0.0.0.0 | + | |
- | router bgp 65010 | ||
- | bgp router-id 172.22.0.1 | ||
- | neighbor 172.18.0.4 remote-as 65020 | ||
- | address-family ipv4 unicast | ||
- | neighbor 172.18.0.4 default-originate | ||
- | neighbor 172.18.0.4 activate | ||
- | network 172.18.0.0/ | ||
- | exit-address-family | ||
- | interface vlan 1 | + | |
- | ip ospf 1 area 0.0.0.0 | + | ---- |
- | ip ospf network point-to-point | + | |
+ | {{ : | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ================ | ||
+ | **SIDE-A 6400-A** | ||
+ | ================ | ||
+ | |||
+ | Example set vlan L2 to both SW 6400 A and B: | ||
| | ||
- | | + | vlan 508 |
- | ip ospf 1 area 0.0.0.0 | + | name ST |
- | | + | vsx-sync |
+ | | ||
+ | ip igmp snooping version 2 | ||
+ | ip igmp snooping apply access-list mygroup1 | ||
+ | |||
+ | |||
+ | vsx | ||
+ | system-mac 02: | ||
+ | inter-switch-link lag 256 | ||
+ | role primary | ||
+ | keepalive peer 192.168.100.2 source 192.168.100.1 vrf keepAlive | ||
+ | vsx-sync aaa acl-log-timer bfd-global bgp copp-policy dhcp-relay dhcp-server dns icmp-tcp lldp loop-protect- | ||
+ | | ||
| | ||
- | | + | ip route 0.0.0.0/0 172.16.32.4 |
- | | + | |
- | ip ospf network point-to-point | + | |
| | ||
- | | + | |
- | ip ospf 1 area 0.0.0.0 | + | router-id 172.22.0.1 |
- | ip ospf network point-to-point | + | max-metric router-lsa on-startup |
+ | passive-interface default | ||
+ | graceful-restart restart-interval 300 | ||
+ | trap-enable | ||
+ | | ||
| | ||
- | interface | + | interface |
- | ip ospf 1 area 0.0.0.0 | + | ip address 172.22.0.1/ |
- | ip ospf network point-to-point | + | |
| | ||
- | | + | vlan 531 |
- | ip ospf 1 area 0.0.0.0 | + | name NORTH-OSPF |
- | ip ospf network point-to-point | + | vsx-sync |
+ | description TRANSIT VLAN | ||
| | ||
interface vlan 508 | interface vlan 508 | ||
- | | + | description Vlan 508 ST |
- | ip ospf network point-to-point | + | vsx-sync active-gateways |
+ | ip mtu 9100 | ||
+ | ip address 10.28.72.2/ | ||
+ | active-gateway ip mac 12: | ||
+ | active-gateway ip 10.28.72.1 | ||
+ | ip helper-address 10.28.64.22 | ||
+ | | ||
| | ||
- | interface vlan 509 | + | interface vlan 514 |
- | ip ospf 1 area 0.0.0.0 | + | |
- | ip ospf network point-to-point | + | vsx-sync active-gateways |
+ | ip mtu 9100 | ||
+ | ip address 172.16.40.2/ | ||
+ | active-gateway ip mac 12: | ||
+ | active-gateway ip 172.16.40.1 | ||
+ | | ||
| | ||
- | interface vlan 510 | + | interface vlan 530 |
- | ip ospf 1 area 0.0.0.0 | + | |
- | ip ospf network point-to-point | + | vsx-sync active-gateways |
+ | ip mtu 9100 | ||
+ | ip address 10.28.216.2/ | ||
+ | active-gateway ip mac 12: | ||
+ | active-gateway ip 10.28.216.1 | ||
+ | | ||
| | ||
- | interface vlan 511 | + | interface vlan 531 |
- | ip ospf 1 area 0.0.0.0 | + | |
- | ip ospf network point-to-point | + | vsx active-forwarding |
+ | ip address 172.18.0.5/ | ||
+ | | ||
+ | no ip ospf passive | ||
+ | ip ospf cost 50 | ||
+ | | ||
| | ||
- | interface vlan 512 | + | interface vlan 1019 |
- | ip ospf 1 area 0.0.0.0 | + | |
- | ip ospf network point-to-point | + | vsx active-forwarding |
+ | ip address 172.18.0.1/ | ||
+ | | ||
+ | no ip ospf passive | ||
+ | ip ospf cost 10 | ||
+ | | ||
+ | |||
+ | |||
+ | ================ | ||
+ | **SIDE-A 6400-B** | ||
+ | ================ | ||
+ | |||
+ | vsx | ||
+ | system-mac 02: | ||
+ | inter-switch-link lag 256 | ||
+ | role secondary | ||
+ | keepalive peer 192.168.100.1 source 192.168.100.2 vrf keepAlive | ||
+ | vsx-sync aaa acl-log-timer bfd-global bgp copp-policy dhcp-relay dhcp-server dns icmp-tcp lldp loop-protect- | ||
+ | global mac-lockout mclag-interfaces ospf qos-global route-map sflow-global snmp ssh stp-global time vsx-global | ||
| | ||
- | interface | + | |
- | ip ospf 1 area 0.0.0.0 | + | |
- | ip ospf network point-to-point | + | |
+ | router-id 172.22.0.2 | ||
+ | max-metric router-lsa on-startup | ||
+ | passive-interface | ||
+ | graceful-restart restart-interval 300 | ||
+ | trap-enable | ||
+ | area 0.0.0.0 | ||
+ | | ||
+ | interface loopback 0 | ||
+ | ip address 172.22.0.2/ | ||
+ | | ||
+ | | ||
+ | vlan 531 | ||
+ | name NORTH-OSPF | ||
+ | vsx-sync | ||
+ | description TRANSIT VLAN | ||
+ | |||
+ | interface vlan 508 | ||
+ | description Vlan 508 ST | ||
+ | vsx-sync active-gateways | ||
+ | | ||
+ | ip address 10.28.72.3/ | ||
+ | active-gateway ip mac 12: | ||
+ | active-gateway ip 10.28.72.1 | ||
+ | ip helper-address 10.28.64.22 | ||
+ | ip ospf 1 area 0.0.0.0 | ||
| | ||
interface vlan 514 | interface vlan 514 | ||
- | | + | description Vlan 514 AC |
- | ip ospf network point-to-point | + | vsx-sync active-gateways |
+ | ip mtu 9100 | ||
+ | ip address 172.16.40.3/ | ||
+ | active-gateway ip mac 12: | ||
+ | active-gateway ip 172.16.40.1 | ||
+ | | ||
| | ||
- | interface vlan 515 | + | interface vlan 530 |
- | ip ospf 1 area 0.0.0.0 | + | |
- | ip ospf network point-to-point | + | vsx-sync active-gateways |
+ | ip mtu 9100 | ||
+ | ip address 10.28.216.3/ | ||
+ | active-gateway ip mac 12: | ||
+ | active-gateway ip 10.28.216.1 | ||
+ | | ||
| | ||
- | interface vlan 516 | + | interface vlan 531 |
- | ip ospf 1 area 0.0.0.0 | + | |
- | ip ospf network point-to-point | + | vsx active-forwarding |
+ | ip address 172.18.0.6/ | ||
+ | | ||
+ | no ip ospf passive | ||
+ | ip ospf cost 50 | ||
+ | | ||
| | ||
- | interface vlan 517 | + | interface vlan 1019 |
- | ip ospf 1 area 0.0.0.0 | + | |
- | ip ospf network point-to-point | + | vsx active-forwarding |
+ | ip address 172.18.0.14/ | ||
+ | | ||
+ | | ||
+ | ip ospf cost 10 | ||
+ | |||
+ | ================ | ||
+ | **SIDE-B 6400-A** | ||
+ | ================ | ||
+ | |||
+ | Example set vlan L2 to both SW 6400 A and B: | ||
+ | |||
+ | vlan 708 | ||
+ | name ST | ||
+ | vsx-sync | ||
+ | ip igmp snooping enable | ||
+ | ip igmp snooping version 2 | ||
+ | ip igmp snooping apply access-list mygroup1 | ||
+ | |||
+ | |||
+ | vsx | ||
+ | system-mac 02: | ||
+ | inter-switch-link lag 256 | ||
+ | role primary | ||
+ | keepalive peer 192.168.102.2 source 192.168.102.1 vrf keepAlive | ||
+ | vsx-sync aaa acl-log-timer bfd-global bgp copp-policy dhcp-relay dhcp-server dns icmp-tcp lldp loop-protect- | ||
+ | global mac-lockout mclag-interfaces ospf qos-global route-map sflow-global snmp ssh stp-global time vsx-global | ||
| | ||
- | | + | ip route 0.0.0.0/0 172.20.32.4 |
- | | + | |
- | ip ospf network point-to-point | + | |
| | ||
- | | + | |
- | ip ospf 1 area 0.0.0.0 | + | router-id 172.22.0.3 |
- | ip ospf network point-to-point | + | max-metric router-lsa on-startup |
+ | passive-interface default | ||
+ | graceful-restart restart-interval 300 | ||
+ | trap-enable | ||
+ | | ||
| | ||
- | | + | vlan 731 |
- | ip ospf 1 area 0.0.0.0 | + | name SOUTH-OSPF |
- | ip ospf network point-to-point | + | vsx-sync |
+ | description TRANSIT VLAN | ||
| | ||
- | interface | + | interface |
- | ip ospf 1 area 0.0.0.0 | + | ip address 172.22.0.3/ |
- | ip ospf network point-to-point | + | |
| | ||
- | interface vlan 522 | + | interface vlan 708 |
- | ip ospf 1 area 0.0.0.0 | + | |
- | ip ospf network point-to-point | + | vsx-sync active-gateways |
+ | ip mtu 9100 | ||
+ | ip address 10.56.72.2/ | ||
+ | active-gateway ip mac 12: | ||
+ | active-gateway ip 10.56.72.1 | ||
+ | ip helper-address 10.56.64.22 | ||
+ | | ||
| | ||
- | interface vlan 523 | + | interface vlan 714 |
- | ip ospf 1 area 0.0.0.0 | + | |
- | ip ospf network point-to-point | + | vsx-sync active-gateways |
+ | ip mtu 9100 | ||
+ | ip address 172.20.40.2/ | ||
+ | active-gateway ip mac 12: | ||
+ | active-gateway ip 172.20.40.1 | ||
+ | ip helper-address 10.56.64.22 | ||
+ | | ||
| | ||
- | interface vlan 524 | + | interface vlan 730 |
- | ip ospf 1 area 0.0.0.0 | + | |
- | ip ospf network point-to-point | + | vsx-sync active-gateways |
+ | ip mtu 9100 | ||
+ | ip address 10.56.216.2/ | ||
+ | active-gateway ip mac 12: | ||
+ | active-gateway ip 10.56.216.1 | ||
+ | | ||
| | ||
- | interface vlan 525 | + | interface vlan 731 |
- | ip ospf 1 area 0.0.0.0 | + | |
- | ip ospf network point-to-point | + | vsx active-forwarding |
+ | ip address 172.18.0.9/ | ||
+ | | ||
+ | no ip ospf passive | ||
+ | ip ospf cost 50 | ||
+ | | ||
| | ||
- | interface vlan 526 | + | interface vlan 1019 |
- | ip ospf 1 area 0.0.0.0 | + | |
- | ip ospf network point-to-point | + | vsx active-forwarding |
+ | ip address 172.18.0.2/ | ||
+ | | ||
+ | no ip ospf passive | ||
+ | ip ospf cost 10 | ||
+ | | ||
| | ||
- | interface vlan 527 | + | ================ |
- | | + | **SIDE-B 6400-B** |
- | | + | ================ |
+ | |||
+ | |||
+ | | ||
+ | system-mac 02: | ||
+ | inter-switch-link lag 256 | ||
+ | role secondary | ||
+ | keepalive peer 192.168.102.1 source 192.168.102.2 vrf keepAlive | ||
+ | vsx-sync aaa acl-log-timer bfd-global bgp copp-policy dhcp-relay dhcp-server dns icmp-tcp lldp loop-protect- | ||
+ | | ||
| | ||
- | interface vlan 530 | + | |
- | ip ospf 1 area 0.0.0.0 | + | |
- | ip ospf network point-to-point | + | vlan 731 |
+ | name SOUTH-OSPF | ||
+ | vsx-sync | ||
+ | description TRANSIT VLAN | ||
+ | |||
+ | router ospf 1 | ||
+ | router-id 172.22.0.4 | ||
+ | max-metric router-lsa on-startup | ||
+ | passive-interface default | ||
+ | graceful-restart restart-interval 300 | ||
+ | trap-enable | ||
+ | area 0.0.0.0 | ||
+ | |||
+ | interface loopback 0 | ||
+ | ip address 172.22.0.4/ | ||
+ | ip ospf 1 area 0.0.0.0 | ||
+ | |||
+ | | ||
+ | description Vlan 708 ST | ||
+ | vsx-sync active-gateways | ||
+ | ip mtu 9100 | ||
+ | ip address 10.56.72.3/ | ||
+ | active-gateway ip mac 12: | ||
+ | active-gateway ip 10.56.72.1 | ||
+ | ip helper-address 10.56.64.22 | ||
+ | ip ospf 1 area 0.0.0.0 | ||
+ | |||
+ | | ||
+ | description Vlan 714 AC | ||
+ | vsx-sync active-gateways | ||
+ | ip mtu 9100 | ||
+ | ip address 172.20.40.3/ | ||
+ | active-gateway ip mac 12: | ||
+ | active-gateway ip 172.20.40.1 | ||
+ | ip helper-address 10.56.64.22 | ||
+ | | ||
+ | | ||
+ | interface vlan 730 | ||
+ | description VLAN 730 9K | ||
+ | vsx-sync active-gateways | ||
+ | ip mtu 9100 | ||
+ | ip address 10.56.216.3/ | ||
+ | active-gateway ip mac 12: | ||
+ | active-gateway ip 10.56.216.1 | ||
+ | ip ospf 1 area 0.0.0.0 | ||
+ | |||
+ | interface vlan 731 | ||
+ | description TRANSIT VLAN | ||
+ | vsx active-forwarding | ||
+ | ip address 172.18.0.10/ | ||
+ | ip ospf 1 area 0.0.0.0 | ||
+ | no ip ospf passive | ||
+ | ip ospf cost 50 | ||
+ | ip ospf network point-to-point | ||
+ | |||
+ | interface vlan 1019 | ||
+ | description Vlan 1019 PtP | ||
+ | vsx active-forwarding | ||
+ | ip address 172.18.0.13/ | ||
+ | ip ospf 1 area 0.0.0.0 | ||
+ | no ip ospf passive | ||
+ | ip ospf cost 10 | ||
+ | | ||
- | **SwitchA(config)# | + | ---- |
+ | ---- | ||
- | **SwitchB# show lldp neighbor** | + | **OSPF Troubleshooting** |
- | | + | |
- | | + | **{{ : |
- | | + | |
+ | {{pdfjs 46em >: | ||
+ | |||
+ | |||
+ | |||
+ | {{ youtube> | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | ---- | ||
+ | |||
+ | **FEC** on an SFP port refers to **Forward Error Correction (FEC)**, which is a technique used in fiber optic and Ethernet networks to enhance data transmission reliability by detecting and correcting errors without the need for retransmission. | ||
+ | |||
+ | **FEC (Forward Error Correction)**: | ||
+ | FEC is a mechanism that adds redundant information to the transmitted data. This redundancy allows the receiving end to detect and correct errors caused by signal degradation or noise during transmission. | ||
+ | |||
+ | Purpose: FEC is essential for high-speed data links (e.g., 10G, 25G, 40G, 100G Ethernet) to improve link quality and performance. | ||
+ | |||
+ | Types: Different FEC modes can be used depending on the standard and speed of the connection (e.g., Reed-Solomon FEC). | ||
+ | |||
+ | |||
+ | * | ||
+ | * | ||
+ | * | ||
+ | * | ||
+ | |||
+ | |||
+ | ---- | ||
+ | ---- | ||
+ | |||
+ | |||
+ | **Benefits of FEC on SFP Ports**: | ||
+ | |||
+ | * Error Correction: FEC can correct errors due to signal attenuation or interference. | ||
+ | * Better Link Performance: | ||
+ | * No Retransmissions: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | **Aruba Switch 6400:** | ||
+ | |||
+ | |||
+ | CS-2P-MDFHA-A#** show ver** | ||
+ | | ||
+ | ArubaOS-CX | ||
+ | (c) Copyright 2017-2024 Hewlett Packard Enterprise Development LP | ||
+ | ----------------------------------------------------------------------------- | ||
+ | Version | ||
+ | Build Date : 2024-04-09 00:34:12 UTC | ||
+ | | ||
+ | Build SHA : ef21093778805e954ec130b0939d34927bb7ba19 | ||
+ | Hot Patches | ||
+ | Active Image : primary | ||
| | ||
- | | + | |
+ | BIOS Version | ||
+ | |||
+ | CS-2P-MDFHA-A(config)# | ||
+ | |||
+ | **error-control** | ||
+ | |||
+ | CS-2P-MDFHA-A(config-if)# | ||
+ | auto Use the transceiver default | ||
+ | base-r-fec | ||
+ | none Do not use any FEC | ||
+ | rs-fec | ||
+ | |||
+ | ---- | ||
+ | ---- | ||
+ | ====== boot system ====== | ||
+ | |||
+ | **Rebooting the system from the configured default operating system image**: | ||
+ | |||
+ | switch# boot system | ||
+ | Do you want to save the current configuration (y/n)? y | ||
+ | The running configuration was saved to the startup configuration. | ||
| | ||
- | | + | |
- | | + | until the process is complete. |
- | | + | |
+ | | ||
+ | The system is going down for reboot. | ||
+ | |||
+ | **Rebooting the system from the secondary operating system image, setting the secondary operating system image as the configured default boot image:** | ||
+ | |||
+ | switch# boot system secondary | ||
+ | Default boot image set to secondary. | ||
+ | |||
+ | Do you want to save the current configuration (y/n)? n | ||
+ | |||
+ | This will reboot the entire switch and render it unavailable | ||
+ | until the process is complete. | ||
+ | Continue (y/n)? y | ||
+ | The system is going down for reboot. | ||
+ | |||
+ | Canceling a system reboot: | ||
| | ||
- | | + | |
| | ||
- | | + | |
| | ||
- | | + | |
+ | until the process is complete. | ||
+ | Continue (y/n)? n | ||
+ | Reboot aborted. | ||
+ | switch# | ||
| | ||
- | 192.168.2.3 | ||
---- | ---- | ||
---- | ---- | ||
+ | ====== Steps to get the support files for both the switches: ====== | ||
+ | **For SFTP**: | ||
+ | Switch# copy support-files all sftp:// user@Address of Local Server>/ | ||
+ | **For TFTP**: | ||
+ | Switch# copy support-files all tftp:// Address of Local Server>/ | ||
+ | CS-2C-MDFHA-A# | ||
+ | The operation to copy all support files could take a while to complete. | ||
+ | | ||
+ | Do you want to continue (y/n)? y | ||
+ | Collection in progress... | ||
+ | Standby management module is not reachable | ||
+ | Unable to gather information from the standby management module | ||
+ | | ||
+ | | ||
+ | show tech output collection is in progress... | ||
+ | Done | ||
+ | | ||
+ | Done | ||
+ | Attempting to copy... | ||
+ | % Total % Received % Xferd Average Speed | ||
+ | | ||
+ | 65 69.8M 0 | ||
Line 1965: | Line 2301: | ||
+ | Please note on both the above cases you can use the specific VRF (ex, here we have used management VRF), if you do not specify a VRF, then it will take the default VRF | ||
+ | OR | ||
+ | Copy the support files to USB and then upload manually. | ||
+ | **For USB**: | ||
+ | For USB option, First you need to enable the USB and then you need to Mount, To do so | ||
+ | Switch# | ||
+ | Verification can be done by | ||
+ | Switch# show usb | ||
+ | enabled: yes | ||
+ | mounted: yes | ||
+ | Switch# copy support-files all usb:// | ||
+ | After copied use this command to unmount the usb | ||
+ | Switch# | ||
+ | USB should be formatted with FAT32 option before inserting to switch. | ||
+ | |||
+ | ---- | ||
+ | ---- | ||
+ | |||
+ | ====== Images ====== | ||
+ | |||
+ | |||
+ | CS-2P-MDFHA-B(config-if-vlan)# | ||
+ | --------------------------------------------------------------------------- | ||
+ | ArubaOS-CX Primary Image | ||
+ | --------------------------------------------------------------------------- | ||
+ | Version : FL.10.13.1010 | ||
+ | Size : 998 MB | ||
+ | Date : 2024-04-09 00:34:12 UTC | ||
+ | SHA-256 : 53bbd1354dd22bffa2df52b22fe8f2dd5cc05a10bcd9ae8c9e01fc93c830d0ec | ||
+ | | ||
+ | --------------------------------------------------------------------------- | ||
+ | ArubaOS-CX Secondary Image | ||
+ | --------------------------------------------------------------------------- | ||
+ | Version : FL.10.09.1050 | ||
+ | Size : 872 MB | ||
+ | Date : 2022-09-13 23:40:16 UTC | ||
+ | SHA-256 : 631640f32e58f3719f56b36474d02c98666a519fb7775d3b263a36783eaafcfd | ||
+ | | ||
+ | Default Image : primary | ||
+ | Boot Profile Timeout : 5 seconds | ||
+ | | ||
+ | ------------------------------------------------------ | ||
+ | Management Module 1/1 (Active) | ||
+ | ------------------------------------------------------ | ||
+ | Active Image : primary | ||
+ | Service OS Version : FL.01.14.0002 | ||
+ | BIOS Version | ||
+ | | ||
+ | CS-2P-MDFHA-A# | ||
+ | Default boot image set to primary. | ||
+ | Checking if the configuration needs to be saved... | ||
+ | | ||
+ | Do you want to save the current configuration (y/n)? y | ||
+ | The running configuration was saved to the startup configuration. | ||
+ | | ||
+ | Checking for updates needed to programmable devices... | ||
+ | Done checking for updates. | ||
+ | | ||
+ | 2 non-failsafe device(s) also need to be updated. | ||
+ | Please run the ' | ||
+ | |||
+ | This will reboot the entire switch and render it unavailable | ||
+ | until the process is complete. | ||
+ | Continue (y/n)? | ||
+ | |||
+ | ---- | ||
+ | ---- |
aruba_networks/switch/6400/6400_configuration_example_script.1739999956.txt.gz · Last modified: 2025/02/19 16:19 by aperez