510
Task
Command
Display BGP AS path list information.
display ip as-path
[
as-path-number
]
Display BGP community list
information.
display ip community-list
[
basic-community-list-number
|
adv-community-list-number
|
name
comm-list-name
]
Display BGP extended community list
information.
display ip extcommunity-list
[
ext-comm-list-number
]
Display IPv4 prefix list statistics.
display ip prefix-list
[
name
prefix-list-name
]
Display IPv6 prefix list statistics.
display ipv6 prefix-list
[
name
prefix-list-name
]
Display MAC list statistics.
display mac-list
[
name
mac-list-name
]
Display routing policy information.
display route-policy
[
name route-policy-name
]
Clear IPv4 prefix list statistics.
reset ip prefix-list
[
prefix-list-name
]
Clear IPv6 prefix list statistics.
reset ipv6 prefix-list
[
prefix-list-name
]
Clear MAC list statistics.
reset mac-list
[
mac-list-name
]
Routing policy configuration examples
Routing policy configuration example for IPv4 route
redistribution
Network requirements
As shown in
, Switch B exchanges routing information with Switch A by using OSPF and
with Switch C by using IS-IS.
On Switch B, enable route redistribution from IS-IS to OSPF. Use a routing policy to set the cost of
route 172.17.1.0/24 to 100 and the tag of route 172.17.2.0/24 to 20.
Figure 117 Network diagram
Configuration procedure
1.
Specify IP addresses for interfaces. (Details not shown.)
2.
Configure IS-IS:
# Configure Switch C.
<SwitchC> system-view
Vlan-int100
192.168.1.1/24
Vlan-int100
192.168.1.2/24
Vlan-int200
192.168.2.2/24
Vlan-int200
192.168.2.1/24
Vlan-int201
172.17.1.1/24
Vlan-int202
172.17.2.1/24
Vlan-int203
172.17.3.1/24
Switch A
Switch B
Switch C
OSPF
IS-IS
Summary of Contents for HPE FlexNetwork 7500 series
Page 505: ...493 Connector N A ...