firewall Commands
450
E-DOC-CTC-20080619-0007 v1.0
firewall rule add
Add a rule.
SYNTAX:
firewall rule add
chain = <chain name>
[index = <number>]
[name = <string>]
[clink = <chain name>]
[srcintf [!] = <{wan|local|lan|tunnel|dmz|
guest}>]
[srcip [!] = <{private|ssdp_ip|mdap_ip}>]
[dstintf [!] = <{wan|local|lan|tunnel|dmz|
guest}>]
[dstip [!] = <{private|ssdp_ip|mdap_ip}>]
[serv [!] = <{icmp|igmp|ftp|telnet|http|
httpproxy|https|RPC|NBT|SMB|imap|esp|ah|
ike|DiffServ|sip|h323|dhcp|rtsp|ssdp_serv|
mdap_serv|syslog}>]
[log = <{disabled|enabled}>]
[state = <{disabled|enabled}>]
action = <{accept|deny|drop|reset|count|link}>
where:
chain
The name of the chain which contains the rule.
REQUIRED
index
The index of the rule in the chain.
OPTIONAL
name
The name of the new rule.
OPTIONAL
clink
The name of the chain to be parsed when this
rule applies.
OPTIONAL
srcintf [!]
The name of the source interface expression.
If a value is preceded by a “!”, it means NOT.
OPTIONAL
srcip [!]
The name of the source ip expression.
If a value is preceded by a “!”, it means NOT.
OPTIONAL
dstintf [!]
The name of the destination interface
expression.
If a value is preceded by a “!”, it means NOT.
OPTIONAL
dstip [!]
The name of the destination ip expression.
If a value is preceded by a “!”, it means NOT.
OPTIONAL
serv [!]
The name of the service expression.
If a value is preceded by a “!”, it means NOT.
OPTIONAL
Summary of Contents for TG784-SIP
Page 2: ......
Page 3: ...THOMSON TG784 SIP CLI Reference Guide R8 2 ...
Page 30: ... Command 30 E DOC CTC 20080619 0007 v1 0 ...
Page 31: ... Command E DOC CTC 20080619 0007 v1 0 31 Command Displays this help information ...
Page 32: ... Command 32 E DOC CTC 20080619 0007 v1 0 ...
Page 33: ... Command E DOC CTC 20080619 0007 v1 0 33 Command Exits group selection ...
Page 34: ...atm Commands 34 E DOC CTC 20080619 0007 v1 0 ...
Page 38: ...atm Commands 38 E DOC CTC 20080619 0007 v1 0 atm cac list List all CAC parameters ...
Page 44: ...atm Commands 44 E DOC CTC 20080619 0007 v1 0 atm flush Flush all ATM interfaces ...
Page 51: ...atm Commands E DOC CTC 20080619 0007 v1 0 51 atm oam cc list Display CC configuration ...
Page 55: ...atm Commands E DOC CTC 20080619 0007 v1 0 55 atm oam list Display the ATM OAM settings ...
Page 63: ...atm Commands E DOC CTC 20080619 0007 v1 0 63 atm phonebook flush Flush all phonebook entries ...
Page 64: ...atm Commands 64 E DOC CTC 20080619 0007 v1 0 atm phonebook list Display the phonebook ...
Page 71: ...atm Commands E DOC CTC 20080619 0007 v1 0 71 atm qosbook flush Flush all qosbook entries ...
Page 72: ...atm Commands 72 E DOC CTC 20080619 0007 v1 0 atm qosbook list Display the qosbook ...
Page 75: ...config Commands E DOC CTC 20080619 0007 v1 0 75 config dump Show the saved configuration file ...
Page 80: ...connection Commands 80 E DOC CTC 20080619 0007 v1 0 ...
Page 88: ...connection Commands 88 E DOC CTC 20080619 0007 v1 0 connection clear Kill all connections ...
Page 100: ...contentsharing Commands 100 E DOC CTC 20080619 0007 v1 0 ...
Page 108: ...cwmp Commands 108 E DOC CTC 20080619 0007 v1 0 ...
Page 114: ...debug Command 114 E DOC CTC 20080619 0007 v1 0 ...
Page 116: ...dhcp Commands 116 E DOC CTC 20080619 0007 v1 0 ...
Page 124: ...dhcp Commands 124 E DOC CTC 20080619 0007 v1 0 dhcp client flush Delete all DHCP clients ...
Page 155: ...dhcp Commands E DOC CTC 20080619 0007 v1 0 155 dhcp rule flush Flush all DHCP rules ...
Page 156: ...dhcp Commands 156 E DOC CTC 20080619 0007 v1 0 dhcp rule list List all DHCP rules ...
Page 198: ...dns Commands 198 E DOC CTC 20080619 0007 v1 0 ...
Page 203: ...dns Commands E DOC CTC 20080619 0007 v1 0 203 dns client dnslist List all DNS servers ...
Page 204: ...dns Commands 204 E DOC CTC 20080619 0007 v1 0 dns client flush Remove all DNS servers ...
Page 217: ...dns Commands E DOC CTC 20080619 0007 v1 0 217 dns server host flush Flush all local DNS hosts ...
Page 218: ...dns Commands 218 E DOC CTC 20080619 0007 v1 0 dns server host list List all local DNS hosts ...
Page 234: ...dsd Commands 234 E DOC CTC 20080619 0007 v1 0 dsd syslog list Display HTTPI log file ...
Page 241: ...dsd Commands E DOC CTC 20080619 0007 v1 0 241 dsd webfilter cache flush Empty internal cache ...
Page 264: ...dsd Commands 264 E DOC CTC 20080619 0007 v1 0 dsd webfilter server flush Flush server list ...
Page 286: ...dyndns Commands 286 E DOC CTC 20080619 0007 v1 0 dyndns flush Delete all dynamic DNS clients ...
Page 289: ...dyndns Commands E DOC CTC 20080619 0007 v1 0 289 dyndns host flush Delete all host names ...
Page 290: ...dyndns Commands 290 E DOC CTC 20080619 0007 v1 0 dyndns host list List all host names ...
Page 291: ...dyndns Commands E DOC CTC 20080619 0007 v1 0 291 dyndns list List all dynamic DNS clients ...
Page 298: ...env Commands 298 E DOC CTC 20080619 0007 v1 0 env list List all environment variables ...
Page 357: ...eth Commands E DOC CTC 20080619 0007 v1 0 357 eth bridge vlan iflist Display all vitual LAN s ...
Page 383: ...eth Commands E DOC CTC 20080619 0007 v1 0 383 eth filter template flush Remove all filters ...
Page 390: ...eth Commands 390 E DOC CTC 20080619 0007 v1 0 eth flush Flush all ETH interfaces ...
Page 400: ...eth Commands 400 E DOC CTC 20080619 0007 v1 0 eth switch info Display switch capabilities ...
Page 406: ...eth Commands 406 E DOC CTC 20080619 0007 v1 0 eth switch qos list Display qos configuration ...
Page 413: ...eth Commands E DOC CTC 20080619 0007 v1 0 413 eth switch share list Display shared ports ...
Page 418: ...eth Commands 418 E DOC CTC 20080619 0007 v1 0 eth vlan flush Flush all virtual LAN s ...
Page 419: ...eth Commands E DOC CTC 20080619 0007 v1 0 419 eth vlan list Display all virtual LAN s ...
Page 420: ...exit Command 420 E DOC CTC 20080619 0007 v1 0 ...
Page 421: ...exit Command E DOC CTC 20080619 0007 v1 0 421 exit Command Exits this shell ...
Page 422: ...expr Commands 422 E DOC CTC 20080619 0007 v1 0 ...
Page 428: ...expr Commands 428 E DOC CTC 20080619 0007 v1 0 expr flush Flush all expressions ...
Page 436: ...firewall Commands 436 E DOC CTC 20080619 0007 v1 0 firewall chain flush Flush all chains ...
Page 460: ...grp Commands 460 E DOC CTC 20080619 0007 v1 0 ...
Page 469: ...help Command E DOC CTC 20080619 0007 v1 0 469 help Command Displays this help information ...
Page 470: ...hostmgr Commands 470 E DOC CTC 20080619 0007 v1 0 ...
Page 473: ...hostmgr Commands E DOC CTC 20080619 0007 v1 0 473 hostmgr clear Remove all host devices ...
Page 478: ...ids Commands 478 E DOC CTC 20080619 0007 v1 0 ...
Page 480: ...ids Commands 480 E DOC CTC 20080619 0007 v1 0 ids clear Clear IDS statistics ...
Page 484: ...ids Commands 484 E DOC CTC 20080619 0007 v1 0 ids pattern clear Reset pattern tracker ...
Page 489: ...ids Commands E DOC CTC 20080619 0007 v1 0 489 ids threshold clear Reset IDS thresholds ...
Page 490: ...ids Commands 490 E DOC CTC 20080619 0007 v1 0 ids threshold list Display IDS thresholds ...
Page 492: ...igmp Commands 492 E DOC CTC 20080619 0007 v1 0 ...
Page 495: ...igmp Commands E DOC CTC 20080619 0007 v1 0 495 igmp host debug clear Clear IGMP statistics ...
Page 496: ...igmp Commands 496 E DOC CTC 20080619 0007 v1 0 igmp host debug stats Print IGMP statistics ...
Page 497: ...igmp Commands E DOC CTC 20080619 0007 v1 0 497 igmp host flush Flush the IGMP settings ...
Page 510: ...interface Command 510 E DOC CTC 20080619 0007 v1 0 ...
Page 512: ...ip Commands 512 E DOC CTC 20080619 0007 v1 0 ...
Page 517: ...ip Commands E DOC CTC 20080619 0007 v1 0 517 ip arplist Display the ARP cache ...
Page 518: ...ip Commands 518 E DOC CTC 20080619 0007 v1 0 ip auto flush Flushes autoIP interfaces ...
Page 541: ...ip Commands E DOC CTC 20080619 0007 v1 0 541 ip iplist Display all configured IP addresses ...
Page 542: ...ip Commands 542 E DOC CTC 20080619 0007 v1 0 ip mcast flush Flush the multicast routing table ...
Page 550: ...ipqos Commands 550 E DOC CTC 20080619 0007 v1 0 ...
Page 554: ...ipqos Commands 554 E DOC CTC 20080619 0007 v1 0 ipqos ef list Display the IP QoS EF timers ...
Page 556: ...ipqos Commands 556 E DOC CTC 20080619 0007 v1 0 ipqos list Display the IP QoS configuration ...
Page 557: ...ipqos Commands E DOC CTC 20080619 0007 v1 0 557 ipqos queue clear Clear the IP QoS statistics ...
Page 565: ...label Commands E DOC CTC 20080619 0007 v1 0 565 label chain flush Flush all chains ...
Page 568: ...label Commands 568 E DOC CTC 20080619 0007 v1 0 label flush Flush all label ...
Page 591: ...mbus Commands E DOC CTC 20080619 0007 v1 0 591 mbus debug clearstats Reset mbus statistics ...
Page 593: ...mbus Commands E DOC CTC 20080619 0007 v1 0 593 mbus debug stats Display mbus statistics ...
Page 604: ...memm Commands 604 E DOC CTC 20080619 0007 v1 0 memm debug clearstats Clear time statistics ...
Page 605: ...memm Commands E DOC CTC 20080619 0007 v1 0 605 memm debug lock stats Display lock statistics ...
Page 612: ...menu Command 612 E DOC CTC 20080619 0007 v1 0 ...
Page 613: ...menu Command E DOC CTC 20080619 0007 v1 0 613 menu Command Displays menu ...
Page 614: ...mlp Commands 614 E DOC CTC 20080619 0007 v1 0 ...
Page 616: ...mlp Commands 616 E DOC CTC 20080619 0007 v1 0 mlp debug export Export all scores ...
Page 617: ...mlp Commands E DOC CTC 20080619 0007 v1 0 617 mlp debug stats Display mlp statisctics ...
Page 619: ...mlp Commands E DOC CTC 20080619 0007 v1 0 619 mlp flush Flush all mlp structures ...
Page 635: ...nat Commands E DOC CTC 20080619 0007 v1 0 635 nat flush Flush current NAT configuration ...
Page 637: ...nat Commands E DOC CTC 20080619 0007 v1 0 637 nat iflist Display all interfaces ...
Page 646: ...ping Command 646 E DOC CTC 20080619 0007 v1 0 ...
Page 648: ...ppp Commands 648 E DOC CTC 20080619 0007 v1 0 ...
Page 650: ...ppp Commands 650 E DOC CTC 20080619 0007 v1 0 ppp flush Flush all PPP interfaces ...
Page 668: ...pptp Commands 668 E DOC CTC 20080619 0007 v1 0 ...
Page 670: ...pptp Commands 670 E DOC CTC 20080619 0007 v1 0 pptp flush Flushes the PPTP configuration ...
Page 672: ...pptp Commands 672 E DOC CTC 20080619 0007 v1 0 pptp list Shows PPTP configuration ...
Page 675: ...pptp Commands E DOC CTC 20080619 0007 v1 0 675 pptp proflist Lists PPTP profiles ...
Page 676: ...printersharing Commands 676 E DOC CTC 20080619 0007 v1 0 ...
Page 685: ...saveall Command E DOC CTC 20080619 0007 v1 0 685 saveall Command Saves current configuration ...
Page 686: ...script Commands 686 E DOC CTC 20080619 0007 v1 0 ...
Page 690: ...script Commands 690 E DOC CTC 20080619 0007 v1 0 script flush Flush scripts ...
Page 702: ...service Commands 702 E DOC CTC 20080619 0007 v1 0 service host flush Flush all services ...
Page 706: ...service Commands 706 E DOC CTC 20080619 0007 v1 0 service host stats Service statistics ...
Page 707: ...service Commands E DOC CTC 20080619 0007 v1 0 707 service host triggerlist List all triggers ...
Page 716: ...sntp Commands 716 E DOC CTC 20080619 0007 v1 0 ...
Page 723: ...sntp Commands E DOC CTC 20080619 0007 v1 0 723 sntp list List the NTP servers ...
Page 724: ...software Commands 724 E DOC CTC 20080619 0007 v1 0 ...
Page 740: ...system Commands 740 E DOC CTC 20080619 0007 v1 0 system flush Flush system configuration ...
Page 743: ...system Commands E DOC CTC 20080619 0007 v1 0 743 system reboot Reboot the modem ...
Page 764: ...tod Commands 764 E DOC CTC 20080619 0007 v1 0 tod action list List actions ...
Page 770: ...tod Commands 770 E DOC CTC 20080619 0007 v1 0 tod list List config ...
Page 775: ...tod Commands E DOC CTC 20080619 0007 v1 0 775 tod schedule list List schedules ...
Page 780: ...upnp Commands 780 E DOC CTC 20080619 0007 v1 0 ...
Page 783: ...upnp Commands E DOC CTC 20080619 0007 v1 0 783 upnp flush Flushes upnp config i e to defaults ...
Page 789: ...user Commands E DOC CTC 20080619 0007 v1 0 789 user flush Flush the users ...
Page 791: ...user Commands E DOC CTC 20080619 0007 v1 0 791 user rights Display session rights ...
Page 792: ...voice Commands 792 E DOC CTC 20080619 0007 v1 0 ...
Page 807: ...voice Commands E DOC CTC 20080619 0007 v1 0 807 voice country list Show the selected country ...
Page 818: ...voice Commands 818 E DOC CTC 20080619 0007 v1 0 action Action parameter REQUIRED ...
Page 820: ...voice Commands 820 E DOC CTC 20080619 0007 v1 0 voice dns list Show the DNS configuration ...
Page 822: ...voice Commands 822 E DOC CTC 20080619 0007 v1 0 voice fax list Show the fax configuration ...
Page 827: ...voice Commands E DOC CTC 20080619 0007 v1 0 827 voice list Display the general parameters ...
Page 833: ...voice Commands E DOC CTC 20080619 0007 v1 0 833 voice profile flush Flush all profiles ...
Page 834: ...voice Commands 834 E DOC CTC 20080619 0007 v1 0 voice profile list Show all profiles ...
Page 837: ...voice Commands E DOC CTC 20080619 0007 v1 0 837 voice qos list Show the QOS configuration ...
Page 878: ...voice Commands 878 E DOC CTC 20080619 0007 v1 0 voice state show VOIP service states ...
Page 894: ...wireless Commands 894 E DOC CTC 20080619 0007 v1 0 ...
Page 897: ...wireless Commands E DOC CTC 20080619 0007 v1 0 897 wireless debug stats Transfer statistics ...
Page 928: ...wireless Commands 928 E DOC CTC 20080619 0007 v1 0 wireless wds flush Flush all wds stations ...
Page 929: ...wireless Commands E DOC CTC 20080619 0007 v1 0 929 wireless wds list list WDS stations ...
Page 932: ...wireless Commands 932 E DOC CTC 20080619 0007 v1 0 wireless wps dump Dump WPS settings ...
Page 945: ...xdsl Commands E DOC CTC 20080619 0007 v1 0 945 xdsl version Display xdsl version information ...