13.07.2015 Views

Administration of the Avaya G350 Media Gateway - Avaya Support

Administration of the Avaya G350 Media Gateway - Avaya Support

Administration of the Avaya G350 Media Gateway - Avaya Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring policySimulating packetsUse <strong>the</strong> ip simulate command in <strong>the</strong> context <strong>of</strong> an interface to test a policy list. Thecommand tests <strong>the</strong> effect <strong>of</strong> <strong>the</strong> policy list on a simulated IP packet in <strong>the</strong> interface. You mustspecify <strong>the</strong> number <strong>of</strong> a policy list, <strong>the</strong> direction <strong>of</strong> <strong>the</strong> packet (in or out), and a source anddestination IP address. You may also specify o<strong>the</strong>r parameters. For a full list <strong>of</strong> parameters, see<strong>Avaya</strong> <strong>G350</strong> <strong>Media</strong> <strong>Gateway</strong> CLI Reference, 555-245-202.The following command simulates <strong>the</strong> effect <strong>of</strong> applying QoS list number 401 to a packetentering <strong>the</strong> <strong>G350</strong> through interface VLAN 2:<strong>G350</strong>-001(if:Vlan 2)# ip simulate 401 in CoS1 dscp46 10.1.1.110.2.2.2 tcp 1182 20The simulated packet has <strong>the</strong> following properties:● CoS priority is 1● DSCP is 46● source IP address is 10.1.1.1.● destination IP address is 10.2.2.2.●IP protocol is TCP● source TCP port is 1182● destination TCP port is 20When you run <strong>the</strong> ip simulate command, <strong>the</strong> <strong>G350</strong> displays <strong>the</strong> effect <strong>of</strong> <strong>the</strong> policy rules on<strong>the</strong> simulated packet. For example:<strong>G350</strong>-001(super-if:Vlan 2)# ip simulate 401 in CoS1 dscp46 10.1.1.110.2.2.2 tcp 1182 20Rule match for simulated packet is <strong>the</strong> default ruleComposite action for simulated packet is CoS6New priority value is fwd6Dscp value is not changed272 <strong>Administration</strong> <strong>of</strong> <strong>the</strong> <strong>Avaya</strong> <strong>G350</strong> <strong>Media</strong> <strong>Gateway</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!