Common ROS routing commands

Source: Internet
Author: User

Show print

Interface
View interface print
Enable device interface> enable Name
Device name Change interface> set ether1 name = LAN; set ethername = WAN

Configure command setup

Configure IP ip address> add address 192.168.0.1/24 interface LAN
Ip address> add address 58.58.58.58 netmask 255.255.255.0 interface WAN

View route ip route> print
Ip route> print detail
Add route ip route> add gateway = 58.58.58.60
Test route ping 58.58.58.60

Use the disguised ip address firewall nat> add chain = srcnat action = masquerade out-interface = WAN

Single-host speed limit queue simple> add target-address = 192.168.1.1 max-limit = 64000/64000 interface = LAN

NAT ing ip firewall nat> add chain = dstnat action = dst-nat protocol = tcp dst-address = 58.58.58.58/32 dst-port = 80 to-addresses = 192.168.1.1

Save backup system backup> save name = test
View backup file print
Import backup system backup> load name = test

Export configuration ip address print
Ip address> export file = address
Ip address> export file = address1 from = 1
Ip address> export from = 0, 1
View file print
Import configuration import address. rsc

Backup ARP ip arp export file = arp
Backup ARP import arp. rsc

Reset system reset

View system resource> print
Cpu/memory system resource monitor

Restart system reboot
Shutdown system shutdown

Service setting ip service
Set and change ip service> set www port = 8888 address = 58.58.58.0/30

Traffic Monitoring interface> monitor-traffic LAN, WAN

Add MAC ip arp> add address = 192.168.1.1 interface = LAN mac-address = 00: 00: 00: 00: 00: 00: 00
MAC static: foreach I in [/ip arp find dynamic = yes interface = LAN] do = {/ip arp add copy-from = $ I}
Nic static ip arp>/interface ethernet set LAN arp = reply-only

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.