Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Checkpoint network management

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

1. The interface supports aliases, namely secondary address, vlan, port aggregation (bond), bridge, PPPOE, and so on.

If you display incorrect topology information when using get topology in smartdashboard after modifying, adding, or deleting interfaces, you can first cpstop in expert mode, and then cpstart. It is equivalent to restarting the system process.

2. Cli sets the network port ip

2.1

Set interface eth2 ipv4-address 202.100.1.254 subnet-mask 255.255.255.0

Set interface eth2 mtu 1500

Set interface eth2 state on

Set interface eth2 link-speed 1000M/full

2.2

Add and remove aliases ip

Add interface eth2 alias 202.100.1.253/24

Delete interface eth2 alias eth2:2

2.3Delete vlan

Add interface vlan eth2

Set interface eth2.100 ipv4-address 10.1.100.254 subnet-mask 255.255.255.0

Set interface eth2.100 ipv6-address 209:99:1 mask-length 64

Delete interface eth2 vlan 100

Remember to save save config.

2.4 Port aggregation

2.4.1

Add bonding group

Delete bonding group

2.4.2 define bond mode

Set bonding group mode

Round-robin (default) polling

Active-backup hot standby

Xor

802.3ad

2.4.3 add bonding group interface

Add bonding group interface

Such as: add bonding group 777 interface eth5

2.4.4 set eth5 to primary

Set bonding group 777 primary eth5

3 、 arp

Add static arp

Add arp static ipv4-address VALUE macaddress VALUE

Delete

Delete arp dynamic all

Delete arp static ipv4-address ALUE

Set arp parameters

Set arp table validity-timeout VALUE

Set arp table cache-size VALUE

View arp setting parameters

Show arp dynamic all

Show arp static all

Show arp table validity-timeout

Show arp table cache-size

4. Set up static routes

Set static-route nexthop gateway address [priority] on | ip representation of the next hop of off

Nexthop gateway logical [priority] on | off next hop is represented as an API and is not recommended.

Nexthop blackhole routes black holes and discards packets directly to the destination network segment without feedback.

Nexthop reject discards the packet to its destination and gives a response.

Example:

Set static-route 192.0.2.100 nexthopgateway address 192.0.2.10 onpriority1

Set static-route 192.0.2.0/24 nexthopgateway logical eth5 on priority 2

Set static-route 192.0.2.0/24 nexthopgateway logical eth6 on priority 3

Route maintenance:

Show route static View Route

Set static-route off removes all routes to the destination network segment

Set static-route nexthop gateway off deletes an explicit route to the destination network segment

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report