10: Configuring an Ethernet interface
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW6600 Series User manual
Issue: 1.7
Page 104 of 519
10.5.2
Configuring port maps using UCI
The configuration files are stored on /etc/config/network
root@VA_router:~# uci show network
……
network.@va_switch[0]=va_switch
network.@va_switch[0].eth0=A
network.@va_switch[0].eth1=B
network.@va_switch[0].eth2=C
network.@va_switch[0].eth3=D
To change any of the above values use
uci set
command.
10.5.3
Configuring port map using package options
The configuration files are stored on /etc/config/network
root@VA_router:~# uci export network
…..
config va_switch
option eth0 'A'
option eth1 'B'
option eth2 'C'
option eth3 'D'
To change any of the above values use
uci set
command.
10.5.4
ATM bridges
The ATM bridges section is not used when configuring an Ethernet interface.
10.6
Interface diagnostics
10.6.1
Interfaces status
To show the current running interfaces, enter:
root@VA_router:~# ifconfig
3g-CDMA Link encap:Point-to-Point Protocol
inet addr:10.33.152.100 P-t-P:178.72.0.237 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3