Ниже приведена последовательность команд:
Код:
$ delete bridge port intf portid 386
Entry Deleted
$ delete ethernet intf ifname eth-1
Entry Deleted
$ create ethernet intf ifname eth-1
Entry Created
$ create bridge port intf portid 386 ifname eth-1
Entry Created
$ get ethernet intf ifname eth-1
Interface : eth-1
Type : Uplink UseDhcp : False
IP Address : 0.0.0.0 Mask : 0.0.0.0
Pkt Type : ALL
Orl(mbps) : 300
Configured Duplex : auto Duplex : -
Configured Speed : auto
Profile Name : SPPROFILE
Mgmt VLAN Index : -
Mgmt S-VLAN Index : -
Mgmt T-VLAN Index : 0
Tagged Mgmt PDU Prio : -
trfclassprofileid : 2
Ctl Pkts Instance Id : 0 Ctl Pkts Group Id :none
M2VMacDbId : none
Speed : -
Oper Status : Down Admin Status : Up
Как видим из вышеизложенного, интерфейс eth-1 создан как uplink.