Advertisement
duffbeer

ubnt

Apr 15th, 2020
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.73 KB | None | 0 0
  1. ubnt@ubnt:~$ configure
  2. [edit]
  3. ubnt@ubnt# show interfaces
  4.  ethernet eth0 {
  5.      description "Internet (PPPoE)"
  6.      duplex auto
  7.      pppoe 0 {
  8.          default-route auto
  9.          firewall {
  10.              in {
  11.                  ipv6-name WANv6_IN
  12.                  name WAN_IN
  13.              }
  14.              local {
  15.                  ipv6-name WANv6_LOCAL
  16.                  name WAN_LOCAL
  17.              }
  18.          }
  19.          mtu 1492
  20.          name-server auto
  21.          password akombakom
  22.          user-id akombakom
  23.      }
  24.      speed auto
  25.  }
  26.  ethernet eth1 {
  27.      description Local
  28.      duplex auto
  29.      speed auto
  30.  }
  31.  ethernet eth2 {
  32.      description Local
  33.      duplex auto
  34.      speed auto
  35.  }
  36.  ethernet eth3 {
  37.      description Local
  38.      duplex auto
  39.      speed auto
  40.  }
  41.  ethernet eth4 {
  42.      description Local
  43.      duplex auto
  44.      poe {
  45.          output off
  46.      }
  47.      speed auto
  48.  }
  49.  loopback lo {
  50.  }
  51.  switch switch0 {
  52.      address 192.168.1.1/24
  53.      description Local
  54.      mtu 1500
  55.      switch-port {
  56.          interface eth1 {
  57.          }
  58.          interface eth2 {
  59.          }
  60.          interface eth3 {
  61.          }
  62.          interface eth4 {
  63.          }
  64.          vlan-aware disable
  65.      }
  66.  }
  67. [edit]
  68. ubnt@ubnt# show service dhcp-server
  69.  disabled false
  70.  hostfile-update disable
  71.  shared-network-name LAN {
  72.      authoritative enable
  73.      subnet 192.168.1.0/24 {
  74.          default-router 192.168.1.1
  75.          dns-server 192.168.1.1
  76.          lease 86400
  77.          start 192.168.1.38 {
  78.              stop 192.168.1.243
  79.          }
  80.          static-mapping debiNAS {
  81.              ip-address 192.168.1.8
  82.              mac-address
  83.          }
  84.      }
  85.  }
  86.  static-arp disable
  87.  use-dnsmasq disable
  88. [edit]
  89. ubnt@ubnt#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement