CLI commands
pt
pm
78
Uplink port trunking setting.
pt {1 | 2 | 3 | 4 | 5 | 6}
•
1 uplink trunking by source MAC address
•
2 uplink trunking by destination MAC address
•
3 uplink trunking by both source and destination MAC address
•
4 uplink trunking by source IP address
•
5 uplink trunking by destination IP address
•
6 uplink trunking by both source and destination IP address
Example
Use the following command to set port trunking to uplink trunking by source IP
address.
pt 4
Enable (1) or disable (0) port mirroring for a port configured for gigabit speed. This
command will not work on ports configured for 10 mpbs or 100 mbps.
pm {0 | 1} <port_no> <ingress_hex> <egress_hex>
•
<ingress_hex> is the hex code bitmap for the ingress port and can be 1 to fff
•
<egress_hex> is the hex code bitmap for the egress port and can be 1 to fff
Hex codes are used to represent the ports:
0x001 check port 0
0x002 check port 1
0x004 check port 2
0x008 check port 3
0x010 check port 4
0x020 check port 5
0x040 check port 6
0x080 check port 7
0x100 check port 8
0x200 check port 9
0x400 check port 10
0x800 check port 11
You can also specify combinations of ports:
0x003 check port 0 and 1
0x007 check port 0, 1, and 2
0x380 check ports 7, 8, 9
...
01-28004-0028-20040830
Switched interface configuration
Fortinet Inc.
Need help?
Do you have a question about the FortiGate FortiGate-4000 and is the answer not in the manual?