Configure L2/L3 from Linux Shell
Configure L2/L3 via Linux Shell on PicOS.Â
admin@XorPlus:~$cli -c "configure;set vlans vlan-id 100;commit" Synchronizing configuration...OK. Welcome to PicOS L2/L3 on XorPlus admin@XorPlus> Execute command: configure. Entering configuration mode. There are no other users in configuration mode. admin@XorPlus# Execute command: set vlans vlan-id 100. admin@XorPlus# Execute command: commit . The configuration has been changed by user admin DELTAS: vlans { vlan-id 100 { vlan-name: "default" } } Commit OK. Save done. admin@XorPlus# admin@XorPlus:~$
Show the Configuration via Linux Shell
admin@XorPlus:~$cli -c "show vlans" Synchronizing configuration...OK. Welcome to PicOS L2/L3 on XorPlus admin@XorPlus> Execute command: show vlans . VlanID Tag Interfaces ------ -------- ------------------------------------------------------ 1 untagged ge-1/1/1, ge-1/1/2, ge-1/1/3, ge-1/1/4, ge-1/1/5 ge-1/1/6, ge-1/1/7, ge-1/1/8, ge-1/1/9, ge-1/1/10 ge-1/1/11, ge-1/1/12, ge-1/1/13, ge-1/1/14, ge-1/1/15 ge-1/1/16, ge-1/1/17, ge-1/1/18, ge-1/1/19, ge-1/1/20 ge-1/1/21, ge-1/1/22, ge-1/1/23, ge-1/1/24, ge-1/1/25 ge-1/1/26, ge-1/1/27, ge-1/1/28, ge-1/1/29, ge-1/1/30 ge-1/1/31, ge-1/1/32, ge-1/1/33, ge-1/1/34, ge-1/1/35 ge-1/1/36, ge-1/1/37, ge-1/1/38, ge-1/1/39, ge-1/1/40 ge-1/1/41, ge-1/1/42, ge-1/1/43, ge-1/1/44, ge-1/1/45 ge-1/1/46, ge-1/1/47, ge-1/1/48, te-1/1/49, te-1/1/50 te-1/1/51, te-1/1/52 tagged 100 untagged tagged admin@XorPlus> admin@XorPlus:~$
Copyright © 2024 Pica8 Inc. All Rights Reserved.