Motorola 7.7.4 Pass discard continue, Set dhcp filterset name string rule n match-str matchstring

Models: 7.7.4

1 351
Download 351 pages 50.78 Kb
Page 205
Image 205

CONFIG Commands

[ pass discard continue ]

Assigns an absent action to the filterset. If set to pass the absent-pooladdress is hid- den.

set dhcp filterset name "string" rule n match-option-group "option_group*"

Assigns the option group named option_group to match.

set dhcp filterset name "string" rule n match-str "match_string*"

Assigns a match string to the filterset. The match-strstring will be compared against the DHCP DISCOVER option data. This string can contain multiple “*” and “?” wildcard substi- tutions.

set dhcp filterset name "string" rule n match-pool ip_address

Specifies the start IP address of the range within a DHCP pool where that range will be used to allocate an address if the wildcard matches.

The value 0.0.0.0 means regular processing; 255.255.255.255 means discard.

set dhcp filterset name "string" rule n absent-pool ip_address

Specifies the start IP address of the range within a DHCP pool where that range will be used to allocate an address if the option in the DHCP packet is not present.

The value 0.0.0.0 means regular processing; 255.255.255.255 means discard.

Example

Netopia-3000/9450000 (dhcp)>> sc set dhcp option server

set dhcp start-address 192.168.1.33 set dhcp end-address 192.168.1.63 set dhcp lease-time 01:00:00:00

set dhcp filterset name "settopbox" rule 1 dhcp-option 60 set dhcp filterset name "settopbox" rule 1 match-str "STB*" set dhcp filterset name "settopbox" rule 1 match-pool

205

Page 205
Image 205
Motorola 7.7.4 manual Pass discard continue, Set dhcp filterset name string rule n match-str matchstring, 205