How to send bunch of commands to Cisco router from txt file like:
configure
class-map match-any popc_fiberpower004_booster_v4
match access-group ipv4 bng_permit_v4
match access-group ipv6 bng_permit_v6
end-class-map
policy-map popc_fiberpower004_booster_v4_in
class popc_fiberpower004_booster_v4
police rate 110 mbps
set dscp 0
class class-default
end-policy-map
And of course from Expect script via telnet. Thank you in advance for help.