ESR Series Routers Operation Manual
105
esr(config-zone-pair-rule)#
match source-port dhcp_client
esr(config-zone-pair-rule)#
match destination-port dhcp_server
esr(config-zone-pair-rule)#
enable
esr(config-zone-pair-rule)#
exit
esr(config-zone-pair)#
exit
Enable ICMP transmission to the device. For BRAS operation you need to open ports for web
proxying - TCP 3129/3128 (NetPortDiscovery Port/Active API Server port:
esr(config)#
object-group service bras
esr(config-object-group-service)#
port-range 3129
esr(config-object-group-service)#
port-range 3128
esr(config-object-group-service)#
exit
esr(config)#
security zone-pair trusted self
esr(config-zone-pair)#
rule 10
esr(config-zone-pair-rule)#
action permit
esr(config-zone-pair-rule)#
match protocol tcp
esr(config-zone-pair-rule)#
match source-address any
esr(config-zone-pair-rule)#
match destination-address any
esr(config-zone-pair-rule)#
match source-port any
esr(config-zone-pair-rule)#
match destination-port bras
esr(config-zone-pair-rule)#
enable
esr (config-zone-pair-rule)#
exit
esr(config-zone-pair)#
rule 20
esr(config-zone-pair-rule)#
action permit
esr(config-zone-pair-rule)#
match protocol icmp
esr(config-zone-pair-rule)#
match source-address any
esr(config-zone-pair-rule)#
match destination-address any
esr(config-zone-pair-rule)#
enable
esr(config-zone-pair-rule)#
exit
esr(config-zone-pair-rule)#
exit
esr(config)#
security zone-pair dmz self
esr(config-zone-pair)#
rule 20
esr(config-zone-pair-rule)#
action permit
esr(config-zone-pair-rule)#
match protocol icmp
esr(config-zone-pair-rule)#
match source-address any
esr(config-zone-pair-rule)#
match destination-address any
esr(config-zone-pair-rule)#
enable
esr(config-zone-pair-rule)#
exit
esr(config-zone-pair-rule)#
exit
esr(config)#
security zone-pair untrusted self
esr(config-zone-pair)#
rule 20
esr(config-zone-pair-rule)#
action permit
esr(config-zone-pair-rule)#
match protocol icmp
esr(config-zone-pair-rule)#
match source-address any
esr(config-zone-pair-rule)#
match destination-address any
esr(config-zone-pair-rule)#
enable
esr(config-zone-pair-rule)#
exit
esr(config-zone-pair-rule)#
exit
Activate DHCP-Relay:
esr(config)#
ip dhcp-relay
Configure SNAT for gigabitethernet 1/0/1 port:
esr(config)#
nat source
esr(config-snat)#
ruleset inet
esr(config-snat-ruleset)#
to interface gigabitethernet 1/0/1
esr(config-snat-ruleset)#
rule 10
esr(config-snat-rule)#
match source-address any
esr(config-snat-rule)#
action source-nat interface
esr(config-snat-rule)#
enable
esr(config-snat-rule)#
end
Configuration changes will take effect when the configuration is applied: