Configuration Guide
5G Interface Configuration Guide
6 min
introduction introduction the device supports communication via cellular networks after a sim card is inserted the module supports 3g/4g/5g networks and dual sim cards for slot 1 (the upper slot), insert the sim card with the chip facing down and the notch facing inward for slot 2 (the lower slot), insert the sim card with the chip facing up and the notch facing inward 5g interface configuraton 5g interface configuraton create a 5g interface create a 5g interface operation command description enter the system configuration view configure create a 5g interface interface cellular 1 configure dial up dial up apn string enable nat translation nat zone 1 create a route create a route operation command description enter the system configuration view configure create a route ip route a b c d/m cellular 1 example of 5g interface configuration example of 5g interface configuration network requirements the company requires that the internal network be able to translate private ip addresses to public ip addresses and connect to the wide area network via a cellular network procedure sonic(config)# vlan 100 sonic(config)# dhcp pool test sonic(config dhcp pool test)# network 100 0 0 1 255 255 255 0 sonic(config dhcp pool test)# address pool 100 0 0 100 100 0 0 200 sonic(config dhcp pool test)# dns 114 114 114 114 sonic(config dhcp pool test)# routers 100 0 0 1 sonic(config)# nat enable sonic(config)# interface ethernet 1 sonic(config if 1)# switchport access vlan 100 sonic(config)# interface vlan 100 sonic(config vlanif 100)# dhcp select server sonic(config vlanif 100)# ip address 100 0 0 1/24 sonic(config)# interface cellular 1 sonic(config cellular 1)# dial up apn 3gnet sonic(config cellular 1)# nat zone 1 sonic(config)# ip route 0 0 0 0/0 cellular 1 example of 5g interface as a backup port example of 5g interface as a backup port network requirements the company requires that the internal network be able to translate private ip addresses to public ip addresses, connect to the wide area network via physical ports, and use the 5g interface as a backup exit procedure sonic(config)# vlan 100 sonic(config)# dhcp pool test sonic(config dhcp pool test)# network 100 0 0 1 255 255 255 0 sonic(config dhcp pool test)# address pool 100 0 0 100 100 0 0 200 sonic(config dhcp pool test)# dns 114 114 114 114 sonic(config dhcp pool test)# routers 100 0 0 1 sonic(config)# interface ethernet 1 sonic(config if 1)# switchport access vlan 100 sonic(config)# interface vlan 100 sonic(config vlanif 100)# dhcp select server sonic(config vlanif 100)# ip address 100 0 0 1/24 sonic(config)# nat enable sonic(config)# nat pool test 10 0 0 100 sonic(config)# nat binding test test sonic(config)# interface ethernet 2 sonic(config if 2)# ip address 10 0 0 100/24 sonic(config if 2)# nat zone 1 sonic(config)# interface cellular 1 sonic(config cellular 1)# dial up apn 3gnet sonic(config cellular 1)# nat zone 1 sonic(config)# sla 1 icmp echo dst ip 10 0 0 1 sonic(config)# track 1 sonic(config track 1)# route 0 0 0 0/0 10 0 0 1 sonic(config track 1)# sla 1 sonic(config)# ip route 0 0 0 0/0 cellular 1 10
