@extends('layout.main') @section('main')
Interfaces Information

Here you can see the info about the interfaces on this router.

@csrf
{{-- --}} @foreach (json_decode($data) as $interface) {{-- --}} @endforeach
ID Name MAC Address Type MTU Running Rx Bytes Ty Bytes Action
{{ $interface->{'.id'} }} {{ $interface->name }} {{ $interface->{'mac-address'} ?? 'N/A' }} {{ $interface->{'type'} }} {{ $interface->{'mtu'} }} {{ $interface->running == 'true' ? 'Yes' : 'No' }} {{ $interface->{'rx-byte'} }} {{ $interface->{'tx-byte'} }} Edit
@endsection