Projet

Général

Profil

EdgeOS » Historique » Version 5

Bertrand Cebador, 08/03/2018 13:53

1 1 Laurent GUERBY
{{>toc}}
2 1 Laurent GUERBY
3 1 Laurent GUERBY
h1. EdgeOS
4 1 Laurent GUERBY
5 1 Laurent GUERBY
h2. Commandes
6 1 Laurent GUERBY
7 4 Laurent GUERBY
8 4 Laurent GUERBY
<pre>
9 4 Laurent GUERBY
(UBNT EdgeSwitch) #show mac-addr-table 
10 4 Laurent GUERBY
11 4 Laurent GUERBY
VLAN ID  MAC Address         Interface              IfIndex  Status
12 4 Laurent GUERBY
-------  ------------------  ---------------------  -------  ------------
13 4 Laurent GUERBY
1        00:01:E8:8B:4F:CF   0/49                   49       Learned
14 4 Laurent GUERBY
1        00:08:7C:3C:29:03   0/49                   49       Learned
15 4 Laurent GUERBY
128      9C:B6:54:06:7E:56   0/5                    5        Learned
16 4 Laurent GUERBY
...
17 4 Laurent GUERBY
</pre>
18 4 Laurent GUERBY
19 1 Laurent GUERBY
<pre>
20 1 Laurent GUERBY
show interfaces status all
21 1 Laurent GUERBY
Port       Name                          State   Mode        Status      Type                Status
22 1 Laurent GUERBY
---------  ----------------------------  ------  ----------  ----------  ------------------  ------------
23 1 Laurent GUERBY
0/1                                      Down    Auto                    Unknown             Inactive
24 1 Laurent GUERBY
0/2                                      Down    Auto                    Unknown             Inactive
25 1 Laurent GUERBY
0/3                                      Up      Auto        100 Full    Unknown             Active
26 1 Laurent GUERBY
...
27 1 Laurent GUERBY
28 1 Laurent GUERBY
(UBNT EdgeSwitch) #show interfaces switchport
29 1 Laurent GUERBY
30 1 Laurent GUERBY
Port: 0/1
31 1 Laurent GUERBY
VLAN Membership Mode: General
32 1 Laurent GUERBY
Access Mode VLAN: 1 (default)
33 1 Laurent GUERBY
General Mode PVID: 3131
34 1 Laurent GUERBY
General Mode Ingress Filtering: Disabled
35 1 Laurent GUERBY
General Mode Acceptable Frame Type: Admit all
36 1 Laurent GUERBY
General Mode Dynamically Added VLANs:
37 1 Laurent GUERBY
General Mode Untagged VLANs: 3131
38 1 Laurent GUERBY
General Mode Tagged VLANs: 3199
39 1 Laurent GUERBY
General Mode Forbidden VLANs: 1,20,128,376,3132,3166,3175
40 1 Laurent GUERBY
Trunking Mode Native VLAN: 1 (default)
41 1 Laurent GUERBY
Trunking Mode Native VLAN tagging: Disable
42 1 Laurent GUERBY
Trunking Mode VLANs Enabled: All
43 1 Laurent GUERBY
Protected Port: False
44 1 Laurent GUERBY
45 1 Laurent GUERBY
Port: 0/2
46 1 Laurent GUERBY
...
47 1 Laurent GUERBY
</pre>
48 1 Laurent GUERBY
49 1 Laurent GUERBY
<pre>
50 1 Laurent GUERBY
(UBNT EdgeSwitch) #show fiber-ports optics-info all
51 1 Laurent GUERBY
52 1 Laurent GUERBY
                         Link Link                                 Nominal
53 1 Laurent GUERBY
                       Length Length                                   Bit
54 1 Laurent GUERBY
                         50um 62.5um                                  Rate
55 1 Laurent GUERBY
Port     Vendor Name      [m] [m]  Serial Number    Part Number     [Mbps] Rev  Compliance
56 1 Laurent GUERBY
-------- ---------------- --- ---- ---------------- ---------------- ----- ---- ----------------
57 1 Laurent GUERBY
0/49     OEM              0   0    SG35E40803862    SFP+10GSMD3120LC 10300 A    10GBase-LR
58 1 Laurent GUERBY
0/50     OPTIC            0   0    STC03051500015   OPTICSFP+10GCP3M 10300 A0   DAC
59 1 Laurent GUERBY
60 1 Laurent GUERBY
(UBNT EdgeSwitch) #show fiber-ports optics all     
61 1 Laurent GUERBY
62 1 Laurent GUERBY
                                    Output    Input
63 1 Laurent GUERBY
Port      Temp  Voltage  Current     Power    Power   TX     LOS
64 1 Laurent GUERBY
           [C]   [Volt]     [mA]     [dBm]    [dBm]   Fault
