<｜begin▁of▁sentence｜>### Instruction:
Given a need to simulate a network resembling the Internet's Autonomous System (AS) with approximately 1500 nodes, how can you create a random undirected graph using NetworkX to model such a structure, including attributes that define each node's type (tier-1, mid-level, customer, content-provider) and bidirectional edges that represent ADV communication links?
### Response:
import networkx as nx

# Generating a random undirected graph resembling the Internet AS network
G = nx.random_internet_as_graph(n=1500, seed=42)

# Getting information about the graph
print(nx.info(G))

# Optionally, visualize the graph
# import matplotlib.pyplot as plt
# nx.draw(G, with_labels=True)
# plt.show()
<|EOT|>
