H3C LS-5100-16P-SI-OVS-H3 Configuration page 188

Low-end ethernet switches
Table of Contents

Advertisement

Routing
H3C Low-End Ethernet Switches Configuration Examples
2 196.1.3.1 10 ms
3 196.1.1.3 8 ms
4 206.1.2.1 13 ms
5 166.1.1.2 13 ms
<S400_0> tracert -a 166.1.3.1 162.1.3.1
traceroute to
1 206.1.6.3 11 ms
2 196.1.3.1 14 ms
3 196.3.1.2 10 ms
4 196.2.2.2 14 ms
5 206.1.4.1 13 ms
6 166.1.2.2 13 ms
II. Trace the packet forwarding path after the MED is modified
# Create AS path ACL 1 and permit the routes whose AS_PATH starts with 100 and
ends with 200.
[S400] ip as-path-acl 1 permit ^100 200$
# Display the routes that match AS path ACL 1.
<S400> display bgp routing as-path-acl 1
Flags:
Dest/Mask
----------------------------------------------------------------------
#^
162.1.1.0/24
#
162.1.1.0/24
#^
162.1.2.0/24
#
162.1.2.0/24
#^
166.1.1.0/24
200
#
166.1.1.0/24
200
#^
206.1.3.0
200
# Create AS path ACL 2 and permit the routes whose AS_PATH starts with 100 and
ends with 300.
[S400] ip as-path-acl 2 permit ^100 300$
# Display the routes that match AS path ACL 2.
<S400> display bgp routing as-path-acl 2
Flags:
3 ms
8 ms
3 ms
3 ms
4 ms
3 ms
4 ms
3 ms
162.1.3.1(162.1.3.1) 30 hops max,40 bytes packet
3 ms
3 ms
4 ms
5 ms
8 ms
17 ms
3 ms
3 ms
3 ms
3 ms
3 ms
4 ms
# - valid
^ - active
D - damped
H - history
Next-Hop
196.1.3.1
196.2.3.2
196.1.3.1
196.2.3.2
196.1.3.1
196.2.3.2
196.1.3.1
# - valid
^ - active
Chapter 3 Comprehensive Configuration
I - internal
S - aggregate suppressed
Med
Local-pref
100
100
200
100
100
100
200
100
0
100
0
100
0
100
I - internal
3-35
Example
Origin
Path
INC
100 200
INC
100 200
INC
100 200
INC
100 200
INC
100
INC
100
IGP
100

Advertisement

Table of Contents
loading

Table of Contents