65 1 Laurent GUERBY
--------  ----  -------  -------   -------  -------   -----  ---
66 1 Laurent GUERBY
0/49      45.2    3.332     31.5    -3.079   -3.223   No     No
67 1 Laurent GUERBY
0/50       N/A      N/A      N/A       N/A      N/A   N/A    N/A
68 1 Laurent GUERBY
69 1 Laurent GUERBY
 Temp - Internally measured transceiver temperatures.
70 1 Laurent GUERBY
 Voltage - Internally measured supply voltage.
71 1 Laurent GUERBY
 Current - Measured TX bias current.
72 1 Laurent GUERBY
 Output Power - Measured optical output power relative to 1mW.
73 1 Laurent GUERBY
 Input Power - Measured optical power received relative to 1mW.
74 1 Laurent GUERBY
 TX Fault - Transmitter fault.
75 1 Laurent GUERBY
 LOS - Loss of signal.
76 2 Laurent GUERBY
</pre>
77 2 Laurent GUERBY
78 5 Bertrand Cebador
h3. Allumer un port et remplir sa description
79 5 Bertrand Cebador
80 5 Bertrand Cebador
<pre>
81 5 Bertrand Cebador
(UBNT EdgeSwitch) #conf
82 5 Bertrand Cebador
(UBNT EdgeSwitch) (Config)#interface 0/33
83 5 Bertrand Cebador
84 5 Bertrand Cebador
(UBNT EdgeSwitch) (Interface 0/33)#no shutdown
85 5 Bertrand Cebador
86 5 Bertrand Cebador
(UBNT EdgeSwitch) (Interface 0/33)#description gentilserveur
87 5 Bertrand Cebador
88 5 Bertrand Cebador
(UBNT EdgeSwitch) (Interface 0/33)#exit
89 5 Bertrand Cebador
90 5 Bertrand Cebador
(UBNT EdgeSwitch) #write memory 
91 5 Bertrand Cebador
This operation may take a few minutes.
92 5 Bertrand Cebador
Management interfaces will not be available during this time.
93 5 Bertrand Cebador
Are you sure you want to save? (y/n) y
94 5 Bertrand Cebador
95 5 Bertrand Cebador
Config file 'startup-config' created successfully .
96 5 Bertrand Cebador
97 5 Bertrand Cebador
Configuration Saved!
98 5 Bertrand Cebador
99 5 Bertrand Cebador
</pre>
100 5 Bertrand Cebador
101 2 Laurent GUERBY
<pre>
102 2 Laurent GUERBY
(UBNT EdgeSwitch) #write memory         
103 2 Laurent GUERBY
104 2 Laurent GUERBY
This operation may take a few minutes.
105 2 Laurent GUERBY
Management interfaces will not be available during this time.
106 2 Laurent GUERBY
107 2 Laurent GUERBY
Are you sure you want to save? (y/n) y
108 2 Laurent GUERBY
109 2 Laurent GUERBY
Config file 'startup-config' created successfully .
110 2 Laurent GUERBY
111 2 Laurent GUERBY
112 2 Laurent GUERBY
Configuration Saved!
113 2 Laurent GUERBY
</pre>
114 2 Laurent GUERBY
115 2 Laurent GUERBY
<pre>
116 2 Laurent GUERBY
(UBNT EdgeSwitch) #conf
117 2 Laurent GUERBY
118 2 Laurent GUERBY
(UBNT EdgeSwitch) (Config)#interface 0/35
119 2 Laurent GUERBY
120 2 Laurent GUERBY
(UBNT EdgeSwitch) (Interface 0/35)#shut
121 2 Laurent GUERBY
122 2 Laurent GUERBY
(UBNT EdgeSwitch) (Interface 0/35)#do write memory
123 2 Laurent GUERBY
124 2 Laurent GUERBY
This operation may take a few minutes.
125 2 Laurent GUERBY
Management interfaces will not be available during this time.
126 2 Laurent GUERBY
127 2 Laurent GUERBY
Are you sure you want to save? (y/n) y
128 2 Laurent GUERBY
129 2 Laurent GUERBY
Config file 'startup-config' created successfully .
130 2 Laurent GUERBY
131 2 Laurent GUERBY
132 2 Laurent GUERBY
Configuration Saved!
133 2 Laurent GUERBY
134 2 Laurent GUERBY
(UBNT EdgeSwitch) (Interface 0/35)#
135 2 Laurent GUERBY
136 2 Laurent GUERBY
</pre>
137 3 Laurent GUERBY
138 3 Laurent GUERBY
<pre>
139 3 Laurent GUERBY
(UBNT EdgeSwitch) (Config)#interface 0/12-0/15
140 3 Laurent GUERBY
141 3 Laurent GUERBY
(UBNT EdgeSwitch) (Interface 0/12-0/15)#shut
142 3 Laurent GUERBY
</pre>