Wiki source code of Configurando a interface para 1Gbps
Last modified by Jean Franco on 2024/06/09 20:44
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
![]() |
1.1 | 1 | **<these commands were used to set the cogent fiber interface to 1Gbps full duplex which was necessary to for the connection to work but was not an option in the gui⦠every time you make a change to this interface in the gui you will need to run these commands again in cli>** |
| 2 | |||
| 3 | set interfaces ethernet eth3 speed 1000 | ||
| 4 | |||
| 5 | set interfaces ethernet eth3 duplex full | ||
| 6 | |||
| 7 | **<these commands were used to restrict inbound access to all of DR from a Deny Group>** | ||
| 8 | |||
| 9 | set firewall group network-group DENY_GROUP network 209.x.x.0/24 | ||
| 10 | |||
| 11 | |||
| 12 | set firewall name DENY_TRAFFIC default-action accept | ||
| 13 | |||
| 14 | set firewall name DENY_TRAFFIC description 'IPv4 inbound traffic' | ||
| 15 | |||
| 16 | set firewall name DENY_TRAFFIC enable-default-log | ||
| 17 | |||
| 18 | |||
| 19 | set firewall name DENY_TRAFFIC rule 10 action drop | ||
| 20 | |||
| 21 | set firewall name DENY_TRAFFIC rule 10 description 'Deny traffic from select IPs' | ||
| 22 | |||
| 23 | set firewall name DENY_TRAFFIC rule 10 log enable | ||
| 24 | |||
| 25 | set firewall name DENY_TRAFFIC rule 10 protocol all | ||
| 26 | |||
| 27 | set firewall name DENY_TRAFFIC rule 10 source group network-group DENY_GROUP | ||
| 28 | |||
| 29 | |||
| 30 | set interfaces ethernet eth1 firewall in name DENY_TRAFFIC | ||
| 31 | |||
| 32 | set interfaces ethernet eth3 firewall in name DENY_TRAFFIC |
