
8. Disconnect with netopeer2-server:
> disconnect
6.4.8 Application scenarios
1. Prerequisites
a. Start netopeer2-cli on the computer with netopeer2-cli installed:
$ netopeer2-cli
b. Connect to notopeer2-server:
> connect --login root --host 10.193.20.53
2. Config IP address
a. Edit configuration file, change Ethernet interface name and IP:
$ vim ietf-ip-cfg.xml
b. Send configuration file:
> edit-config --target running --config=ietf-ip-cfg.xml
3. Config MAC address for bridge
a. Create a bridge named br1
$ ip link add name br1 type bridge
b. Edit configuration file, change bridge name and MAC:
$ vim ietf-mac-cfg.xml
c. Send configuration file:
> edit-config --target running --config=ietf-mac-cfg.xml
4. Add VLAN for Ethernet interface
a. Create a bridge named br1
$ ip link add name br1 type bridge
b. Edit configuration file, change interface name and VLAN ID:
$ vim ietf-vlan-cfg.xml
c. Send configuration file:
> edit-config --target running --config=ietf-vlan-cfg.xml
5. Config Qbv via tc flower (only for LS1021ATSN)
a. Edit configuration file, change interface name and VLAN ID:
$ vim qbv-swp5-tc.xml
b. Send configuration file:
> edit-config --target running --config=qbv-swp5-tc.xml
Note: If want to use tc flower instead of tsntool, should enable the following definition in menuconfig:
config BR2_PACKAGE_QORIQ_SYSREPO_TSN_TC
bool "enable tc command to configure tsn"
NXP Semiconductors
NETCONF/YANG
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
84 / 199